Module org.elasticsearch.server
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 TypeMethodDescriptionCalled when profiling after processing all documents to get any extra debug information the phase collected.void
process
(FetchSubPhase.HitContext hitContext) Called in doc id order for each hit in a leaf readervoid
setNextReader
(org.apache.lucene.index.LeafReaderContext readerContext) Called when moving to the nextLeafReaderContext
for a set of hitsThe stored fields or source required by this sub phase
-
Method Details
-
setNextReader
Called when moving to the nextLeafReaderContext
for a set of hits- Throws:
IOException
-
process
Called in doc id order for each hit in a leaf reader- Throws:
IOException
-
getDebugInfo
Called when profiling after processing all documents to get any extra debug information the phase collected. -
storedFieldsSpec
StoredFieldsSpec storedFieldsSpec()The stored fields or source required by this sub phase
-