OpenSearch/docs
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
..
community-clients Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
groovy-api Backs out early link fix. 2015-10-22 15:00:35 -07:00
java-api Removed include for not-query. 2015-10-20 14:28:00 -07:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
plugins Add Kerberos/SPNEGO Shield custom realm 2015-10-26 13:53:04 +01:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference Remove "query" query and fix related parsing bugs 2015-10-27 14:54:30 +01:00
resiliency Removed cross document link to field data topic. 2015-10-22 11:05:43 -07:00
ruby Docs: Fixed typos 2015-05-05 10:38:05 +02:00
README.asciidoc Docs: Updated docs/README.asciidoc to point to the new docs repo 2015-04-27 08:54:07 +02:00

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