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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.2, 8.0
    • Fix Version/s: master (9.0), 8.2
    • 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

        1. SOLR-12249.patch
          13 kB
          Erick Erickson

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                erickerickson Erick Erickson
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: