opensearch-project / opensearch-project/opensearch-java
[FEATURE] Support plugins in client
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 165
- Forks
- 250
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 26
Description
What is the bug?
OpenSearchClient is not having any way to use _plugins/_sql?format=json API.
How can one reproduce the bug?
POST _plugins/_sql?format=json
{
"query": "SELECT * FROM books_test WHERE year > 1950"
}
Trying to execute such SQL based query using OpenSearchClient, but there's no way to do it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OpenSearchClient entry points for making requests and compare them with the documented POST _plugins/_sql?format=json request. Trace how the SQL query body and response would be represented, then verify that a client user can execute the example query through the supported plugin interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100