When creating through CDK the OpenSearch index, assigning a metadata field to be non filterable in the code is not respected in the final deployment in console
Expected Behavior
When assigning a metadata field in OpenSearch through the construct deployment, to have the filterable field false as stated in the deployment code.
Current Behavior
When declaring in the sample AMAZON_BEDROCK_METADATA field, is expected to be not filterable through Knowledge Base metadata filters. Currently what happens is if we declare it false, the deployment automatically sets it to true as shown in the screenshot.
Describe the bug
When creating through CDK the OpenSearch index, assigning a metadata field to be non filterable in the code is not respected in the final deployment in console
Expected Behavior
When assigning a metadata field in OpenSearch through the construct deployment, to have the filterable field false as stated in the deployment code.
Current Behavior
When declaring in the sample
AMAZON_BEDROCK_METADATA
field, is expected to be not filterable through Knowledge Base metadata filters. Currently what happens is if we declare it false, the deployment automatically sets it to true as shown in the screenshot.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.155.0
Framework Version
build 34dcc5a
Node.js Version
Node 18
OS
Mac OS 14.5 (23F79)
Language
Python
Language Version
No response
Region experiencing the issue
us-east-1
Code modification
No, it does not apply for the current issue.
Other information
No response
Service quota