Closed friscoMad closed 1 year ago
Describe the enhancement
What would you like changed?
Add support for count queries: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-count.html
Why is this needed?
This allows more complex pagination flows.
How do you think it should be done?
It seems that a count method could be implemented reusing most of the search logic and just changing the endpoint + response handling.
Will you be able to help with a pull request?
I am not planning to do the work at this point in time (if needed I may do it in the future if you don't have time).
Closing as duplicated by #2 🤦
Describe the enhancement
What would you like changed?
Add support for count queries: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-count.html
Why is this needed?
This allows more complex pagination flows.
How do you think it should be done?
It seems that a count method could be implemented reusing most of the search logic and just changing the endpoint + response handling.
Will you be able to help with a pull request?
I am not planning to do the work at this point in time (if needed I may do it in the future if you don't have time).