Sha256: a17841cb00299357106e0ffa266d4c2bd83c7eb994810140ec00670899bdfd64
Contents?: true
Size: 568 Bytes
Versions: 7
Compression:
Stored size: 568 Bytes
Contents
module Gummi module Fields class NgramAndPlain < Virtus::Attribute def coerce(value) value end def mapping { type: 'multi_field', fields: { name => { type: 'string', index_analyzer: 'text_index_analyzer', search_analyzer: 'text_search_analyzer' }, :plain => { type: 'string', index_analyzer: 'string_index_analyzer', search_analyzer: 'text_search_analyzer' }, } } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems