Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix parameters for count query in Searches#count() #3865
The Elasticsearch Count API doesn't support "limit", "offset", and "highlight" parameters.
Older versions of Elasticsearch ignored unknown parameters but that changed in Elasticsearch 5.x: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/breaking-changes-5.0.html