Class: Sunspot::Type::TrieFloatType

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

Overview

Store floats in a TrieField, which makes range queries much faster.

Instance Method Summary collapse

Methods inherited from FloatType

#cast, #to_indexed, #to_literal

Methods inherited from AbstractType

#accepts_dynamic?, #accepts_more_like_this?, instance, #to_literal

Instance Method Details

#indexed_name(name) ⇒ Object



281
282
283
# File 'lib/sunspot/type.rb', line 281

def indexed_name(name)
  "#{super}t"
end