Commit 13de7d8
committed
Set manageDocumentIds default to true for backward compatibility
The manageDocumentIds flag was initially set to false, which would
break existing users who rely on explicit document ID management.
This change sets the default to true to preserve the current behavior
for all existing OpenSearch users.
AWS OpenSearch Serverless users can explicitly opt-in by setting
manageDocumentIds(false) when they need auto-generated IDs due to
the platform's restrictions on custom document IDs.
This ensures backward compatibility while still providing the
flexibility needed for AWS Serverless environments.
Related: gh-3818
Signed-off-by: sanghun <[email protected]>1 parent a4acdec commit 13de7d8
File tree
1 file changed
+1
-0
lines changed- vector-stores/spring-ai-opensearch-store/src/main/java/org/springframework/ai/vectorstore/opensearch
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
0 commit comments