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

feature: opensearch: allow disable modify refresh_interval #2981

Open
AvihaiSam opened this issue Oct 1, 2024 · 0 comments
Open

feature: opensearch: allow disable modify refresh_interval #2981

AvihaiSam opened this issue Oct 1, 2024 · 0 comments
Labels

Comments

@AvihaiSam
Copy link

Is your feature request related to a problem? Please describe.
I tried to use index_docuements and failed with 403 since OS role didn't allow indices:admin/settings/update, which is needed for chenging index settings (like refresh_interval)
another thing is that the current implementation might cause the actual refresh interval to get stuck at -1 (disabled) due to race condition issues with multiple workers.

Describe the solution you'd like
argument in index_docuemens() which allows disabling this behavior

Describe alternatives you've considered
using opensearch-py's api directly

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

No branches or pull requests

1 participant