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?, #to_literal

Instance Method Details

#indexed_name(name) ⇒ Object

:nodoc:



159
160
161
# File 'lib/sunspot/type.rb', line 159

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