Re: Autowarm and filtercache invalidation

2015-09-24 Thread Shawn Heisey
On 9/24/2015 3:11 PM, Jeff Wartes wrote: > Answering my own question: Looks like the default filterCache regenerator > uses the old cache to re-executes queries in the context of the new > searcher and does nothing with the old cache value. > > So, the new searcher’s cache contents will be consist

Re: Autowarm and filtercache invalidation

2015-09-24 Thread Erick Erickson
Jeff: Yes, exactly. Otherwise the autowarming would be quite useless since what's stored in the cache is the _lucene_ doc ID (either as a bitmap or as a list of IDs). And the lucene doc ID can change when merging, so the old IDs are useless. Best, Erick On Thu, Sep 24, 2015 at 2:11 PM, Jeff Wart

Re: Autowarm and filtercache invalidation

2015-09-24 Thread Jeff Wartes
Answering my own question: Looks like the default filterCache regenerator uses the old cache to re-executes queries in the context of the new searcher and does nothing with the old cache value. So, the new searcher’s cache contents will be consistent with that searcher’s view, regardless of whethe