Class: Sunspot::Type::DoubleType

Inherits:
FloatType show all
Defined in:
sunspot/lib/sunspot/type.rb

Overview

The Double type indexes Ruby Floats (which are in fact doubles) into Java Double fields

Instance Method Summary (collapse)

Methods inherited from FloatType

#cast, #to_indexed, #to_literal

Methods inherited from AbstractType

#accepts_dynamic?, #accepts_more_like_this?, #to_literal

Instance Method Details

- (Object) indexed_name(name)



191
192
193
# File 'sunspot/lib/sunspot/type.rb', line 191

def indexed_name(name)
  "#{name}_e"
end