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 SearchParseElementExceptionpublic FetchSourceContext parse(XContentParser parser) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.