Class: Sunspot::Type::TrieTimeType
- Inherits:
-
TimeType
- Object
- AbstractType
- TimeType
- Sunspot::Type::TrieTimeType
- Defined in:
- 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
Sunspot::Type::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
#indexed_name(name) ⇒ Object
295 296 297 |
# File 'lib/sunspot/type.rb', line 295 def indexed_name(name) "#{super}t" end |