org.elasticsearch.search.fetch.script
Class ScriptFieldsParseElement
java.lang.Object
org.elasticsearch.search.fetch.script.ScriptFieldsParseElement
- All Implemented Interfaces:
- SearchParseElement
public class ScriptFieldsParseElement
- extends Object
- implements SearchParseElement
"script_fields" : {
"test1" : {
"script" : "doc['field_name'].value"
},
"test2" : {
"script" : "..."
}
}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptFieldsParseElement
public ScriptFieldsParseElement()
parse
public void parse(XContentParser parser,
SearchContext context)
throws Exception
- Specified by:
parse
in interface SearchParseElement
- Throws:
Exception
Copyright © 2009-2012. All Rights Reserved.