OpenSearch/docs/reference
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
..
aggregations Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
analysis Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
cat [DOCS] Update _cat/nodes docs after recent changes 2016-03-31 16:36:29 +02:00
cluster Add up-to-date example of cluster stats API output 2016-03-31 14:41:37 +02:00
docs Documentation for scroll size in reindex 2016-03-31 12:21:32 -04:00
images Aggregations: add serial differencing pipeline aggregation 2015-07-10 18:22:01 -04:00
index-modules updateing filtering.asciidoc to also use 'node.attr' namespace 2016-03-30 14:11:59 +02:00
indices Docs: Updated the upgrade API docs to explain that the reindex API should be used instead 2016-03-31 14:34:31 +02:00
ingest add type conversion support to ConvertProcessor 2016-03-29 07:56:53 -07:00
mapping Add examples of useful dynamic templates to the docs. #17413 2016-03-31 09:45:11 +02:00
migration Refactored inner hits parsing and intoduced InnerHitBuilder 2016-03-30 15:15:56 +02:00
modules Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
query-dsl Switch to using ParseField to parse query names 2016-04-05 15:38:53 +02:00
release-notes Docs: Added 5.0.0-alpha1 release notes 2016-03-18 14:51:49 +01:00
search Add a soft limit on the number of shards that can be queried in a single search request. #17396 2016-03-30 16:55:01 +02:00
setup Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
testing Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference 2015-12-17 23:17:17 -08:00
aggregations.asciidoc Merge pull request #16741 from blachniet/patch-1 2016-03-02 10:57:56 +01:00
analysis.asciidoc Remove ICU Plugin in reference guide 2015-12-29 11:23:28 +01:00
api-conventions.asciidoc Update api-conventions.asciidoc 2016-03-04 10:10:29 +01:00
cat.asciidoc Fixed asciidoc issues 2016-02-05 14:47:44 +01:00
cluster.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
docs.asciidoc Docs: Display reindex/update by query API and fix build doc issue 2016-03-18 10:44:16 +01:00
getting-started.asciidoc Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
glossary.asciidoc Networking: Move multicast discovery to a plugin 2015-08-20 16:43:25 -07:00
index-modules.asciidoc Redocument the `index.merge.scheduler.max_thread_count` setting 2016-03-05 16:28:43 +01:00
index.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
indices.asciidoc Remove warmers and the warmer API. 2016-01-07 09:57:07 +01:00
ingest.asciidoc Docs: Added the ingest node to the modules/nodes page 2016-03-15 19:03:18 +01:00
mapping.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
modules.asciidoc Docs: Adding Painless to the Scripting documentation. 2016-03-23 13:52:40 -07:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
release-notes.asciidoc Docs: Added 5.0.0-alpha1 release notes 2016-03-18 14:51:49 +01:00
search.asciidoc Add documentation for global search timeout 2016-01-07 10:42:18 -05:00
setup.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00