On 02/29/2016 06:05 AM, Mikhail Khludnev wrote:
On Mon, Feb 29, 2016 at 12:43 PM, David Santamauro <
david.santama...@gmail.com> wrote:

unexpected docvalues type SORTED_SET for field 'f1' (expected=SORTED). Use
UninvertingReader or index with docvalues.

  DocValues is primary citizen api for accessing forward-view index, ie. it
replaced FieldCache. The error is caused by an attempt to group by
multivalue field, which is explicitly claimed as unsupported in the doc.


You will have noticed below, the field definition does not contain multiValues=true


On 02/28/2016 05:31 PM, David Santamauro wrote:


f1 is defined as

      <fieldType name="f1_type" class="solr.TextField"
positionIncrementGap="100">
        <analyzer type="index">
          <tokenizer class="solr.WhitespaceTokenizerFactory"/>
          <filter class="solr.LowerCaseFilterFactory"/>
          <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
        </analyzer>
      </fieldType>

        <field name="f1" type="f1_type" indexed="true" stored="false"
required="true" />

Reply via email to