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

add syntax for selecting the min or max of a multivalued field in value source functions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Initial request...

      Switch max() and min() functions to work on multiValued fields so we can

      do sort=min(fieldname) asc and the sort would work on multiValued fields...

      ...this specific syntax has been spun off into SOLR-7853, but the underlying functionality s being implemented here using a new optional second argument to the field() function: field(multivalued_field_name,min) and field(multivalued_field_name,max).

        Attachments

        1. SOLR-2522.patch
          37 kB
          Hoss Man
        2. SOLR-2522.patch
          34 kB
          Hoss Man
        3. SOLR-2522.patch
          30 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                billnbell Bill Bell
              • Votes:
                9 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: