lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh Sharma <saurabh.infoe...@gmail.com>
Subject Re: Very low filter cache hit ratio
Date Wed, 29 May 2019 13:33:22 GMT
Hi Shwan,

Many filters are common among the queries. AFAIK, filter cache are created
against filters and by that logic one should get good hit ratio for those
cached filter conditions.i tried to create a cache of 100K size and that
too was not producing good hit ratio. Any document/suggetion about
efficient usage of various caches  and their internal working.

Thanks
Saurabh

On Wed 29 May, 2019, 6:53 PM Shawn Heisey, <apache@elyograg.org> wrote:

> On 5/29/2019 6:57 AM, Saurabh Sharma wrote:
> > What can be the possible reasons for low cache usage?
> > How can I leverage cache feature for high traffic indexes?
>
> Your usage apparently does not use the exact same query (or filter
> query, in the case of filterCache) very often.
>
> In order to achieve a high hit ratio on a cache, the same query will
> need to be used by many users.  That's not happening here.  I'm betting
> that each user is sending something unique to Solr - which means it will
> be impossible to get a hit, unless that user sends the same query again.
>
> Thanks,
> Shawn
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message