protected static class ExactStatsCache.ExactStatsSource extends StatsSource
Constructor and Description |
---|
ExactStatsSource(Map<String,TermStats> termStatsCache,
Map<String,CollectionStats> colStatsCache) |
Modifier and Type | Method and 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,
org.apache.lucene.index.TermContext context) |
public org.apache.lucene.search.TermStatistics termStatistics(SolrIndexSearcher localSearcher, org.apache.lucene.index.Term term, org.apache.lucene.index.TermContext context) throws IOException
termStatistics
in class StatsSource
IOException
public org.apache.lucene.search.CollectionStatistics collectionStatistics(SolrIndexSearcher localSearcher, String field) throws IOException
collectionStatistics
in class StatsSource
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.