OpenSearch/docs/reference
javanna dc900a08a6 Remove "query" query and fix related parsing bugs
We have two types of parse methods for queries: one for the inner query, to be used once the parser is positioned within the query element, and one for the whole query source, including the query element that wraps the actual query.

With the search refactoring we ended up using the former in count, cat count and delete by query, whereas we should have used the former.  It ends up working properly given that we have a registered (deprecated) query called "query", which used to allow to wrap a filter into a query, but this has the following downsides:
1) prevents us from removing the deprecated "query" query
2) we end up supporting a top level query that is not wrapped within a query element (pre 1.0 syntax iirc that shouldn't be supported anymore)

This commit finally removes the "query" query and fixes the related parsing bugs. We also had some tests that were providing queries in the wrong format, those have been fixed too.

Closes #13326
Closes #14304
2015-10-27 14:54:30 +01:00
..
aggregations Adds geo_centroid metric aggregator 2015-10-14 16:19:09 -05:00
analysis Deprecate `index.analysis.analyzer.default_index` in favor of `index.analysis.analyzer.default`. 2015-10-12 22:19:16 +02:00
cat Add cat API for repositories and snapshots 2015-10-26 18:37:10 +01:00
cluster update list of available os stats 2015-08-31 17:03:45 +02:00
docs Merge pull request #14162 from GeorgiCodes/patch-2 2015-10-16 18:26:52 +02:00
images Aggregations: add serial differencing pipeline aggregation 2015-07-10 18:22:01 -04:00
index-modules Remove TranslogService and fold it into synchronous IndexShard API 2015-09-23 12:39:06 +02:00
indices Merge pull request #14169 from s1monw/issues/14168 2015-10-22 20:09:59 +02:00
mapping Updated docs for 3.0.0-beta 2015-10-07 13:27:46 +02:00
migration Remove "query" query and fix related parsing bugs 2015-10-27 14:54:30 +01:00
modules Allow binding to multiple addresses 2015-10-23 23:43:37 -04:00
query-dsl Update indices-query.asciidoc 2015-10-23 22:55:40 +02:00
search Remove search exists api 2015-10-21 17:39:32 +02:00
setup Document that Debian 8 and Ubuntu 14 systemd 2015-10-08 08:33:05 -04:00
testing Add Force Merge API, deprecate Optimize API 2015-10-20 09:00:24 -06:00
aggregations.asciidoc Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
analysis.asciidoc
api-conventions.asciidoc Docs: Date-math should be on common options 2015-08-06 17:49:30 +02:00
cat.asciidoc Add cat API for repositories and snapshots 2015-10-26 18:37:10 +01:00
cluster.asciidoc
docs.asciidoc Remove delete-by-query core docs 2015-08-01 05:14:46 -04:00
getting-started.asciidoc Docs: Fix example about executing filters 2015-10-07 17:51:30 +02:00
glossary.asciidoc Networking: Move multicast discovery to a plugin 2015-08-20 16:43:25 -07:00
index-modules.asciidoc Fixed some asciidoc confusion in index-modules.asciidoc 2015-09-19 18:14:36 +02:00
index.asciidoc Docs: Update repository docs with new major version structure 2015-10-07 14:42:54 +02:00
indices.asciidoc [DOCS] Fix doc link for optimize documentation 2015-10-20 22:53:14 -06:00
mapping.asciidoc Docs: Made multi-fields more prominent 2015-08-06 20:09:42 +02:00
modules.asciidoc Docs: Refactored modules and index modules sections 2015-06-22 23:49:45 +02: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 Remove "query" query and fix related parsing bugs 2015-10-27 14:54:30 +01:00
search.asciidoc Remove search exists api 2015-10-21 17:39:32 +02:00
setup.asciidoc Update setup.asciidoc 2015-10-09 12:27:43 +02:00
testing.asciidoc