lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: queryResultCache hit count is not being increased when programmatically adding Lucene queries as filters in the SearchComponent
Date Tue, 20 Dec 2011 20:30:17 GMT

: In the /admin/stats.jsp I have noticed that if the code above gets executed
: then my queryResultCache hit count does not increase.

Filters are part of the cache key for the queryResultCache (because the 
cache contains the sorted paginated results *after* filters have been 
applied) so if your filters are unique for every request, you're never 
going to see a cache hit.


View raw message