class Elastic::Datatypes::String

Public Instance Methods

mapping_options() click to toggle source
# 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