-
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
Remove support for lenient booleans. #26389
Conversation
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 doing this cleanup @jpountz.
LGTM, I left just one comment.
@@ -79,7 +79,7 @@ public String name() { | |||
@Override | |||
public TokenStream create(TokenStream tokenStream) { | |||
// fst is null means no synonyms | |||
return synonymMap.fst == null ? tokenStream : new SynonymGraphFilter(tokenStream, synonymMap, ignoreCase); | |||
return synonymMap.fst == null ? tokenStream : new SynonymGraphFilter(tokenStream, synonymMap, 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.
Hmm, I see that the field ignoreCase
is deprecated but this change looks unrelated to this PR? Looks like you removed this field together with this PR (I think a separate commit would have been better but it's fine with me).
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.
I'll split into a separate commit
e9dff9c
to
db28682
Compare
db28682
to
36e22bc
Compare
With this commit we remove some leftovers from elastic#26389 which cleaned up lenient boolean handling. Relates elastic#26389 Relates elastic#22298
Closes #22298