opensearch-project / opensearch-project/opensearch-java

[FEATURE] Support plugins in client

Open
#1,120 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.