Hi,
I'd like to know whether there is a way that I can perform some kind of warm-up to speed up query process. Say if I have 50,000 documents in an index, and need to warm up 500 query strings. What I found was if I run es query for every 500 query string , it will boost query speed if I query the same query string again. So users won't experience delay. However, after certain time, say 24 hours, it slows down again when query the same query string. I thought the query result somehow will be cached in memory or hard drive for next same query search. But it doesn't seem like this way. I am new to this field, so any idea about this question would be really appreciated.
To clarify, I am not so sure about the following statement in the official document. Would you mind to explain? Does this mean if my es query only involves full text search, using match, without bool filter (e.g. should, must ..etc.) will NOT work in cache?
"The query cache only caches queries which are being used in a filter context."
Also, any suggestion of how to test efficiently if cache really works?
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.