Open sameer-b opened 1 year ago
Hey @sameer-b,
not sure if there is any plan to incorporate the OpenSearch rest client directly, but maybe it makes sense to offer an api to provide a custom client and configure the client inside your application. I can create a PR with an initial idea as a basis for discussions. @xtermi2 feel free to decline it if it does not fit into the overall goals.
@S1riU5 That would be ideal! Since we are moving to opensearch from elasticsearch our goal is to avoid any ES dependency. I'm guessing this will be a common pattern we will see. If the library is flexible to accept either, it will be great! thank you!
@S1riU5 hey you are stil alive. Nice to hear from you 😀
I see 2 possible solutions:
At the moment I would tend to option 2.
What do you think?
@xtermi2 Yes I am :-) also nice to hear from you. Initially, I was in favor of option 1, but solution 2 should also do the trick and should be backward compatible..... I'll implement version 2, to get rid of the Elasticsearch dependency, and look afterward into solution 1. Thanks for your input!
Hey - we would also be interested in this. We would like to use OpenSearch Restclient in our applikcation with spring-data-opensearch (https://github.com/opensearch-project/spring-data-opensearch). Using the opensearch-client seems to be the recommended way, but means to exclude the Rest-Client (so using elaticsearch-evolution is not possible)
Hello, Thanks for your hard work on this library! I'm trying to use it with OpenSearch, for now the ElasticSearch RestClient should work fine. But I'm curious if you have any plans to support the OpenSearch RestClient?