Sha256: 1cefcc1af921355e3917a2b62bd50032f94ea195aa9855502cca829c285dd3ff
Contents?: true
Size: 295 Bytes
Versions: 6
Compression:
Stored size: 295 Bytes
Contents
class UserIndex < SearchIndex def initialize super('users') end def create super( mappings: { type => { # Your mappings here } } ) end def store(instance) index_data = instance.attributes super(index_data) end end
Version data entries
6 entries across 6 versions & 1 rubygems