This should be super easy to add support for. I was able to patch it locally by just changing a couple lines. Here is the page on elasticsearch for this: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-request-track-total-hits.html Thanks!
Activity
Add method setTrackTotalHits to Elastica\Query (ruflin#1663)
Add method setTrackTotalHits to Elastica\Query (ruflin#1663)
Add method setTrackTotalHits to Elastica\Query (#1663) (#1664)
ruflin commentedon Sep 23, 2019
Closing as #1664 was merged.