Dennis Gove created SOLR-8268:
---------------------------------
Summary: Makes StatsStream implement Expressible interface
Key: SOLR-8268
URL: https://issues.apache.org/jira/browse/SOLR-8268
Project: Solr
Issue Type: Improvement
Components: SolrJ
Affects Versions: Trunk
Reporter: Dennis Gove
Priority: Trivial
Fix For: Trunk
Adds expression support to the Stats stream. With this it will now be possible
to express an stats stream as
{code}
stats(
collection1, q=*:*, fl="fieldA,fieldB,fieldInt,fieldFloat",
sum(fieldInt),
sum(fieldFloat),
min(fieldInt),
min(fieldFloat),
max(fieldInt),
max(fieldFloat),
avg(fieldInt),
avg(fieldFloat),
count(*)
)
{code}
You can collect stats on any supported metric and use full metric features. Ie,
when SOLR-8185 is committed you can then include operations in the metrics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]