You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Johannes Siegert <jo...@marktjagd.de> on 2015/12/01 09:03:30 UTC
Re: optimize cache-hit-ratio of filter- and query-result-cache
Thanks. The statements on
http://wiki.apache.org/solr/SolrCaching#showItems are not explicitly
enough for my question.
Re: optimize cache-hit-ratio of filter- and query-result-cache
Posted by Erick Erickson <er...@gmail.com>.
1.1> Absolutely. The filterCache is simply a map. The key is the fq clause, so
fq=field1:(1 OR 2 OR 3) is different than fq=field1:(3 OR 2 OR 1).
2.1> not sure. But don't get very hung up on queryResultCache. It's
useful pretty much for
paging and the hit ration is often very low as it only gets used for
the _exact_ same query
with a different rows parameter. And it doesn't store the full result
set, just the size configured
in solrconfig.xml.
Mikhail was pointing you to the admin>>core>>plugins/stats>>cache>> page.
You can fire your alternate queries and filter queries at Solr and examine the
filterCache and queryResultCache numbers before and after.
Best,
Erick
On Tue, Dec 1, 2015 at 12:03 AM, Johannes Siegert
<jo...@marktjagd.de> wrote:
> Thanks. The statements on http://wiki.apache.org/solr/SolrCaching#showItems
> are not explicitly enough for my question.
>