public class FieldDataFieldsFetchSubPhase extends Object implements FetchSubPhase
"fielddata_fields": ["field1", "field2"]FetchSubPhase.ContextFactory<SubPhaseContext extends FetchSubPhaseContext>, FetchSubPhase.HitContext| Modifier and Type | Field and Description |
|---|---|
static FetchSubPhase.ContextFactory<FieldDataFieldsContext> |
CONTEXT_FACTORY |
static String[] |
NAMES |
| Constructor and Description |
|---|
FieldDataFieldsFetchSubPhase() |
| 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() |
public static final String[] NAMES
public static final FetchSubPhase.ContextFactory<FieldDataFieldsContext> CONTEXT_FACTORY
@Inject public FieldDataFieldsFetchSubPhase()
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.