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 structures) - 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 ? Cheers > > -- -------------------------- Benedetti Alessandro Visiting card - http://about.me/alessandro_benedetti Blog - http://alexbenedetti.blogspot.co.uk "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