Interface FetchSubPhaseProcessor


public interface FetchSubPhaseProcessor
Executes the logic for a FetchSubPhase against a particular leaf reader and hit
  • Method Summary

    Modifier and Type
    Method
    Description
    default Map<String,Object>
    Called when profiling after processing all documents to get any extra debug information the phase collected.
    void
    Called in doc id order for each hit in a leaf reader
    void
    setNextReader(org.apache.lucene.index.LeafReaderContext readerContext)
    Called when moving to the next LeafReaderContext for a set of hits
  • Method Details

    • setNextReader

      void setNextReader(org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
      Called when moving to the next LeafReaderContext for a set of hits
      Throws:
      IOException
    • process

      void process(FetchSubPhase.HitContext hitContext) throws IOException
      Called in doc id order for each hit in a leaf reader
      Throws:
      IOException
    • getDebugInfo

      default Map<String,Object> getDebugInfo()
      Called when profiling after processing all documents to get any extra debug information the phase collected.