Hello! I'm attempting to facet a multivalue int field that has docvalues enabled. Using the new json facet api, running 5.3.0, I get the exception here: http://pastebin.com/xNaqGJRf
Here's the relevant config: <field name="ReportingDate" type="tdate" indexed="true" stored="true" docValues="true" /> <field name="SurveyID" type="string" indexed="true" stored="true" docValues="true" /> <field name="Streams" type="tint" indexed="true" stored="true" multiValued="true" docValues="true" /> <dynamicField name="Score_*" type="tdouble" indexed="true" stored="true" /> Here's my facet: json.facet={"pv-44":{"type":"query","q":"ReportingDate:[2015-04-22T0:00:0:000Z TO 2015-05-19T23:59:59:999Z]","facet":{"Streams":{"type":"terms","limit":-1,"field":"Streams","prefix":"","facet":{"SurveyID":{"type":"terms","limit":-1,"field":"SurveyID","prefix":"","facet":{"n":"sum(Score_TopBoxActual)","d":"sum(Score_TopLowBoxPossible)"}}}}}}} It was suggested to me that the new facet api may be going down the wrong code path to where it assumes docvalues is not enabled on the field in question and tries to uninvert it. Is this a bug or am I missing something? Thanks