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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • 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
          30 kB
          Chris M. Hostetter
        2. SOLR-2522.patch
          34 kB
          Chris M. Hostetter
        3. SOLR-2522.patch
          37 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              billnbell Bill Bell
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: