Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java api: remove redundant BytesFilterBuilder in favour of using Wrap…
…perFilterBuilder internally BytesFilterBuilder was introduced to be used internally by the phrase suggester and its collate feature. It ended up being exposed via Java api but the existing WrapperFilterBuilder could be used instead. Added WrapperFilterBuilder constructor that accepts a BytesReference as argument. One other reason why this filter builder should be removed is that it gets on the way of the query parsers refactoring, given that it's the only filter builder that allows to build a filter through java api without having a respective filter parser. Closes #10919
- Loading branch information
Showing
5 changed files
with
43 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/main/java/org/elasticsearch/index/query/BytesFilterBuilder.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters