I have made a Elasticsearch setup on a server with configuration - 64 GB RAM and 16 cores. I have created three nodes on this server. One node is both master and data and other two are data nodes. They all are using heap size of 10 GB each.
I have created an index in Elasticsearch which is having documents around 200K . Now when I am using a search query to retrieve all the data from that particular index it is taking around 20-30 seconds which is very huge.
Please suggest me what should I do to reduce this search time.
I'm using the latest version 7.1.1.
I have changed the settings for the index
PUT index-name/_settings
{
"max_result_window" : 200000
}
and it is working but it is taking too long. help me to reduce this time
No of shards is already 1 on that particular index.
Do I need to change any other configuration for my Elasticsearch ?
What are the ideal configuration for setting up an Elasticsearch ? Maybe I have missed any.
Thanks @dadoonet
SSD makes it faster but nodes creation has no effect. It is still taking 9 seconds but I want the result under 1 sec. Suggest something more.
I just meant about no of Elasticsearch nodes .
No of nodes doesn't have any impact on search speed. Currently I am using one node and the speed is approx. same
When adding nodes is suggested in order to improve performance it is generally assumed these will run on different hardware thereby increasing the total amount of system resources available to the cluster. Having more than one node per host is generally only recommended when the host has more resources than s single node can efficiently utilise.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.