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 Lee Chunki <lc...@coupang.com> on 2014/10/07 10:53:16 UTC
queryResultCache's size is not increasing
Hi,
I am running Solr 4.1.0 and trying to use queryResultCache
but “size” value at admin page is extremely smaller than incoming queries.
I want to know why.
settings and status are as fallow :
* setting - solrconfig.xml
<queryResultCache class="solr.FastLRUCache"
size="163840"
initialSize="163840"
autowarmCount="10240"/>
* status
- for 13 hours
- # of requests : 6,711,920
- # of unique queries : 72,414
- size value at admin page : 9
* extra informations
- I want to fetch all result set so we set rows as 1,000,000
- but most result number is less 1k
- run ‘full-import’ every five minutes
- use group, facet and sort when querying
Thanks,
Chunki.
Re: queryResultCache's size is not increasing
Posted by Yonik Seeley <yo...@heliosearch.com>.
It's your "full-import" every 5 minutes.
A queryResultCache will be invalidated by changes to the index (i.e. a
commit) and the size will drop back to 0.
-Yonik
http://heliosearch.org - native code faceting, facet functions,
sub-facets, off-heap data
On Tue, Oct 7, 2014 at 4:53 AM, Lee Chunki <lc...@coupang.com> wrote:
> Hi,
>
> I am running Solr 4.1.0 and trying to use queryResultCache
> but “size” value at admin page is extremely smaller than incoming queries.
>
> I want to know why.
>
> settings and status are as fallow :
>
> * setting - solrconfig.xml
> <queryResultCache class="solr.FastLRUCache"
> size="163840"
> initialSize="163840"
> autowarmCount="10240"/>
>
> * status
> - for 13 hours
> - # of requests : 6,711,920
> - # of unique queries : 72,414
> - size value at admin page : 9
>
> * extra informations
> - I want to fetch all result set so we set rows as 1,000,000
> - but most result number is less 1k
> - run ‘full-import’ every five minutes
> - use group, facet and sort when querying
>
> Thanks,
> Chunki.