'If I set track_total_hits to true to check the total number of documents that match the search filter in Elasticsearch, does it use a lot of memory?

If I set track_total_hits to true to check the total number of documents that match the search filter in Elasticsearch, does it use a lot of memory?

Do you cache documents matching searches in memory?

jvm


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source