We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb18563 commit e9fe3ceCopy full SHA for e9fe3ce
packages/createIndexFunction/app.py
@@ -33,7 +33,7 @@ def get_opensearch_client(endpoint):
33
)
34
35
36
-def wait_for_index_aoss(opensearch_client, index_name, timeout=60, poll_interval=3):
+def wait_for_index_aoss(opensearch_client, index_name, timeout=180, poll_interval=3):
37
"""
38
Wait until the index exists in OpenSearch Serverless (AOSS).
39
AOSS does not support cluster health checks, so existence == ready.
@@ -85,11 +85,11 @@ def create_and_wait_for_index(client, index_name):
85
},
86
"AMAZON_BEDROCK_METADATA": {
87
"type": "text",
88
- "index": "false",
+ "index": False,
89
90
"AMAZON_BEDROCK_TEXT_CHUNK": {
91
92
- "index": "true",
+ "index": True,
93
94
}
95
0 commit comments