opensearch-project / opensearch-project/opensearch-java
[BUG] Missing Neural Sparse Support in Java Client (Query.java and Processor.java)
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?
The OpenSearch Java client is missing support for neural_sparse queries in Query.java and for the sparse_encoding processor in Processor.java.
What is the expected behavior?
The Java client should expose builders for:
neural_sparse queries via Query.java
sparse_encoding processors via Processor.java
Do you have any additional context?
The missing support forces developers to manually craft JSON requests or use REST calls directly, which defeats the purpose of having a strongly typed Java client.
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 by reading Query.java and Processor.java, then compare nearby existing query and processor builder patterns. The work is complete when the Java client exposes builders for neural_sparse queries and sparse_encoding processors, allowing these requests to be represented through the typed client rather than manual JSON.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100