elasticsearch/elasticsearch — pull request #8667 by dadoonet (2014-11-26 14:43:00+00:00)
Title: java: QueryBuilders cleanup

Some QueryBuilders are missing or have a different naming than the other ones.

Branch 1.x (elasticsearch 1.5)
==============================

The first commit (c466263) is applied to branch 1.x (elasticsearch 1.5) and master (elasticsearch 2.0):

Added
-----

* `templateQuery(...)`
* `commonTermsQuery(...)`
* `queryStringQuery(...)`
* `simpleQueryStringQuery(...)`

Deprecated
----------

* `commonTerms(...)`
* `queryString(...)`
* `simpleQueryString(...)`

Removed
-------

* `textPhrase(...)`
* `textPhrasePrefix(...)`
* `textPhrasePrefixQuery(...)`
* `filtered(...)`
* `inQuery(...)`

Branch master (elasticsearch 2.0)
=================================

The second commit (3d9e9f4) is for branch master (elasticsearch 2.0):

Removed
-------

* `commonTerms(...)`
* `queryString(...)`
* `simpleQueryString(...)`

Closes #7828.