[DOCS] More assertive statement about requiring `query` in _count, etc

This commit is contained in:
Karel Minarik 2014-01-23 20:35:44 +01:00
parent 56a14e6194
commit 241bb09db1
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ behaviour can be reenabled on an index-by-index basis with the setting:
While the `search` API takes a top-level `query` parameter, the While the `search` API takes a top-level `query` parameter, the
<<search-count,`count`>>, <<docs-delete-by-query,`delete-by-query`>> and <<search-count,`count`>>, <<docs-delete-by-query,`delete-by-query`>> and
<<search-validate,`validate-query`>> requests expected the whole body to be a <<search-validate,`validate-query`>> requests expected the whole body to be a
query. These have been changed to all accept a top-level `query` parameter: query. These now _require_ a top-level `query` parameter:
[source,json] [source,json]
--------------- ---------------