Skip to content

Conversation

cbuescher
Copy link
Member

By extending AbstractQueryBuilder, EmptyQueryBuilder had setters for boost and
queryname which defeats its original purpose of beeing a stand-in
singleton for empty queries. By directly implementing QueryBuilder (and
temporarily also extending ToXContentToBytes) this is prevented

This PR is agains the query refactoring branch.

…ctly

By extending AbstractQueryBuilder, EmptyQueryBuilder had setters for boost and
queryname which defeats its original purpose of beeing a stand-in
singleton for empty queries. By directly implementing QueryBuilder (and
temporarily also extending ToXContentToBytes) this is prevented
@javanna
Copy link
Member

javanna commented Jul 7, 2015

LGTM

cbuescher added a commit that referenced this pull request Jul 7, 2015
…xemptyqb

Query Refactoring: Make EmptyQueryBuilder implement QueryBuilder directly
@cbuescher cbuescher merged commit ecba81a into elastic:feature/query-refactoring Jul 7, 2015
@kevinkluge kevinkluge removed the review label Jul 7, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
…ring-fixemptyqb

Query Refactoring: Make EmptyQueryBuilder implement QueryBuilder directly
@cbuescher cbuescher deleted the feature/query-refactoring-fixemptyqb branch March 11, 2016 11:51
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query Refactoring labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search/Search Search-related issues that do not fall into other categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants