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

Better error message when grouping on a tokenized (non SortableText) field in SolrCloud

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.2, 8.0
    • Fix Version/s: 8.2, main (9.0)
    • Component/s: None
    • Labels:
      None

      Description

      I didn't test this with master. Under the covers in stand-alone mode, the "min" function is silently substituted for the grouping, but that's not true in SorlCloud mode. I broke this JIRA out separately to discuss whether it ever makes sense to group by a tokenized text field.

      Grouping by the min value in a field is at least consistent, but on a text field I don't think it makes sense.

      I propose that we explicitly dis-allow this in both stand-alone and Cloud mode, especially now that there's the SortableTextField.

      Comments?

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment