lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <>
Subject Re: faceting is unusable slow since upgrade to 5.3.0
Date Fri, 25 Sep 2015 09:07:54 GMT
   There is an undocumented "method" parameter - I need to enable that to

> allow switching between the docvalues approach and the UnInvertedField
> approach.

Only to clarify, please correct me Yonik if my understanding is wrong or
outdated :
To calculate facets, without going into the algorithm details there are 2
approaches available :
Term Enum ( good for limited number of unique values for your field) and Fc
( FieldCache) good for a lot of unique values, but not for big fields.

For the FC approach,
 - storing the DocValues for the field would transparently use them ( with
the known benefit at the cost of disk space for the docValues data
 - without the DocValues , there algorithm will un-invert the index at
runtime using the field cache to store the results

So , from your quote, Term Enum will not be supported by Json Faceting ?
DocValues usage will not happen automatically ?


> --

Benedetti Alessandro
Visiting card -
Blog -

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

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