-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Please make split_on_whitespace configurable #30552
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
Comments
|
Thanks for the quick feedback jimczi. |
And will we have to change the mapping of all the existing indexes for this to work? |
Probably. We still need to discuss internally but the option considered at the moment is to add a |
We do have values with whitespaces, but when querying on them users place quotation marks. |
Pinging @elastic/es-search-aggs |
@jimczi In my case the solution is simply to trim before indexing, and trimming whitespace is probably the most common text-parsing operation I do at least. Not sure I quite understand what you mean "There is no good way to split a keyword field at query time especially when the query is derived from a search bar filled with free text." Isn't the stupidest/easiest option the only one? Just split the tokens, trim, unless they're quoted. I like your idea of a default false |
ping @elastic/es-search-aggs this may have fallen through the cracks as it was labelled feedback_needed, but I think we got the info we asked for. |
In Elastic 6 the default for split_on_whitespace was changed from "true" to "false", while leaving no option for editing the configuration.
We are holding the system upgrade due to this issue, as we have dozens of end users working on Kibana and are copy-pasting large lists of values (100's of items) into the search bar and expecting to get results relevant to all of them (similar to "In" operator in SQL). We also have 100's of visualizations and many dashboards and automatic processes that use this convention.
Default for this option can still be "false" of course, but we just want to option to edit it back to "true".
The text was updated successfully, but these errors were encountered: