Class: Sunspot::Type::TrieTimeType

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

Overview

Index times using a TrieField. Internally, trie times are indexed as Unix timestamps in a trie integer field, as TrieField does not support datetime types natively. This distinction should have no effect from the standpoint of the library’s API.

Constant Summary

Constants inherited from TimeType

XMLSCHEMA

Instance Method Summary (collapse)

Methods inherited from TimeType

#cast, #to_indexed, #to_literal

Methods inherited from AbstractType

#accepts_dynamic?, #accepts_more_like_this?, #to_literal

Instance Method Details

- (Object) indexed_name(name)



295
296
297
# File 'sunspot/lib/sunspot/type.rb', line 295

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