Package org.apache.solr.search.join
Class GraphPointsCollector
- java.lang.Object
-
- org.apache.lucene.search.SimpleCollector
-
- org.apache.solr.search.join.GraphPointsCollector
-
- All Implemented Interfaces:
org.apache.lucene.search.Collector
,org.apache.lucene.search.LeafCollector
public class GraphPointsCollector extends org.apache.lucene.search.SimpleCollector
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description GraphPointsCollector(SchemaField collectField, DocSet skipSet, DocSet leafNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect(int segDoc)
void
doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
int
getNumHits()
org.apache.lucene.search.Query
getResultQuery(SchemaField matchField, boolean useAutomaton)
org.apache.lucene.search.ScoreMode
scoreMode()
void
setCollectDocs(org.apache.lucene.util.FixedBitSet target)
-
-
-
Constructor Detail
-
GraphPointsCollector
public GraphPointsCollector(SchemaField collectField, DocSet skipSet, DocSet leafNodes)
-
-
Method Detail
-
doSetNextReader
public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Throws:
IOException
-
getResultQuery
public org.apache.lucene.search.Query getResultQuery(SchemaField matchField, boolean useAutomaton)
-
setCollectDocs
public void setCollectDocs(org.apache.lucene.util.FixedBitSet target)
-
getNumHits
public int getNumHits()
-
collect
public void collect(int segDoc) throws IOException
- Specified by:
collect
in interfaceorg.apache.lucene.search.LeafCollector
- Specified by:
collect
in classorg.apache.lucene.search.SimpleCollector
- Throws:
IOException
-
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode()
- Specified by:
scoreMode
in interfaceorg.apache.lucene.search.Collector
-
-