- Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Bug description
The value of spring.ai.vectorstore.elasticsearch.embedding-field-name is missed when configuring ElasticsearchVectorStore in ElasticsearchVectorStoreAutoConfiguration
Environment
Version 1.0.0
Steps to reproduce
- set
spring.ai.vectorstore.elasticsearch.embedding-field-nameto any value except 'embedding' - run application
- org.springframework.ai.vectorstore.elasticsearch.ElasticsearchVectorStoreOptions#embeddingFieldName is not set correctly
Expected behavior
org.springframework.ai.vectorstore.elasticsearch.ElasticsearchVectorStoreOptions#embeddingFieldName is set correctly to the spring.ai.vectorstore.elasticsearch.embedding-field-name property value.