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 
<tomoko.uchida.1...@gmail.com<mailto:tomoko.uchida.1...@gmail.com>> wrote:

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.
https://cwiki.apache.org/confluence/display/solr/DocValues

In Lucene 4.0, a new approach was introduced. DocValue fields are now
column-oriented fields with a  document-to-value mapping built at index
time. This approach promises to relieve some of the memory requirements of
the fieldCache and make lookups for faceting, sorting, and grouping much
faster.

I'm not sure about other docvalues uses not mentioned here... I'd also like
to know if there are.

Thanks,
Tomoko

2015-09-24 17:26 GMT+09:00 Alessandro Benedetti <benedetti.ale...@gmail.com>
:

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

2015-09-24 2:33 GMT+01:00 Shawn Heisey <apa...@elyograg.org>:

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 'ip' (expected=SORTED). Use UninvertingReader or index with
docvalues.

No response in five days ... I guess I'll go ahead and raise that issue.

Thanks,
Shawn





--
--------------------------

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


Reply via email to