lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Duncan Jr <>
Subject Re: Questions on FieldValueCache
Date Mon, 03 Aug 2009 18:18:15 GMT
On Fri, Jul 31, 2009 at 5:23 PM, Yonik Seeley <>wrote:

> On Fri, Jul 31, 2009 at 5:06 PM, Stephen Duncan
> Jr<> wrote:
> > I have a couple more questions on the FieldValueCache.  I see that the
> > number of items in the cache is basically the number of multi-valued
> fields
> > facets have been requested for.  What does each entry in the cache
> actually
> > contain?  How does it's size grow as the number of total documents
> > increases?
> It's basically an array of int[maxDoc] that contain the list of
> delta-coded vint values or optionally point out to shared byte arrays
> if the list of values don't fit in an int.  See the javadoc for
> UnInvertedField for more details.
> -Yonik

I'm getting the following warning in my logs: 2009-08-03 13:41:40,114
[http-] WARN  org.apache.solr.core.SolrCore - Approaching
too many values for UnInvertedField faceting on field 'originaltext' :
bucket size=15802492

What's the impact of that?  If the number of values (number of unique terms
for that field, or some other "values"?) exceeds that limit, will faceting
for that field go back to a different technique and be slower, or...?

Stephen Duncan Jr

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