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

Allow value source parser to accept multi-valued fields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Facet Module
    • Labels:
      None

      Description

      The current value source parser throws an exception with multi-valued fields.
      This prevents easily parsing a function that accepts another function or a multi-valued field (like min/max of a multi-valued string field)

      Example:

      facet: {
       x : "min(sum(a,b))"
       y : "min(multi_valued_field)"
      }
      

        Attachments

        1. SOLR-10613.patch
          7 kB
          Yonik Seeley

          Issue Links

            Activity

              People

              • Assignee:
                yseeley@gmail.com Yonik Seeley
                Reporter:
                yseeley@gmail.com Yonik Seeley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: