Re: Lucene LRUQueryCache question

2024-07-16 Thread Yixun Xu
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

Lucene LRUQueryCache question

2024-07-02 Thread Δημήτρης Κλειναυτάκης
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