public class ScriptFieldsFetchSubPhase extends Object implements FetchSubPhase
FetchSubPhase.ContextFactory<SubPhaseContext extends FetchSubPhaseContext>, FetchSubPhase.HitContext| Constructor and Description |
|---|
ScriptFieldsFetchSubPhase() |
| Modifier and Type | Method and Description |
|---|---|
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() |
@Inject public ScriptFieldsFetchSubPhase()
public Map<String,? extends SearchParseElement> parseElements()
parseElements in interface FetchSubPhasepublic boolean hitsExecutionNeeded(SearchContext context)
hitsExecutionNeeded in interface FetchSubPhasepublic void hitsExecute(SearchContext context, InternalSearchHit[] hits)
hitsExecute in interface FetchSubPhasepublic boolean hitExecutionNeeded(SearchContext context)
hitExecutionNeeded in interface FetchSubPhasepublic void hitExecute(SearchContext context, FetchSubPhase.HitContext hitContext)
FetchSubPhasehitExecute in interface FetchSubPhaseCopyright © 2009–2017. All rights reserved.