Heap usage

I'm trying to understand how Elasticsearch uses heap while performing the searches. Does it load entire shard into memory or particular segment for searching the users data?

It loads data structures it needs, but not the entire shard.

1 Like

Thanks @warkolm!!!