Skip to content

Conversation

rdettai
Copy link
Collaborator

@rdettai rdettai commented Apr 3, 2024

Description

Add an index update endpoint. For this first version, only search_settings and retetention_policy can be configured.

Notes:

How was this PR tested?

This PR has a good unit test coverage. The fact that search_settings updates are immediately taken into account is covered by an integration test.

I also tested that the openapi spec is correctly rendered by swagger

@rdettai rdettai changed the title wip: buildable service wiring Index update Apr 3, 2024
@rdettai rdettai self-assigned this Apr 3, 2024
@rdettai rdettai changed the title Index update Index configuration update Apr 3, 2024
@rdettai rdettai force-pushed the index-update branch 3 times, most recently from 22b84ef to fd98be6 Compare April 8, 2024 13:39
@rdettai rdettai marked this pull request as ready for review April 9, 2024 13:22
@rdettai rdettai requested a review from guilload April 9, 2024 15:03
@rdettai rdettai force-pushed the index-update branch 2 times, most recently from edcbcfe to 97ae2d9 Compare April 10, 2024 07:40
@rdettai rdettai force-pushed the index-update branch 3 times, most recently from fa710dc to 4786f12 Compare April 11, 2024 09:29
Copy link
Collaborator Author

@rdettai rdettai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regarding the mutate_index_metadata refactoring commit:

@rdettai rdettai requested a review from guilload April 11, 2024 09:34
@rdettai rdettai merged commit ec88657 into main Apr 15, 2024
@rdettai rdettai deleted the index-update branch April 15, 2024 12:42
@dtherhtun
Copy link

what has happened to this PR. right now I couldn't update retention policy in existing index like this quickwit index update retention-policy --index otel-traces-v0_7 --period "7 days" --schedule "daily"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuring retention settings for the automatic indexes (e.g. otel-logs-v0_X) Add REST endpoint to update index config
3 participants