class EsField
Public Instance Methods
to_mapping()
click to toggle source
# File lib/wukong-migrate/elasticsearch_fields.rb, line 10 def to_mapping attributes.compact_blank.merge(type: short_type) end
# File lib/wukong-migrate/elasticsearch_fields.rb, line 10 def to_mapping attributes.compact_blank.merge(type: short_type) end