Skip to content

Comments

Add support for count endpoint#11

Open
mknorps wants to merge 6 commits intopacketloop:support-es-7from
ifr-ds:support-es-7
Open

Add support for count endpoint#11
mknorps wants to merge 6 commits intopacketloop:support-es-7from
ifr-ds:support-es-7

Conversation

@mknorps
Copy link

@mknorps mknorps commented Feb 4, 2020

While working with ES Api, we found that there is a count API endpoint that gives a simple way to get the number of hits for a specific query (without scroll, as would be the case if we use search API).

This PR adds a basic support for count API endpoint:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-count.html

I hope this will be useful.

BR,
Maria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant