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.
|
parse
protected void innerParse(XContentParser parser, FieldDataFieldsContext fieldDataFieldsContext, SearchContext searchContext) throws Exception
FetchSubPhaseParseElement
innerParse
in class FetchSubPhaseParseElement<FieldDataFieldsContext>
Exception
protected FetchSubPhase.ContextFactory getContextFactory()
FetchSubPhaseParseElement
getContextFactory
in class FetchSubPhaseParseElement<FieldDataFieldsContext>
Copyright © 2009–2016. All rights reserved.