[ https://issues.apache.org/jira/browse/SOLR-15132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-15132: ---------------------------------- Description: The *nodes* Streaming Expression performs a breadth first graph traversal. This ticket will add a *window* parameter to allow the nodes expression to include a window of time in its traversal. To take advantage of this feature you must index the content with a String field which is an ISO timestamp truncated at ten seconds. Then the "window" parameter can be applied to walk the graph within a window prior to a specific point of time and perform aggregations. Here is an example using Solr logs to answer the following question: What types of log activities occurred in a 30 second window prior to a ten second window with slow queries: {code} nodes(facet(logs, q="qtime_s:[5000 TO *]", buckets="time_ten_seconds", rows="25"), walk="time_ten_seconds->time_ten_seconds", window="3", gather="type_s", count(*)) {code} was: The *nodes* Streaming Expression performs a breadth first graph traversal. This ticket will add a *window* parameter to allow the nodes expression to include a window of time in its traversal. To take advantage of this feature you must index the content with a String field which is an ISO timestamp truncated at ten seconds. Then the "window" parameter can be applied to walk the graph within a window prior to a specific point of time and perform aggregations. Here is an example using Solr logs to answer the following question: What types of log activities occurred within a 30 second window prior to a window of slow queries: {code} nodes(facet(logs, q="qtime_s:[5000 TO *]", buckets="time_ten_seconds", rows="25"), walk="time_ten_seconds->time_ten_seconds", window="3", gather="type_s", count(*)) {code} > Add window paramater to the nodes Streaming Expression > ------------------------------------------------------ > > Key: SOLR-15132 > URL: https://issues.apache.org/jira/browse/SOLR-15132 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: streaming expressions > Reporter: Joel Bernstein > Priority: Major > > The *nodes* Streaming Expression performs a breadth first graph traversal. > This ticket will add a *window* parameter to allow the nodes expression to > include a window of time in its traversal. > To take advantage of this feature you must index the content with a String > field which is an ISO timestamp truncated at ten seconds. Then the "window" > parameter can be applied to walk the graph within a window prior to a > specific point of time and perform aggregations. > Here is an example using Solr logs to answer the following question: > What types of log activities occurred in a 30 second window prior to a ten > second window with slow queries: > {code} > nodes(facet(logs, q="qtime_s:[5000 TO *]", buckets="time_ten_seconds", > rows="25"), > walk="time_ten_seconds->time_ten_seconds", > window="3", > gather="type_s", > count(*)) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org