Class AllDocumentsCollector

java.lang.Object
org.apache.lucene.search.SimpleCollector
com.semedy.reasoner.symboltable.index.AllDocumentsCollector
All Implemented Interfaces:
org.apache.lucene.search.Collector, org.apache.lucene.search.LeafCollector

public class AllDocumentsCollector extends org.apache.lucene.search.SimpleCollector
Author:
Kevin
  • Constructor Summary

    Constructors
    Constructor
    Description
    AllDocumentsCollector(int numDocs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collect(int doc)
     
    List<org.apache.lucene.document.Document>
     
    org.apache.lucene.search.ScoreMode
     

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

    getLeafCollector, setScorer

    Methods inherited from class java.lang.Object

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

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

    competitiveIterator
  • Constructor Details

    • AllDocumentsCollector

      public AllDocumentsCollector(int numDocs)
  • Method Details

    • getDocuments

      public List<org.apache.lucene.document.Document> getDocuments()
    • 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
    • scoreMode

      public org.apache.lucene.search.ScoreMode scoreMode()