elasticsearch-elixir icon indicating copy to clipboard operation
elasticsearch-elixir copied to clipboard

Add an ability to customize bulk api url

Open ssbb opened this issue 3 years ago • 4 comments

New OpenSearch (what AWS using as well) completely removed types in urls so old url with _doc won't work at all.

And it's optional in newer ElasticSearch (since v7 I think).

This PR adds an ability to set custom bulk url postfix and defaults to the new /{index}/_bulk url schema.

Other Elixir ES clients using new url schema only already. Let me know what you think.

ssbb avatar Sep 13 '22 17:09 ssbb

@danielberkompas any chance this could be merged and released? We are trying to migrate to Elasticsearch 8.6 and this is causing us some grief. We're working around it but of course it's quite messy.

Thank you!

dhaspden avatar Feb 07 '23 17:02 dhaspden

Hi @danielberkompas! We're trying to migrate to Elasticsearch 8 (or OpenSearch 2 depending on the project) and this is a blocker for us as well. Is there any chance of merging this (or a similar solution) and releasing it since it's not a breaking change, even if you end up changing the default configuration in a v2.0 release later down the road?

Thanks for the awesome library!

JoeyBG avatar Oct 03 '23 19:10 JoeyBG

We've been using this fork in production for the better part of a year. Is there any way we can merge it? It's not ideal having to rely on a Github fork in production.

Thank you @ssbb for doing this at any rate 🙏

dhaspden avatar Nov 07 '23 15:11 dhaspden

Any updates on this one? It's a blocker for us at our company too - I'm having to copy and create our own modified Index, Bulk and mix tasks for now.

lovebes avatar Jan 19 '24 15:01 lovebes