org.elasticsearch.search.fetch.script
Class ScriptFieldsParseElement

java.lang.Object
  extended by 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" : "..."
  }
 }
 


Constructor Summary
ScriptFieldsParseElement()
           
 
Method Summary
 void parse(XContentParser parser, SearchContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptFieldsParseElement

public ScriptFieldsParseElement()
Method Detail

parse

public void parse(XContentParser parser,
                  SearchContext context)
           throws Exception
Specified by:
parse in interface SearchParseElement
Throws:
Exception


Copyright © 2009-2012. All Rights Reserved.