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
1. set spring.ai.vectorstore.elasticsearch.embedding-field-name
to any value except 'embedding'
2. run application
3. 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.