opensearch-project / opensearch-project/opensearch-java

[BUG] Java High-Level Rest Client doc issue

Open
#565 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue
Dominant language
Java
Stars
165
Forks
250
Avg merge
1d 18h
Merged PRs (30d)
26

Description

What is the bug?

Someone submitted an issue in the doc repo. Can you please let us know what needs to be updated? Thanks.

As per the Legacy clients table, ElasticSearch Java High-Level Rest Client version 7.13.4 should work with OpenSearch. I understand that this is a best effort, but even a simple request of indexing a document fails as of OpenSearch 1.3. In OpenSearch 1.3 the response body for the Index Document API changed to no longer include the _type field which breaks compatibility with this client.

See https://github.com/opensearch-project/documentation-website/issues/4419

How can one reproduce the bug?

Steps to reproduce the behavior.

What is the expected behavior?

A clear and concise description of what you expected to happen.

What is your host/environment?

Operating system, version.

Do you have any screenshots?

If applicable, add screenshots to help explain your problem.

Do you have any additional context?

Add any other context about the problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Legacy clients table and the referenced documentation issue 4419, then examine the OpenSearch 1.3 Index Document API response change and its effect on Elasticsearch Java High-Level REST Client 7.13.4. Done means the required documentation or compatibility guidance is identified and updated, with the client behavior clearly addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.