Track_total_hits and approximate hit count

Assuming that track_total_hits=true performs an accurate hit count, is there any way to have an approximate hit count and somewhat better performance? E.g. for 123,456 documents I would like to know that I have approximately 120,000 documents (gte 100,000 is not good enough).

I'm on Elasticsearch 7.4.0.

Thanks

Welcome!

I don't think you can do that but may be that could ring a bell to @jimczi?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.