-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Introduce OpenSearch integration #2203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
That's the way it should go I think. Two big things to do: ConfigurationThe current code for Elasticsearch uses the same configuration class Integration testsI already prepared last year the integration of Opensearch into the integration test setup insofar as there is a property in
And src/test/resources/testcontainers-opensearch.properties needs to be set up to define and configure the correct opensearch docker image to be used by TestContainers. I did not now try this out now, just writing what I assume should be working. |
@sothawo thanks a lot for the feedback and insights.
Yes, it uses the same underlying
Yes, saw that as well, will continue the work you have started and make the changes to ensure both test suites are working, thank you. |
* @since 3.2 | ||
*/ | ||
class InetSocketAddressParser { | ||
public class InetSocketAddressParser { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making it public to be used by org.springframework.data.elasticsearch.client.orhlc.DefaultClientConfiguration
4ef5a1e
to
a3c62de
Compare
@sothawo I believe |
2d170cd
to
1c1f90f
Compare
Hi, I will have a look these days. |
Sure, thanks a lot! |
Excited to see this progressing! |
looks alright for me as a start on the new repository. I just changed the |
I was wondering if this PR is merged soon because we would highly appreciate to be able to use the OpenSearch client to connect to our OpenSearch cluster. |
This PR won't be merged. Please read the comment on the issue in #1918 (comment) and opensearch-project/opensearch-clients#28. After the repository is created by Opensearch the code from this PR will be migrated over there |
e136256
to
649bd80
Compare
Signed-off-by: Andriy Redko <[email protected]>
Closing in favor of opensearch-project/spring-data-opensearch#1 as per discussions with Spring Data team |
com/spring-projects/spring-data-elasticsearch/issues). Add the issue number to the Closes #issue-number line below
Since https://github.com/spring-projects/spring-data-elasticsearch/pull/2196/files got merged, we have an opportunity to introduce clean OpenSearch integration (based on
HighLevelRestClient
at least) along with Elasticsearch one. This pull request draft aims to kick of the discussion if such a path forward makes sense for maintainers or not. Upon positive feedback, the remaining issues (test cases, documentation, ...) are going to be added right away.@sothawo what do you think about it? CC @brijos @dblock
Closes #1918