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

Distributed grouping seems to require docValues in 5.x, didn't in 4.x

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.2.1
    • None
    • None
    • None

    Description

      I have a field in my index that is lowercased after the KeywordTokenizer. I wish to do grouping on this field. It is a distributed index.

      This works fine in Solr 4.9.1 running on Java 8.

      When I try the distributed grouping request (with the same schema) on Solr 5.2.1, it fails, with this exception:

      java.lang.IllegalStateException: unexpected docvalues type SORTED_SET for field 'ip' (expected=SORTED). Use UninvertingReader or index with docvalues.
      

      If I make the same request directly to one of the shards on 5.2.1, it works. If I create a copyField to a field using StrField with docValues, the distributed request works ... but then I lose the lowercasing.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            elyograg Shawn Heisey

            Dates

              Created:
              Updated:

              Slack

                Issue deployment