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

Grouping is broken on docvalues-only fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.2
    • None
    • search

    Description

      There are a few places where grouping uses FieldType.toObject(SchemaField.createField(String, float)) to translate a String field value to an Object. The problem is that createField returns null when the field is neither stored nor indexed, even if it has doc values.

      An option to fix it could be to use the ValueSource instead to resolve the Object value (similarily to NumericFacets).

      Attachments

        1. SOLR-4647.patch
          5 kB
          Scott Stults

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpountz Adrien Grand
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: