Class 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 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 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()
        Specified by:
        scoreMode in interface org.apache.lucene.search.Collector