Module: Hunt::InstanceMethods
- Defined in:
- lib/hunt.rb
Instance Method Summary collapse
Instance Method Details
#concatted_search_values ⇒ Object
29 30 31 |
# File 'lib/hunt.rb', line 29 def concatted_search_values self.class.search_keys.map { |key| send(key) }.flatten.join(' ') end |
#index_search_terms ⇒ Object
33 34 35 |
# File 'lib/hunt.rb', line 33 def index_search_terms self.searches['default'] = Util.to_stemmed_words(concatted_search_values) end |