Package org.apache.solr.search.stats
Class ExactStatsCache.ExactStatsSource
- java.lang.Object
-
- org.apache.solr.search.stats.StatsSource
-
- org.apache.solr.search.stats.ExactStatsCache.ExactStatsSource
-
- Enclosing class:
- ExactStatsCache
protected static class ExactStatsCache.ExactStatsSource extends StatsSource
-
-
Constructor Summary
Constructors Constructor Description ExactStatsSource(StatsCache.StatsCacheMetrics metrics, Map<String,TermStats> termStatsCache, Map<String,CollectionStats> colStatsCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.CollectionStatistics
collectionStatistics(SolrIndexSearcher localSearcher, String field)
org.apache.lucene.search.TermStatistics
termStatistics(SolrIndexSearcher localSearcher, org.apache.lucene.index.Term term, int docFreq, long totalTermFreq)
-
-
-
Constructor Detail
-
ExactStatsSource
public ExactStatsSource(StatsCache.StatsCacheMetrics metrics, Map<String,TermStats> termStatsCache, Map<String,CollectionStats> colStatsCache)
-
-
Method Detail
-
termStatistics
public org.apache.lucene.search.TermStatistics termStatistics(SolrIndexSearcher localSearcher, org.apache.lucene.index.Term term, int docFreq, long totalTermFreq) throws IOException
- Specified by:
termStatistics
in classStatsSource
- Throws:
IOException
-
collectionStatistics
public org.apache.lucene.search.CollectionStatistics collectionStatistics(SolrIndexSearcher localSearcher, String field) throws IOException
- Specified by:
collectionStatistics
in classStatsSource
- Throws:
IOException
-
-