use of org.apache.solr.analytics.request.AnalyticsStats in project lucene-solr by apache.
the class AnalyticsComponent method process.
@Override
public void process(ResponseBuilder rb) throws IOException {
if (rb.req.getParams().getBool(AnalyticsParams.ANALYTICS, false)) {
SolrParams params = rb.req.getParams();
AnalyticsStats s = new AnalyticsStats(rb.req, rb.getResults().docSet, params, analyticsCollector);
rb.rsp.add("stats", s.execute());
}
}
Aggregations