Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7052

Grouping on int field with docValues in SolrCloud raises exception.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 4.8.1
    • None
    • SolrCloud

    Description

      We have a grouping field which we defined as an integer; when we run a query grouping on that field it works fine in a non-cloud configuration, but when we try the same query in a SolrCloud configuration with multiple shards, we get the following error:

      Type mismatch: <fieldName> was indexed as NUMERIC

      Schema:

      <dynamicField name="*_i"  type="int"    indexed="true"  stored="true" docValues="true"/>
      

      Query:

      q=*:*&group=true&group.field=<fieldName>&group.limit=1
      

      Attachments

        1. SOLR-7052.patch
          31 kB
          Vitaliy Zhovtyuk

        Activity

          People

            Unassigned Unassigned
            Beliy.Dima Beliy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: