This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT!spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file.
Refer to the Repositories section to add Milestone and/or Snapshot Repositories to your build file.
this is a breaking change! In earlier versions of Spring AI, this schema initialization happened by default.
If you have an existing Atlas Vector Search index called vector_index on the springai_test.vector_store collection, Spring AI won’t create an additional index. Because of this, you might experience errors later if the existing index was configured with incompatible settings, such as a different number of dimensions.
Property Description Default value

spring.ai.vectorstore.mongodb.collection-namespring-doc.cn

The name of the collection to store the vectors.spring-doc.cn

vector_storespring-doc.cn

spring.ai.vectorstore.mongodb.initialize-schemaspring-doc.cn

whether to initialize the backend schema for youspring-doc.cn

falsespring-doc.cn

spring.ai.vectorstore.mongodb.path-namespring-doc.cn

The name of the path to store the vectors.spring-doc.cn

embeddingspring-doc.cn

spring.ai.vectorstore.mongodb.indexNamespring-doc.cn

The name of the index to store the vectors.spring-doc.cn

vector_indexspring-doc.cn