aws / aws-sdk-pandas

pandas on AWS - Easy integration with Athena, Glue, Redshift, Timestream, Neptune, OpenSearch, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).
https://aws-sdk-pandas.readthedocs.io
Apache License 2.0
3.94k stars 701 forks source link

feature: opensearch: allow disable modify refresh_interval #2981

Closed AvihaiSam closed 1 month ago

AvihaiSam commented 1 month ago

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