[
https://issues.apache.org/jira/browse/SOLR-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-4239:
-------------------------------
Fix Version/s: (was: 4.7)
4.8
> Improve Stats to support stats.query, stats.ranges.
> ----------------------------------------------------
>
> Key: SOLR-4239
> URL: https://issues.apache.org/jira/browse/SOLR-4239
> Project: Solr
> Issue Type: Improvement
> Components: SearchComponents - other
> Reporter: yuanyun.cn
> Priority: Minor
> Labels: search, stats
> Fix For: 4.8
>
>
> Statistics is very useful and important to enterprise applications. So can we
> extend stats component in Solr to support stats.query, stats.ranges?
> The implantation should be easy, in
> org.apache.solr.handler.component.SimpleStats.getStatsFields():
> for(String query: queries)
> {
> DocSet docSet = searcher.getDocSet(query);
> DocSet interSection = docs.intersection(docSet);
> NamedList<Object> stv = (NamedList<Object>) uif.getStats(searcher,
> interSection, facets).getStatsValues();
> }
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]