ropensci / elastic

R client for the Elasticsearch HTTP API
https://docs.ropensci.org/elastic
Other
245 stars 58 forks source link

rework alias fxns #230

Closed sckott closed 5 years ago

sckott commented 5 years ago

via https://stackoverflow.com/questions/51782977/elastic-create-multiple-aliases-at-a-time-in-r

seems that https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html instead of basing everything in URL's pass data in bodies to give more flexibility

Jensxy commented 5 years ago

Will you also add the possibility to delete more than one alias at a time?

sckott commented 5 years ago

will try

sckott commented 5 years ago

hmm, it seems there's a pattern to remove more than 1 alias per request https://github.com/elastic/elasticsearch/issues/15186#issuecomment-162029698

not sure if this still works in the current version or. not, havne't tried yet