Skip to content

ElasticsearchVectorStoreProperties missing embeddingFieldName property mapping #3500

@9uanhuo

Description

@9uanhuo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions