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

Switch min(a,b) function to min(a,b,...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.5, 4.0-ALPHA
    • None
    • None

    Description

      Would like the ability to use min(1,5,10,11) to return 1. To do that today it is parenthesis nightmare:
      min(min(min(1,5),10),11)

      Should extend max() as well.

      Attachments

        1. SOLR-2757-2.patch
          7 kB
          Bill Bell

        Issue Links

          Activity

            People

              billnbell Bill Bell
              billnbell Bill Bell
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified