Feng Guo created LUCENE-10231:
---------------------------------

             Summary: Do not cache too large PointInSetQueries
                 Key: LUCENE-10231
                 URL: https://issues.apache.org/jira/browse/LUCENE-10231
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: Feng Guo


TermInSetQuery will avoid caching queries using too much memory, but there is 
no such limit in PointInSetQuery and PointInSetQueryWithScore, which may have 
similar problems. I added the logic to these two queries, but I'm not sure 
whether this is the most reasonable way. May be this logic is common and we can 
judge this in LRUQueryCache ?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to