Skip to content

Conversation

@PSeitz-dd
Copy link
Contributor

Warm up fast fields that are searched and not indexed
add fast field search test

Copy link
Contributor

@trinity-1686a trinity-1686a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nits, lgtm overall

Comment on lines +13 to +15
query: "text_fast:fast_text_value_dashes"
expected:
num_hits: 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a piece of doc somewhere that when we end up using the fastfield for term queries, it behave like if indexed with the raw tokenizer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened an issue for it

impl<'a, 'f> QueryAstVisitor<'a> for TermSearchOnColumnar<'f> {
type Err = Infallible;

fn visit_term_set(&mut self, term_set_query: &'a TermSetQuery) -> Result<(), Infallible> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a test covering TermSetQuery on fastfield?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a test

@PSeitz-dd PSeitz-dd enabled auto-merge (squash) September 17, 2025 16:15
@PSeitz-dd PSeitz-dd merged commit e806bb6 into main Sep 18, 2025
8 checks passed
@PSeitz-dd PSeitz-dd deleted the prefetch_fast_field branch September 18, 2025 13:33
fulmicoton-dd pushed a commit that referenced this pull request Sep 23, 2025
* handle fast field search

* add term set query tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants