On 11/16/22 13:21, Mikhail Khludnev wrote:
Why do you think that thousands of evictions is a bad thing?

I think it likely means that the intended benefit of filterCache, which is the caching of fqs, is not happening because those cache entries will be evicted almost as soon as they are created.  In my experience an uncached fq is significantly slower than a cached fq, so caching them can be very important.

In the setup I used to manage, facets were not used by the application.  I used them for manual data mining and some daily cronjobs that would report statistics from the index during hours of low usage.  So I did not run into this.

I wonder if maybe it would be a good idea to have a facetCache in addition to filterCache.  Same K,V as filterCache in the code, but entirely separate so it does not interfere with caching of filters and can have a different definition.

Thanks,
Shawn


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

Reply via email to