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 shb <su...@gmail.com> on 2009/07/22 06:29:43 UTC

how to change the size of fieldValueCache in solr?

The FieldValueCache plays a important role in sort and facet of solr. But
this cache is not managed by solr,
is there any way to configure it? thanks!

Re: how to change the size of fieldValueCache in solr?

Posted by shb <su...@gmail.com>.
Thanks very much.  Is there any difference between fieldValueCache and
fieldCache?

Re: how to change the size of fieldValueCache in solr?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hello,

You can control it in solrconfig.xml:

    <!-- Cache used to hold field values that are quickly accessible
         by document id.  The fieldValueCache is created by default
         even if not configured here.
    -->
      <fieldValueCache
        class="solr.FastLRUCache"
        size="512"
        autowarmCount="128"
        showItems="32"
      />


Otis 
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: shb <su...@gmail.com>
> To: solr-user <so...@lucene.apache.org>
> Sent: Wednesday, July 22, 2009 12:29:43 AM
> Subject: how to change the size of fieldValueCache in solr?
> 
> The FieldValueCache plays a important role in sort and facet of solr. But
> this cache is not managed by solr,
> is there any way to configure it? thanks!