Sha256: c073c17480c45104c09ce0a9ec220c2c0805463370f5a4376f0386922ba7e6fd

Contents?: true

Size: 274 Bytes

Versions: 7

Compression:

Stored size: 274 Bytes

Contents

module Gummi
  module Fields
    class Keyword < Virtus::Attribute
      def coerce(value)
        value
      end

      def mapping
        { type: 'string', index_analyzer: 'keyword_index_analyzer', search_analyzer: 'keyword_search_analyzer' }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gummi-0.1.2 lib/gummi/fields/keyword.rb
gummi-0.1.1 lib/gummi/fields/keyword.rb
gummi-0.1.0 lib/gummi/fields/keyword.rb
gummi-0.0.9 lib/gummi/fields/keyword.rb
gummi-0.0.8 lib/gummi/fields/keyword.rb
gummi-0.0.7 lib/gummi/fields/keyword.rb
gummi-0.0.6 lib/gummi/fields/keyword.rb