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

Grouping on EnumFieldType fields fails

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Grouping

    Description

      For single shard collections, Solr responds with the enum index instead of the value. For multi-shard collections, Solr returns a 500 because internally it gets a ClassCastException such as:

      java.lang.ClassCastException: class org.apache.solr.common.EnumFieldValue cannot be cast to class java.lang.Integer
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tflobbe Tomas Eduardo Fernandez Lobbe

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment