Closed sarthi2395 closed 3 years ago
Thanks for the issue. I don't see it in the rendered docs for Elasticsearch, which is weird, but I tried adding the parameter and it does seem to work, so I'll push that up.
Note that the ellipsis (...
) is meant for curl options as the docs state, but unfortunately allows non curl options to be passed and silently ignored.
added the parameter, re-install and try again
I removed the package, installed from GitHub and tried again. Still doesn't seem to work.
Did you restart R?
Elastic version: 7.4.2 (AWS ElasticSearch service)
Session Info
```r - Session info ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- setting value version R version 3.5.2 (2018-12-20) os Windows >= 8 x64 system x86_64, mingw32 ui RStudio language (EN) collate English_United States.1252 ctype English_United States.1252 tz Asia/Calcutta date 2020-07-27 - Packages ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ! package * version date lib source assertthat 0.2.1 2019-03-21 [2] CRAN (R 3.4.4) R backports 1.1.4Here is a sample query that I run against my indices.
This works fine if all the three indices are present. Even if one of them is not present, I get
In Elastic search API documentation here, I see that there is a parameter
ignore_unavailable
which when passed asTRUE
will ignore missing indices and return the results only for those that are available. This doesn't work when I pass the same to my search query as follows:Is there a way I can achieve this?