On 10/18/21 1:43 PM, Andy Lester wrote:
This sounds like you’re saying there is no value in having warming queries in the newSearcher. Is that correct?
If my understanding is completely correct, then I have to concur with that statement. It's better to rely on filterCache autowarming for fq, and disk caching for facets. Something to share from my own experience with filterCache: I found that I had to go with a very small number for autowarmCount -- four. And the cache warming would still take up to 15 seconds even with that small number. This was on index shards (manual sharding, no SolrCloud) with core size at about 50GB.
Also if my understanding is correct, facet entries in firstSearcher will probably only have value if you reboot or do something else that clears the OS disk cache. But fq entries in firstSearcher would still have value when Solr restarts (and probably also on core reload) -- populating an empty filterCache.
If your testing reveals that I have erred in my understanding, I would definitely appreciate knowing.
Thanks, Shawn