-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
FlatObjectField
will benefit from using IndexOrDocValuesQuery
#11537
Comments
@mingshl I created this issue to track the work for FlatObjectField. |
@mingshl are you able to pick this up? If you're able, awesome, otherwise I think this should be unassigned or assigned to someone else. |
I have no problem picking this up. I saw a flat-object PR #11425 is up, and I would love to raise the new one after it's merged. |
Oh -- I think we can get this one "for free" if we address #11635 Basically, the two fields that make flat object work are both keyword fields, which have the |
Is your feature request related to a problem? Please describe.
Similar to the efforts in #7057 and #11144,
FlatObjectField
has a bunch of MultiTermQueries that will benefit from being able to search documents when only doc_values is enabled and usingIndexOrDocValuesQuery
when it has both index and doc_values enabled.Describe the solution you'd like
If only index is enabled, we return the existing query. If both index and doc_values are enabled we return a wrapped
IndexOrDocValuesQuery
. If only doc_values are enabled, we probably useSortedSetDocValuesField.newXyzQuery
for range, fuzzy etcDescribe alternatives you've considered
Do nothing.
The text was updated successfully, but these errors were encountered: