-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Search - make term/prefix/wildcard/regex query parsing more lenient #63926
Conversation
Pinging @elastic/es-search (:Search/Search) |
@@ -109,9 +109,6 @@ public String value() { | |||
} | |||
|
|||
public PrefixQueryBuilder caseInsensitive(boolean caseInsensitive) { | |||
if (caseInsensitive == false) { | |||
throw new IllegalArgumentException("The case insensitive setting cannot be set to false."); | |||
} |
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.
What's the plan here? To allow clients to set caseInsensitive
to false
?
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.
Yep. Makes some of the clients easier to write
5d4af4f
to
87423ee
Compare
test this please |
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.
LGTM
…lastic#63926) * Remove errors when case_insensitive flag set to false Closes elastic#63893
…lastic#63926) * Remove errors when case_insensitive flag set to false Closes elastic#63893
Remove errors when case_insensitive flag set to false
Closes #63893