org.elasticsearch.search.fetch
Interface FetchSubPhase

All Known Implementing Classes:
ExplainFetchSubPhase, HighlightPhase, MatchedFiltersFetchSubPhase, PartialFieldsFetchSubPhase, ScriptFieldsFetchSubPhase, VersionFetchSubPhase

public interface FetchSubPhase


Nested Class Summary
static class FetchSubPhase.HitContext
           
 
Method Summary
 void hitExecute(SearchContext context, FetchSubPhase.HitContext hitContext)
          Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
 boolean hitExecutionNeeded(SearchContext context)
           
 void hitsExecute(SearchContext context, InternalSearchHit[] hits)
           
 boolean hitsExecutionNeeded(SearchContext context)
           
 Map<String,? extends SearchParseElement> parseElements()
           
 

Method Detail

parseElements

Map<String,? extends SearchParseElement> parseElements()

hitExecutionNeeded

boolean hitExecutionNeeded(SearchContext context)

hitExecute

void hitExecute(SearchContext context,
                FetchSubPhase.HitContext hitContext)
                throws ElasticSearchException
Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).

Throws:
ElasticSearchException

hitsExecutionNeeded

boolean hitsExecutionNeeded(SearchContext context)

hitsExecute

void hitsExecute(SearchContext context,
                 InternalSearchHit[] hits)
                 throws ElasticSearchException
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.