fieldCache stores one entry for each field that is used for sorting or for 
field faceting when you use the fieldCache (fc) method. Before solr 1.4 the 
method for field faceting was the enum method that executes a filter query for 
each unique value of the field and stores it in the filterCache. From solr 1.4, 
the default method is fc, except for boolean fields, that use enum method by 
default.
So, you should have an entry in fieldCache for each field that you use either 
for sorting or for field faceting with fc facet method. Does it match?
I don't know a way to configure the size of the fieldCache. I don't know how 
much memory does each entry consume, either.
Sorry not to be of further help.
Cheers

El 26/05/2011, a las 16:50, Jean-Sebastien Vachon escribió:

> 10 unique terms on 1.5M documents each with 50+ fields? I don't think so ;)
> 
> What I mean is controlling its size like the other caches. There are
> currently no options in solrconfig.xml to control this cache.
> Is Solr/Lucene managing this all by itself? 
> 
> It could be that my understanding of the FieldCache is wrong. I thought this
> was the main cache for Lucene. Is that right?
> 
> Thanks for your feedback
> 
> -----Original Message-----
> From: pravesh [mailto:suyalprav...@yahoo.com] 
> Sent: May-26-11 2:58 AM
> To: solr-user@lucene.apache.org
> Subject: Re: FieldCache
> 
> This is because you may be having only 10 unique terms in your indexed
> Field.
> BTW, what do you mean by controlling the FieldCache?
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/FieldCache-tp2987541p2988142.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to