Re: Why does faceting add an entry to the filter cache for the q parameter?

2022-11-17 Thread Mikhail Khludnev
> whether DocList can even be used for facets, No way. For sure. Overall, FacetComponent explicitly requires docset https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/handler/component/FacetComponent.java#L82 and then https://github.com/apache/solr/blob/main/solr/core/src

Re: Why does faceting add an entry to the filter cache for the q parameter?

2022-11-17 Thread Shawn Heisey
On 11/17/22 08:45, Andy Lester wrote: Short of that, wouldn't it make sense for facets to put the q in the queryResultsCache, not the filterCache? The queryResultCache is defined as ... very different from the that filterCache uses.  I have no idea whether DocList can even be used for face

Re: Why does faceting add an entry to the filter cache for the q parameter?

2022-11-17 Thread Andy Lester
> 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. Yes, that's what I suspect is happening. Another problem with having q in the filterCache is that

Re: Why does faceting add an entry to the filter cache for the q parameter?

2022-11-17 Thread Shawn Heisey
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 create