lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: FilterCache size should reduce as index grows?
Date Thu, 05 Oct 2017 14:23:54 GMT
On Thu, Oct 5, 2017 at 3:20 AM, Toke Eskildsen <toes@kb.dk> wrote:
> On Wed, 2017-10-04 at 21:42 -0700, S G wrote:
>
> It seems that the memory limit option maxSizeMB was added in Solr 5.2:
> https://issues.apache.org/jira/browse/SOLR-7372
> I am not sure if it works with all caches in Solr, but in my world it
> is way better to define the caches by memory instead of count.

Yes, that will work with the filterCache, but one needs to change the
cache type as well (maxSizeMB is only an option on LRUCache, and
filterCache uses FastLRUCache in the default solrconfig.xml)

-Yonik

Mime
View raw message