-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Docs] Add migration note about expanded fields limit #34920
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
Conversation
Adds a note to warn users about the limit introduced in elastic#26541.
|
Pinging @elastic/es-search-aggs |
jimczi
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.
Thanks @cbuescher . I left some comments
| Executing queries that use automatic expansion of fields (e.g. `query_string`, `simple_query_string` | ||
| or `multi_match`) can have performance issues for indices with a large numbers of fields. | ||
| To safeguard against this, a fixed limit of a maximum of 1024 fields has been introduced | ||
| for queries using the "all fields" mode ("default_field": "*"). |
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.
It is applied to any expansion so not only * but also a* or a,b,c,d*
|
|
||
| Executing queries that use automatic expansion of fields (e.g. `query_string`, `simple_query_string` | ||
| or `multi_match`) can have performance issues for indices with a large numbers of fields. | ||
| To safeguard against this, a fixed limit of a maximum of 1024 fields has been introduced |
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.
an hard limit of 1024 fields ?
|
@jimczi I updated the text according to your comments. Would you be able to take another look? |
jimczi
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.
Thanks for updating @cbuescher !
Adds a note to warn users about the limit introduced in #26541.
Adds a note to warn users about the limit introduced in #26541.