www.elasticsearch.org/guide/reference/api/search/script-fields.html www.elasticsearch.org/guide/reference/modules/scripting.html
# File lib/tire/search/script_field.rb, line 9 def initialize(name, options) @hash = { name => options } end
# File lib/tire/search/script_field.rb, line 17 def to_hash @hash end
# File lib/tire/search/script_field.rb, line 13 def to_json(options={}) to_hash.to_json end