Class: Sunspot::Type::LongType

Inherits:
IntegerType show all
Defined in:
sunspot/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

- (Object) indexed_name(name)

:nodoc:



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

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