class Elastic::Datatypes::String
Public Instance Methods
mapping_options()
click to toggle source
Calls superclass method
Elastic::Datatypes::Default#mapping_options
# File lib/elastic/datatypes/string.rb, line 3 def mapping_options options = super options[:type] = 'text' options end
supported_queries()
click to toggle source
# File lib/elastic/datatypes/string.rb, line 9 def supported_queries [:match, :term, :range] end