After doing some monitoring using _cat/thread_pool, I've been noticing that some of my search queries spawn a huge number of entries in the search.queue, which leads to a bunch of rejected searches.
The numbers in search.active seems to be correct (they seem to be the number of search queries that I'm executing), but what is the number search.queue? Why is it so big (~800) for a single query?
Is the number of elements in the queue larger for queries with more indices or that need to hit more shards?
How can I change my queries to reduce this number?
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.