-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Make split_on_whitespace
default to false
#25470
Comments
What should we do if |
I don't think we should change the default based on the value of |
agreed |
The ultimate goal is to completely remove the need for it so we could also deprecate it in 6 and never splits on whitespace. The concerning change if we remove the option entirely is the loss of the implicit cross-fields mode when multiple fields are requested. So as a follow up for 6 we could deprecate |
In general I think it's better to have the same options do the same thing across query parsers so +1 to replace |
What should we do about the |
Right |
We discussed internally and decided to take this major release opportunity to completely remove the ability to split on whitespace in the |
I just want to say that this change is very bad for most of our users who work via Kibana. For a long time they are working by querying lists of values in parenthesis (similar to "in" operator in SQL), and now all the behavior will change and they won't even be aware that they made an error. Why wasn't split_on_whitespace made configurable instead of making it work the exact opposite as it was up to now with no option to revert? |
We are considering making it configurable on a per-field basis at #30393. |
When we added the
split_on_whitespace
option, the goal was to ultimately stop splitting on whitespace and let the analyzer do the right thing. Yet we did not change the default immediately because of backward compatibility considerations. Now that we are bumping the major version, we should consider changing the default value of this option tofalse
?@jimczi Pinging you since you are likely the most aware person of potential side-effects of such a change
The text was updated successfully, but these errors were encountered: