public class AbstractSolrQueryFacet.FacetValueQueryExecuter extends SimpleCollector
Constructor and Description |
---|
FacetValueQueryExecuter(ReductionCollectionManager.ReductionDataCollection collection,
Query query)
Create an executer to collect the given reduction data from the given Solr query.
|
Modifier and Type | Method and Description |
---|---|
void |
collect(int doc) |
void |
doSetNextReader(LeafReaderContext context) |
void |
execute(SolrIndexSearcher searcher)
Start the collection for this facet value.
|
boolean |
needsScores() |
getLeafCollector, setScorer
public FacetValueQueryExecuter(ReductionCollectionManager.ReductionDataCollection collection, Query query)
collection
- The reduction data to collect while queryingquery
- The query used to filter for the facet valuepublic boolean needsScores()
public void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader
in class SimpleCollector
IOException
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class SimpleCollector
IOException
public void execute(SolrIndexSearcher searcher) throws IOException
searcher
- the solr searcherIOException
- if an exception occurs during the queryingCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.