module Elos::Index::Properties
Public Instance Methods
array_property(value_type)
click to toggle source
# File lib/elos/index/properties.rb, line 5 def array_property(value_type) { properties: { value: send("#{value_type}_property") } } end
boolean_property()
click to toggle source
# File lib/elos/index/properties.rb, line 29 def boolean_property { type: 'boolean' } end
integer_property()
click to toggle source
# File lib/elos/index/properties.rb, line 21 def integer_property { type: 'integer' } end
long_property()
click to toggle source
# File lib/elos/index/properties.rb, line 25 def long_property { type: 'long' } end
no_index_string_property()
click to toggle source
# File lib/elos/index/properties.rb, line 17 def no_index_string_property { type: 'string', index: 'no' } end
string_property()
click to toggle source
# File lib/elos/index/properties.rb, line 13 def string_property { type: 'string', index: 'not_analyzed' } end