Class: Sunspot::Type::LongType

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

Overview

The Long type indexes Ruby Fixnum and Bignum numbers into Java Longs

Instance Method Summary collapse

Methods inherited from IntegerType

#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

:nodoc:



157
158
159
# File 'lib/sunspot/type.rb', line 157

def indexed_name(name) #:nodoc:
  "#{name}_l"
end