This post explains why Lucene doesn't cache all queries:
https://www.mail-archive.com/java-user@lucene.apache.org/msg51649.html
Your queries could be skipping the cache because of the LRUQueryCache
constructor parameters, or because of the QueryCachingPolicy.shouldCache
predicate. They probably ha
Hi all,
I am using the Lucene 9.6 version and I am trying to add queries into
LRUQueryCache from my benchmarks that evaluate the queries and create the
LRUQueryCache. First, I believed that Lucene puts the queries by default into
queryCache but that was never the case. So, I read the LRUQueryCac