public abstract class StatsSource extends Object
Weight from a Query, that is
TermStatistics for a term and CollectionStatistics for the
whole collection.| Constructor and Description |
|---|
StatsSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.lucene.search.CollectionStatistics |
collectionStatistics(SolrIndexSearcher localSearcher,
String field) |
abstract org.apache.lucene.search.TermStatistics |
termStatistics(SolrIndexSearcher localSearcher,
org.apache.lucene.index.Term term,
org.apache.lucene.index.TermContext context) |
public abstract org.apache.lucene.search.TermStatistics termStatistics(SolrIndexSearcher localSearcher, org.apache.lucene.index.Term term, org.apache.lucene.index.TermContext context) throws IOException
IOExceptionpublic abstract org.apache.lucene.search.CollectionStatistics collectionStatistics(SolrIndexSearcher localSearcher, String field) throws IOException
IOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.