[ https://issues.apache.org/jira/browse/SOLR-14476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-14476: ---------------------------------- Description: This ticket will add the *per* (percentile) and *std* (standard deviation) aggregations to the *stats*, *facet* and *timeseries* Streaming Expressions. Syntax: {code:java} facet(logs, buckets="collection_s", per(qtime_i, 50), std(qtime_i)) {code} The stats function will also be reimplemented using JSON facets rather than the stats component as part of this ticket. The main reason is that JSON facets syntax is easier to work with for percentiles, but it also standardized are pushed down aggregations to JSON facets. In a separate ticket *per* and *std* aggregations will be added to *rollup*, *hashRollup* and *nodes* Streaming Expressions. The visualization below shows the *per* function used to calculate percentiles for time series intervals. was: This ticket will add the *per* (percentile) and *std* (standard deviation) aggregations to the *stats*, *facet* and *timeseries* Streaming Expressions. Syntax: {code:java} facet(logs, buckets="collection_s", per(qtime_i, 50), std(qtime_i)) {code} The stats function will also be reimplemented using JSON facets rather than the stats component as part of this ticket. The main reason is that JSON facets syntax is easier to work with for percentiles, but it also standardized are pushed down aggregations to JSON facets. In a separate ticket percentile aggregations will be added to *rollup*, *hashRollup* and *nodes* Streaming Expressions. The visualization below shows the *per* function used to calculate percentiles for time series intervals. > Add percentiles and standard deviation aggregations to stats, facet and > timeseries Streaming Expressions > -------------------------------------------------------------------------------------------------------- > > Key: SOLR-14476 > URL: https://issues.apache.org/jira/browse/SOLR-14476 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: streaming expressions > Reporter: Joel Bernstein > Priority: Major > Attachments: SOLR-14476.patch, SOLR-14476.patch, Screen Shot > 2020-05-15 at 11.32.26 AM.png > > > This ticket will add the *per* (percentile) and *std* (standard deviation) > aggregations to the *stats*, *facet* and *timeseries* Streaming Expressions. > Syntax: > > {code:java} > facet(logs, buckets="collection_s", per(qtime_i, 50), std(qtime_i)) {code} > The stats function will also be reimplemented using JSON facets rather than > the stats component as part of this ticket. The main reason is that JSON > facets syntax is easier to work with for percentiles, but it also > standardized are pushed down aggregations to JSON facets. > In a separate ticket *per* and *std* aggregations will be added to *rollup*, > *hashRollup* and *nodes* Streaming Expressions. > The visualization below shows the *per* function used to calculate > percentiles for time series intervals. -- 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