Closed juandasgandaras closed 9 years ago
How I can do a query to count all parameters from an index accoding to a specific query. I want to say I do not know do this query with elastichsearch_dsl:
GET my_index/my_type/_count { "query": { "match_all": {} } }
for example we have as result this:
{ "count": 2472, "_shards": { "total": 5, "successful": 5, "failed": 0 } }
Thanks in advance
How I can do a query to count all parameters from an index accoding to a specific query. I want to say I do not know do this query with elastichsearch_dsl:
GET my_index/my_type/_count { "query": { "match_all": {} } }
for example we have as result this:
{ "count": 2472, "_shards": { "total": 5, "successful": 5, "failed": 0 } }
Thanks in advance