mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-07-01 02:43:45 -04:00
Java api: deprecate the count api in favour of search with size 0
Relates to #13928 Closes #14165
This commit is contained in:
parent
e8dec0ff54
commit
20a62b4670
11 changed files with 44 additions and 14 deletions
|
@ -1,6 +1,8 @@
|
|||
[[count]]
|
||||
== Count API
|
||||
|
||||
deprecated[2.1.0, Use the `search` api instead and set `size` to `0`]
|
||||
|
||||
The count API allows one to easily execute a query and get the number of
|
||||
matches for that query. It can be executed across one or more indices
|
||||
and across one or more types. The query can be provided using the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue