[
https://issues.apache.org/jira/browse/LUCENE-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6455:
---------------------------------
Attachment: LUCENE-6455.patch
Here is a patch. It requires a minimum top-level index size of 10000 docs by
default. This should help ensure we do not create unnecessary cache entries on
small indices which don't really need caching anyway.
> Do not cache queries on small indices
> -------------------------------------
>
> Key: LUCENE-6455
> URL: https://issues.apache.org/jira/browse/LUCENE-6455
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Attachments: LUCENE-6455.patch
>
>
> The query cache currently only caches on segments that are more than 3% of
> the total index size currently. Another good condition could be to require a
> minimum index size so that we don't end up caching on things like MemoryIndex.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]