public final class LocalStatsSource extends StatsSource
SolrIndexSearcher
to provide
local statistics.Constructor and Description |
---|
LocalStatsSource() |
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.