Method: Hunt::ClassMethods#searches
- Defined in:
- lib/hunt.rb
#searches(*keys) ⇒ Object
17 18 19 20 21 |
# File 'lib/hunt.rb', line 17 def searches(*keys) # Using a hash to support multiple indexes per document at some point key(:searches, Hash) @search_keys = keys end |