You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Feng Guo (Jira)" <ji...@apache.org> on 2021/11/18 12:58:00 UTC

[jira] [Updated] (LUCENE-10231) Do not cache too large PointInSetQueries

     [ https://issues.apache.org/jira/browse/LUCENE-10231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Feng Guo updated LUCENE-10231:
------------------------------
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org