class Sunspot::Type::TextType
Text is a special type that stores data for fulltext search. Unlike other types, Text fields are tokenized and are made available to the keyword search phrase. Text fields cannot be faceted, ordered upon, or used in restrictions. Similarly, text fields are the only fields that are made available to keyword search.
Public Instance Methods
accepts_dynamic?()
click to toggle source
# File lib/sunspot/type.rb, line 106 def accepts_dynamic? false end
accepts_more_like_this?()
click to toggle source
# File lib/sunspot/type.rb, line 110 def accepts_more_like_this? true end
cast(text)
click to toggle source
# File lib/sunspot/type.rb, line 102 def cast(text) text end