On 10/18/21 12:53 PM, Andy Lester wrote:
What should we have in the newSearcher startup query, if the new searcher is going to bring over the cached FQs from an existing searcher?
I know that filterCache handles autowarming for fq parameters. I do not know whether queryResultCache stores anything related to facets, but I would guess that it doesn't.
If your facet fields all have docValues, then I would expect OS disk caching to be the most important thing to have to speed those up, not Solr/Lucene caching. In the absence of docValues, the data structures required for faceting must be generated in the Java heap, which takes time and memory, potentially a large amount.
It is always possible that I have some details wrong there. Thanks, Shawn