[
https://issues.apache.org/jira/browse/SOLR-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Grama updated SOLR-7150:
-------------------------------
Attachment: SOLR-7150.patch
I've attached the patch containing trivial change needed for having the size
taken from PluginInfo's initArgs.
Unfortunately I don't see currently a nice way of writing a unit test which
could read the value of the size passed to the LRUStatsCacheClass. In case you
consider that a unit test should be added for this change, please give me a
hint on how to do it.
> Make LRUStatsCache size configurable
> ------------------------------------
>
> Key: SOLR-7150
> URL: https://issues.apache.org/jira/browse/SOLR-7150
> Project: Solr
> Issue Type: Improvement
> Components: search
> Reporter: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: Trunk, 5.2
>
> Attachments: SOLR-7150.patch
>
>
> LRUStatsCache size is hard-coded to 100 with a todo in the code to make it
> configurable. Let's make it so.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]