I try to search in a index,it only spends 9-20ms,But if i search in mutiple indices,it spends a long time(about 110-240ms. Isn't it parallel? And when i use the profile API,i find that next_doc spents the most time,how can i solve this problem.
I try to search in a index,it only spends 9-20ms,But if i search in mutiple indices,it spends a long time(about 110-240ms. Isn't it parallel? And when i use the profile API,i find that next_doc spents the most time,how can i solve this problem.
How many indices and shards are you querying?
What is the specification of your cluster with respect to nodes, RAM, CPU cores and storage?
Which version are you running?
© 2020. All Rights Reserved - Elasticsearch
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.