Package org.apache.solr.search.join
Class MultiValueTermOrdinalCollector
- java.lang.Object
-
- org.apache.lucene.search.SimpleCollector
-
- org.apache.solr.search.join.MultiValueTermOrdinalCollector
-
- All Implemented Interfaces:
org.apache.lucene.search.Collector
,org.apache.lucene.search.LeafCollector
public class MultiValueTermOrdinalCollector extends org.apache.lucene.search.SimpleCollector
Populates a bitset of (top-level) ordinals based on field values in a multi-valued field.
-
-
Constructor Summary
Constructors Constructor Description MultiValueTermOrdinalCollector(String fieldName, org.apache.lucene.index.SortedSetDocValues topLevelDocValues, org.apache.lucene.util.LongBitSet topLevelDocValuesBitSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect(int doc)
void
doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
org.apache.lucene.search.ScoreMode
scoreMode()
-
-
-
Constructor Detail
-
MultiValueTermOrdinalCollector
public MultiValueTermOrdinalCollector(String fieldName, org.apache.lucene.index.SortedSetDocValues topLevelDocValues, org.apache.lucene.util.LongBitSet topLevelDocValuesBitSet)
-
-
Method Detail
-
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode()
-
doSetNextReader
public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Overrides:
doSetNextReader
in classorg.apache.lucene.search.SimpleCollector
- Throws:
IOException
-
collect
public void collect(int doc) throws IOException
- Specified by:
collect
in interfaceorg.apache.lucene.search.LeafCollector
- Specified by:
collect
in classorg.apache.lucene.search.SimpleCollector
- Throws:
IOException
-
-