-
Notifications
You must be signed in to change notification settings - Fork 492
handle fast field search #5906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle fast field search #5906
Conversation
f573636 to
4fe452f
Compare
trinity-1686a
left a comment
There was a problem hiding this 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
| query: "text_fast:fast_text_value_dashes" | ||
| expected: | ||
| num_hits: 0 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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> { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a test
3fff4b1 to
3c73a27
Compare
* handle fast field search * add term set query tests
Warm up fast fields that are searched and not indexed
add fast field search test