On 8/24/2018 5:23 AM, zhenyuan wei wrote:
I am confuse about How to hit filterCache?

If filterQuery is range [3 to 100] , but not cache in FilterCache,
and  filterCache already exists  filterQuery range [2 to 100],

My question is " Dose this filterQuery range [3 to 100]  will  fetch DocSet
from FilterCache range[2 to 100]" ?

Each entry in the filterCache uses the query as its key.  So for the first one, the key will be something like "field:[3 TO 100]" or whatever your fq parameter value was.  When the second one is executed, it will have a different key, so it will not be found in the cache.  Once it executes, it will be added to the cache as an additional entry.

Thanks,
Shawn

Reply via email to