sgup432 opened a new issue, #14183:
URL: https://github.com/apache/lucene/issues/14183

   ### Description
   
   I see there have been many discussions around finding the right value for 
skip_factor ([here](https://issues.apache.org/jira/browse/LUCENE-9002) and 
https://github.com/apache/lucene/issues/11081), mostly the concern being that 
caching large query clauses(as per their cost and eventually size) may not make 
much sense, considering they will make the overall query slow due to cache 
overhead(locks, eviction).
   
   In follow up to this issue - https://github.com/apache/lucene/issues/14028, 
I see by relaxing `skip_factor` limits, one was able to utilize query cache in 
a much better way and improve performance.  As of today, one can only change 
this during cache creation 
[here](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/LRUQueryCache.java#L124)
 and not dynamically.
   
   Can we allow this to be set dynamically within QueryCache, enabling users to 
increase or decrease it as needed during runtime? It seems like a harmless 
change and could be quite useful.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to