Skip to content
Discussion options

You must be logged in to vote

Hi @IDPogolovkin

Magda uses Elasticsearch/OpenSearch as the search engine.

Magda’s search API’s default timeout time is 30 seconds, which means if it can’t get a response from the search engine within 30s, you will get 500 errors.

This config can be adjusted via helm chart config search-api.appConfig.akka.http.server.request-timeout.

What happened behind the longer-than-usual query time is:

Regarding why the search engine could take longer than usual when processing your first request after some idle time is:

Elasticsearch / OpenSearch will move shards to an "idle" state when an index has not been queried for some time
This behaviour is controlled by config index.search.idle.after
You ca…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by t83714
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants