opensearch-project / opensearch-project/sql
[FEATURE] Supported keyword and phrase search on default field
@songkant-aws is already working on this.
Since Jun 25, 2025.
- Dominant language
- Java
- Stars
- 176
- Forks
- 229
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 43
Description
Is your feature request related to a problem?
search command does not support keyword and phrase search on default field. PPL support query_string and multi_match, but it is not easy to use.
What solution would you like?
When search is the first command in query or subquery, user can use keywords or phrases to search docs from OpenSearch index. if not field specified, search against field configured in index.query. default_field, (default is all fields).
| Category | Feature | OpenSearch DSL | PPL |
|---|---|---|---|
| Implied Search | keywords | "query": "wind" | wind |
| Implied Search | AND | "query": "wind AND rises" | wind rises |
| Implied Search | phrases | "query": ""web error"" | "web error" |
What alternatives have you considered?
n/a
Do you have any additional context?
n/a
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.
Assessment
This issue has not been assessed yet.