public class FieldDataFieldsParseElement extends FetchSubPhaseParseElement<FieldDataFieldsContext>
fielddata_fields parameter in a
search request.
{
"query": {...},
"fielddata_fields" : ["field1", "field2"]
}
| Constructor and Description |
|---|
FieldDataFieldsParseElement() |
| Modifier and Type | Method and Description |
|---|---|
protected FetchSubPhase.ContextFactory |
getContextFactory()
Return the ContextFactory for this FetchSubPhase.
|
protected void |
innerParse(XContentParser parser,
FieldDataFieldsContext fieldDataFieldsContext,
SearchContext searchContext)
Implement the actual parsing here.
|
parseprotected void innerParse(XContentParser parser, FieldDataFieldsContext fieldDataFieldsContext, SearchContext searchContext) throws Exception
FetchSubPhaseParseElementinnerParse in class FetchSubPhaseParseElement<FieldDataFieldsContext>Exceptionprotected FetchSubPhase.ContextFactory getContextFactory()
FetchSubPhaseParseElementgetContextFactory in class FetchSubPhaseParseElement<FieldDataFieldsContext>Copyright © 2009–2017. All rights reserved.