Re: Solr filter cache hits not reflecting

2020-04-20 Thread Rahul Goswami
Hoss, Thank you for such a succinct explanation! I was not aware of the order of lookups (queryResultCache followed by filterCache). Makes sense now. Sorry for the false alarm! Rahul On Mon, Apr 20, 2020 at 4:04 PM Chris Hostetter wrote: > : 4) A query with different fq. > : >

Re: Solr filter cache hits not reflecting

2020-04-20 Thread Chris Hostetter
: 4) A query with different fq. : http://localhost:8984/solr/techproducts/select?q=popularity:[5%20TO%2012]=manu:samsung ... : 5) A query with the same fq again (fq=manu:samsung OR manu:apple)the : numbers don't get update for this fq hereafter for subsequent searches : :

Re: Solr filter cache hits not reflecting

2020-04-20 Thread Rahul Goswami
Hi Hoss, Thanks for your detailed response. In your steps if you go a step further and search again with the same fq, you should be able to uncover the problem. Here are the step-by-step observations on Solr 8.5 (7.2.1 and 7.7.2 have the same issue) 1) Before any queries:

Re: Solr filter cache hits not reflecting

2020-04-20 Thread Chris Hostetter
: I was trying to analyze the filter cache performance and noticed a strange : thing. Upon searching with fq, the entry gets added to the cache the first : time. Observing from the "Stats/Plugins" tab on Solr admin UI, the 'lookup' : and 'inserts' count gets incremented. : However, if I search

Solr filter cache hits not reflecting

2020-04-20 Thread Rahul Goswami
Hello, I was trying to analyze the filter cache performance and noticed a strange thing. Upon searching with fq, the entry gets added to the cache the first time. Observing from the "Stats/Plugins" tab on Solr admin UI, the 'lookup' and 'inserts' count gets incremented. However, if I search with