Skip to content

Search API provides internal on elastic search errors #34

@bhermann

Description

@bhermann

Describe the bug
When a query fails the error is returned in the result to the client.

To Reproduce
Steps to reproduce the behavior:

  1. Produce a search query with a limit > 10000.
  2. The resulting ElasticError is just passed along.

Expected behavior
Hide unknown errors and give reasonable messages for other cases (e.g. request window (limit) set too high)

Screenshots
n/a

Affected components (if known)
webapi, cli

Desktop (please complete the following information, if relevant):
n/a

Smartphone (please complete the following information, if relevant):
n/a

Additional context
none

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions