Sha256: fc4aeabe2687025df937f469927de8f3742b693d15fef40ad5d4e8a9550c2aa4
Contents?: true
Size: 349 Bytes
Versions: 19
Compression:
Stored size: 349 Bytes
Contents
class <%= class_name %>Index < Elastic::Type # Index model fields by adding field definitions. # # Some examples: # # fields :foo, :bar # field :timestamp, type: :date # field :category, type: :term # field :complex, transform: -> { "#{property_1}/#{property_2}" } # field :custom # # def custom # "foobar" # end # end
Version data entries
19 entries across 19 versions & 1 rubygems