This is an automated email from the ASF dual-hosted git repository.
jbernste pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new 2dc9a15 SOLR-14916: Update timeseries docs
2dc9a15 is described below
commit 2dc9a153743b99f33223be893f7dba3c7e15ae04
Author: Joel Bernstein <[email protected]>
AuthorDate: Wed Jan 26 10:02:44 2022 -0500
SOLR-14916: Update timeseries docs
---
solr/solr-ref-guide/src/stream-source-reference.adoc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/solr/solr-ref-guide/src/stream-source-reference.adoc
b/solr/solr-ref-guide/src/stream-source-reference.adoc
index 9a9de29..2363de0 100644
--- a/solr/solr-ref-guide/src/stream-source-reference.adoc
+++ b/solr/solr-ref-guide/src/stream-source-reference.adoc
@@ -617,6 +617,8 @@ JSON Facet API as its high performance aggregation engine.
* `collection`: (Mandatory) Collection the stats will be aggregated from.
* `q`: (Mandatory) The query to build the aggregations from.
* `field`: (Mandatory) The date field for the time series.
+* `split`: (Optional) A string field. Will produce separate time lines for
each value in the field.
+* `limit`: (Optional) A limit on the number of values in the split field for
each time bucket. Split values are in descending order by the first metric.
* `start`: (Mandatory) The start of the time series expressed in Solr date or
date math syntax.
* `end`: (Mandatory) The end of the time series expressed in Solr date or date
math syntax.
* `gap`: (Mandatory) The time gap between time series aggregation points
expressed in Solr date math syntax.
@@ -634,7 +636,9 @@ for a numeric column and can be specified multiple times in
the same timeseries
----
timeseries(collection1,
q=*:*,
- field="rec_dt"
+ field="rec_dt",
+ split="customer_s",
+ limit="5",
start="NOW-30DAYS",
end="NOW",
gap="+1DAY",