Method: Chewy::Search::Request#ignore_unavailable
- Defined in:
- lib/chewy/search/request.rb
#ignore_unavailable(value) ⇒ Chewy::Search::Request
Replaces the value of the ignore_unavailable request part.
534 535 536 537 538 |
# File 'lib/chewy/search/request.rb', line 534 %i[request_cache search_type preference timeout limit offset terminate_after min_score ignore_unavailable collapse knn].each do |name| define_method name do |value| modify(name) { replace!(value) } end end |