OpenSearch/docs
Luca Cavanna 67ccfc354e Switch to using ParseField to parse query names
* [TEST] check registered queries one by one in SearchModuleTests

* Switch to using ParseField to parse query names

If we have a deprecated query name, at the moment we don't have a way to log any deprecation warning nor fail when we are in strict mode. With this change we use ParseField, which will take care of the camel casing that we currently do manually (so that one day we can remove it more easily). This also means, that each query will have a unique preferred name, and all the other names are deprecated.

Terms query "in" synonym is now formally deprecated, as well as fuzzy_match, match_fuzzy, match_phrase and match_phrase_prefix for match query, mlt for more_like_this and geo_bbox for geo_bounding_box. All these will be removed in 6.0.

Every QueryParser holds now a ParseField constant called QUERY_NAME_FIELD that holds the name for it. The first name is the preferred one, all the others are deprecated. The first name is taken from the NAME constant already present in each query builder object, so that we somehow keep the serialization constant separated from ParseField. This change also allowed us to remove the names method from the QueryParser interface.
2016-04-05 15:38:53 +02:00
..
community-clients Add Scala based elasticsearch-client 2016-02-03 15:47:34 -08:00
groovy-api Backs out early link fix. 2015-10-22 15:00:35 -07:00
java-api Merge branch 'master' into enhancement/remove_node_client_setting 2016-03-21 17:18:23 +01:00
perl Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
plugins Changed JAVA_OPTS to ES_JAVA_OPTS in plugin docs 2016-04-03 16:52:37 +02:00
python [docs] Updating the Python client docxs 2015-11-30 16:50:08 +01:00
reference Switch to using ParseField to parse query names 2016-04-05 15:38:53 +02:00
resiliency Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
ruby Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
README.asciidoc

README.asciidoc

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs