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

[Searchable Snapshot] Finalize behavior of settings API #4966

Closed
Tracked by #5087
andrross opened this issue Oct 28, 2022 · 2 comments · Fixed by #5907
Closed
Tracked by #5087

[Searchable Snapshot] Finalize behavior of settings API #4966

andrross opened this issue Oct 28, 2022 · 2 comments · Fixed by #5907
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Indexing & Search

Comments

@andrross
Copy link
Member

Currently, searchable snapshots disallow all settings updates. I think we’ll need to be smarter here and allow some settings to be writable whereas others not. For example, most (all?) search-related settings (e.g. “index.max_result_window”) should be configurable, whereas all write-related settings should not be allowed to change (e.g. “index.refresh_interval”). This logic applies to both changing settings of an existing searchable snapshot index (e.g. PUT myindex/_settings) as well as when specifying the “settings” parameter when creating a searchable snapshot index via the restore API.

@andrross andrross added enhancement Enhancement or improvement to existing feature or request Indexing & Search labels Oct 28, 2022
@adnapibar
Copy link
Contributor

@andrross Do we have a list of settings which we would want to be updatable? Not sure if there is documentation on such (search/indexing) categorization?

@andrross
Copy link
Member Author

andrross commented Jan 11, 2023

@adnapibar There's no list. Part of this task is to figure it out :)

Looking at what AWS UltraWarm allows to be updated is probably a good place to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing & Search
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants