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 |
---|---|
CollectionStatistics |
collectionStatistics(SolrIndexSearcher localSearcher,
String field) |
TermStatistics |
termStatistics(SolrIndexSearcher localSearcher,
Term term,
TermContext context) |
public TermStatistics termStatistics(SolrIndexSearcher localSearcher, Term term, TermContext context) throws IOException
termStatistics
in class StatsSource
IOException
public CollectionStatistics collectionStatistics(SolrIndexSearcher localSearcher, String field) throws IOException
collectionStatistics
in class StatsSource
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.