gentics / gentics/mesh

Add timeout to search requests with ?wait=true

Open
#873 0 comments 2 reactions 0 assignees View on GitHub
enhancement f/elasticsearch
Dominant language
Java
Stars
593
Forks
123
Avg merge
2d 18h
Merged PRs (30d)
4

Description

When using the search endpoints, the current behaviour is to wait for any elasticsearch writes before the search will be performed. This prevents getting outdated data. This will wait until all pending operations to Elasticsearch are complete. However, when there are a lot of operations pending, this could possibly wait forever. There should be a way to provide a timeout after which the search request is sent anyways.

This could be a setting that is configurable in the config and/or a query parameter for each request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.