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

Add timeseries Streaming Expression

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 6.6, 7.0
    • None
    • None

    Description

      This ticket is to add specific time series support to streaming expressions. Under the covers the timeseries expression will use the json facet API.

      sample syntax:

      timeseries(collection, 
                 q="*:*", 
                 field="rectime_dt",
                 start = "2011-04-01T01:00:00.000Z",
      	   end = "2016-04-01T01:00:00.000Z",
      	   gap = "+1MONTH",
                 count(*),
                 sum(price))
      

      This goes nicely with SOLR-10559. The idea is to support expressions that cross-correlate and regress time series data.

      let(cell(timeseriesA, timeseries(...)), 
          cell(timeSeriesB, timeseries(...)), 
          list(cell(a, get(timeseriesA)),
               cell(b, get(timeseriesB)),
               cell(stats, regres(col(timeseriesA, count(*)), col(timeseriesB, count(*))))))
      

      Attachments

        1. SOLR-10566.patch
          20 kB
          Joel Bernstein
        2. SOLR-10566.patch
          15 kB
          Joel Bernstein

        Activity

          People

            Unassigned Unassigned
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: