opensearch-project / opensearch-project/sql

[FEATURE] Supported keyword and phrase search on default field

Open
#3,807 1 comment 0 reactions 1 assignee View on GitHub

@songkant-aws is already working on this.

Since Jun 25, 2025.

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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.