public class ScriptFieldsParseElement extends Object implements SearchParseElement
"script_fields" : {
"test1" : {
"script" : "doc['field_name'].value"
},
"test2" : {
"script" : "..."
}
}
| Constructor and Description |
|---|
ScriptFieldsParseElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(XContentParser parser,
SearchContext context) |
public void parse(XContentParser parser, SearchContext context) throws Exception
parse in interface SearchParseElementExceptionCopyright © 2009–2016. All rights reserved.