Package org.elasticsearch.search.fetch
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 voidprocess(FetchSubPhase.HitContext hitContext)Called in doc id order for each hit in a leaf readervoidsetNextReader(org.apache.lucene.index.LeafReaderContext readerContext)Called when moving to the nextLeafReaderContextfor a set of hits
-
Method Details
-
setNextReader
void setNextReader(org.apache.lucene.index.LeafReaderContext readerContext) throws java.io.IOExceptionCalled when moving to the nextLeafReaderContextfor a set of hits- Throws:
java.io.IOException
-
process
Called in doc id order for each hit in a leaf reader- Throws:
java.io.IOException
-