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

max rollup for dates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 8.0
    • None
    • streaming expressions
    • None

    Description

      Sometimes it's useful to know the maximum or minimum value of a date field that's passing through a rollup() command. For example in the following expression, the effect would be to portray the freshness of the data for the bucket on which the counts have been generated.

      rollup(search(activate2018-tra, q="racecar_id:*", fl="id,presented_date,racecar_id", sort="racecar_id asc",rows=99999),over=racecar_id, max(presented_date),count(*))

       

      Attachments

        1. SOLR-13010.patch
          4 kB
          Gus Heck

        Activity

          People

            Unassigned Unassigned
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: