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

[DOC] refresh index: clarify whether the HTTP request returns immediately or waits for the refresh to finish #8748

Open
1 of 4 tasks
rursprung opened this issue Nov 14, 2024 · 1 comment
Labels
API documentation ingestion search-and-query Issue: Issues related to search and query features

Comments

@rursprung
Copy link
Contributor

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request.
the refresh index documentation states that an API call will trigger a refresh of the index (what a surprise). what it doesn't say is whether the HTTP request will just trigger this and return immediately or whether the request will only return once the refresh is done. in the latter case one can issue that request and wait for it to terminate and be sure that the refresh is then done, in the former case one has to wait an unknown amount of time.

other APIs which allow triggering a refresh (e.g. the refresh parameter in index document) force the API call to only terminate once the refresh is done.

it'd be good if the documentation of the refresh API clearly states which behaviour this API has.
i'd presume that it waits for the refresh to finish but have neither tested this nor looked at the code.

Version: n/a (all of them)

What other resources are available? n/a

@dblock dblock added documentation API search-and-query Issue: Issues related to search and query features ingestion and removed untriaged labels Dec 2, 2024
@dblock
Copy link
Member

dblock commented Dec 2, 2024

[Catch All Triage - 1, 2, 3]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API documentation ingestion search-and-query Issue: Issues related to search and query features
Projects
None yet
Development

No branches or pull requests

2 participants