class SimpleStats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DocSet |
docs
The main set of documents
|
protected SolrParams |
params
Configuration params behavior should be driven by
|
protected SolrQueryRequest |
req |
protected SolrIndexSearcher |
searcher
Searcher to use for all calculations
|
Constructor and Description |
---|
SimpleStats(SolrQueryRequest req,
DocSet docs,
SolrParams params) |
Modifier and Type | Method and Description |
---|---|
NamedList |
getFieldCacheStats(java.lang.String fieldName,
java.lang.String[] facet) |
NamedList<java.lang.Object> |
getStatsCounts() |
NamedList |
getStatsFields() |
protected DocSet docs
protected SolrParams params
protected SolrIndexSearcher searcher
protected SolrQueryRequest req
public SimpleStats(SolrQueryRequest req, DocSet docs, SolrParams params)
public NamedList<java.lang.Object> getStatsCounts() throws java.io.IOException
java.io.IOException
public NamedList getStatsFields() throws java.io.IOException
java.io.IOException
public NamedList getFieldCacheStats(java.lang.String fieldName, java.lang.String[] facet)