WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
(v bool)
| 322 | |
| 323 | // WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed). |
| 324 | func (f Count) WithIgnoreUnavailable(v bool) func(*CountRequest) { |
| 325 | return func(r *CountRequest) { |
| 326 | r.IgnoreUnavailable = &v |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | // WithLenient - specify whether format-based query failures (such as providing text to a numeric field) should be ignored. |
| 331 | func (f Count) WithLenient(v bool) func(*CountRequest) { |
no outgoing calls