Re: Facets and docValues

2017-02-08 Thread Erick Erickson
Yes, all three fields should be docValues. The point of docValues is to keep from "uninverting" the docValues structure in Java's heap. Any time you have to answer the question "What is the value in docX.fieldY" it should be a docValues field. The way facets (and funciton queries for tha t matter w

Facets and docValues

2017-02-08 Thread Chris Ulicny
I've been trying to figure out how exactly docValues help with facet queries, and I only seem to find mention that they are beneficial to facet performance without many specifics. What I'd like to know is whether it applies to all fields used in the facet or just fields that are faceted on. For ex