I didn't know DocValues to be used apart from sorting and faceting (fc
algorithm) on fields.
Of course the Doc Values data structure can be used by anything who wants
to retrieve the column base view of documents per field, but is anywhere
documented all the ways it's used in Solr ?
Cheers
Hi,
> Of course the Doc Values data structure can be used by anything who wants
> to retrieve the column base view of documents per field, but is anywhere
> documented all the ways it's used in Solr ?
According to the Solr guide about docvalues, it is used in faceting,
sorting, and grouping.
The error message looks a lot like this bug
https://issues.apache.org/jira/browse/SOLR-7495
group.faceting is broken for numeric values. Does it mean that I have to enable
docvalues for every field that I want to facet on?
On 24 Sep 2015, at 17:02, Tomoko Uchida
On 9/18/2015 3:27 PM, Shawn Heisey wrote:
> A query that works fine in Solr 4.9.1 doesn't work in 5.2.1 with the
> same schema. The field that I am grouping on does not have docValues.
> I get this exception:
>
> java.lang.IllegalStateException: unexpected docvalues type SORTED_SET
> for field
A query that works fine in Solr 4.9.1 doesn't work in 5.2.1 with the
same schema. The field that I am grouping on does not have docValues.
I get this exception:
java.lang.IllegalStateException: unexpected docvalues type SORTED_SET
for field 'ip' (expected=SORTED). Use UninvertingReader or index