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

Add timeseries Streaming Expression

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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
          15 kB
          Joel Bernstein
        2. SOLR-10566.patch
          20 kB
          Joel Bernstein

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joel.bernstein Joel Bernstein
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: