Sha256: 1fb4948000b9e460e038a93bea6a6be9d78bb162ac0453ec3ffbd191fff4a299

Contents?: true

Size: 160 Bytes

Versions: 5

Compression:

Stored size: 160 Bytes

Contents

module Elastic::Datatypes
  class Term < Default
    def mapping_options
      options = super
      options[:type] = 'keyword'
      options
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elastic-rails-1.0.4 lib/elastic/datatypes/term.rb
elastic-rails-1.0.3 lib/elastic/datatypes/term.rb
elastic-rails-1.0.2 lib/elastic/datatypes/term.rb
elastic-rails-1.0.1 lib/elastic/datatypes/term.rb
elastic-rails-1.0.0 lib/elastic/datatypes/term.rb