Method: Chewy::Search::Response#hits
- Defined in:
- lib/chewy/search/response.rb
#hits ⇒ Array<Hash>
Raw response hits collection. Returns empty array is something went wrong.
18 19 20 |
# File 'lib/chewy/search/response.rb', line 18 def hits @hits ||= hits_root['hits'] || [] end |