Skip to content

feature: opensearch: allow disable modify refresh_interval #2981

@AvihaiSam

Description

@AvihaiSam

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 changing 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions