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
ConstructorsConstructorDescriptionMultiValueTermOrdinalCollector(String fieldName, org.apache.lucene.index.SortedSetDocValues topLevelDocValues, org.apache.lucene.util.LongBitSet topLevelDocValuesBitSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int doc) voiddoSetNextReader(org.apache.lucene.index.LeafReaderContext context) org.apache.lucene.search.ScoreModeMethods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollector, setScorerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.search.Collector
setWeightMethods inherited from interface org.apache.lucene.search.LeafCollector
collect, collectRange, competitiveIterator, finish
-
Constructor Details
-
MultiValueTermOrdinalCollector
public MultiValueTermOrdinalCollector(String fieldName, org.apache.lucene.index.SortedSetDocValues topLevelDocValues, org.apache.lucene.util.LongBitSet topLevelDocValuesBitSet)
-
-
Method Details
-
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode() -
doSetNextReader
- Overrides:
doSetNextReaderin classorg.apache.lucene.search.SimpleCollector- Throws:
IOException
-
collect
- Specified by:
collectin interfaceorg.apache.lucene.search.LeafCollector- Specified by:
collectin classorg.apache.lucene.search.SimpleCollector- Throws:
IOException
-