ElasticSearch Query time - how to decrease the response time -
i executing queries on elastic search. of queries taking long time execute first time , on rerun response time reduces.
however, first time execution nearing 16 secs of queries.
i have increased vcpu 1vcpu 2vcpu (elasticsearch server running vm) , can see decrease in response time ("took" in elastic search).
can please , summarize, factors (both hardware , software e.g. query construct) affect response time in elasticsearch.
i using java query es.
first query make full search, next 1 can use cache, that's why quicker. can check in elasticsearch indexes based on search fields. data may not indexed correctly dependending on kind of search, speed process.
you can limit number of matches, if don't care results @ same time (managing pagination).
Comments
Post a Comment