How to increase index memory of ES

I have 5 ES node,one master,one client,3 data node.
Each machine has 10G memory.
I have 3G data.
I join two index data via Hive and SparkSQL.
Isaw ES use 5G memory when i install the X-Pack. I execute the following:

select count(*)

This SQL will cost 45s and this index has 2 million data/200M.
This index has the following:

The index memory only 3.8MB,I want to increase the index memory.

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