public class FetchSourceParseElement extends Object implements SearchParseElement
"source" : true/false "source" : "field" "source" : [ "include", "include" ] "source" : { "include" : ["obj"] "exclude" : ["obj"] }
Constructor and Description |
---|
FetchSourceParseElement() |
Modifier and Type | Method and Description |
---|---|
FetchSourceContext |
parse(XContentParser parser) |
void |
parse(XContentParser parser,
SearchContext context) |
public void parse(XContentParser parser, SearchContext context) throws Exception
parse
in interface SearchParseElement
Exception
public FetchSourceContext parse(XContentParser parser) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.