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

    Modifier and Type
    Method
    Description
    void
    collect(int doc)
     
    void
    doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
     
    org.apache.lucene.search.ScoreMode
     

    Methods inherited from class org.apache.lucene.search.SimpleCollector

    getLeafCollector, setScorer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.lucene.search.Collector

    setWeight

    Methods 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

      public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
      Overrides:
      doSetNextReader in class org.apache.lucene.search.SimpleCollector
      Throws:
      IOException
    • collect

      public void collect(int doc) throws IOException
      Specified by:
      collect in interface org.apache.lucene.search.LeafCollector
      Specified by:
      collect in class org.apache.lucene.search.SimpleCollector
      Throws:
      IOException