Method: Chewy::Query#timed_out
- Defined in:
- lib/chewy/query.rb
#timed_out ⇒ Object
Returns request timed_out as reported by elasticsearch
The timed_out value tells us whether the query timed out or not.
By default, search requests do not timeout. If low response times are more important to you than complete results, you can specify a timeout as 10 or “10ms” (10 milliseconds), or “1s” (1 second). See #timeout method.
UsersIndex.query(...).filter(...).timed_out
1005 1006 1007 |
# File 'lib/chewy/query.rb', line 1005 def timed_out _response['timed_out'] end |