October 2019
Beginner
186 pages
5h 39m
English
The count API executes a query and retrieves the number of matches within that query. The query can be defined using a query string as a parameter or using Query DSL:
GET /facebook/_count{ "query": { "term": { "user": "cactus_flower" } }}
It can be applied to multiple indices. The request parameters can be any of the following:
Read now
Unlock full access