opensearch-project / opensearch-project/sql
[FEATURE] Improve search command syntax to search for a boolean expression in a particular field.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 176
- Forks
- 229
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 43
Description
Today, on default field we could search for boolean expression using the below command.
search=index "error" AND "failed"
if we want to do the same thing in a particular field, it would be
search=index body="error" AND body="failed"
ideally, it would be simple if we could write.
search= index body=("error" AND "failed")
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 locating the parser and tests for field-specific boolean expressions in the SQL/PPL query syntax. Compare the existing body="error" AND body="failed" form with the requested body=("error" AND "failed") form. Done means the grouped syntax parses and produces the intended field-scoped search behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100