Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a query with a syntax error can have different root causes #108665

Open
dbrimley opened this issue May 15, 2024 · 1 comment
Open

Running a query with a syntax error can have different root causes #108665

dbrimley opened this issue May 15, 2024 · 1 comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@dbrimley
Copy link
Contributor

Elasticsearch Version

8.x

Installed Plugins

No response

Java Version

bundled

OS Version

unknown

Problem Description

Running a query with a syntax error can have different root causes, throwing either a parse_exception or query_shard_exception on clusters with more than one node.

Could you make it show the same error when triggered in all scenarios?

Steps to Reproduce

Running a simple query like the below multiple times in the Dev console will show both errors.

POST my_simple_index/_search
{
  "query": {
    "query_string": {
      "query": "keyword +"
    }
  },
  "size": 1000
}

Logs (if relevant)

No response

@dbrimley dbrimley added >bug :Search/Search Search-related issues that do not fall into other categories needs:triage Requires assignment of a team area label labels May 15, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label May 15, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

2 participants