Bug description I am trying to set up opensearch as a vector store for embeddings for RAG.

I have added the following dependencies

implementation "org.opensearch.client:spring-data-opensearch-starter:1.8.1"
implementation "org.opensearch.client:opensearch-java:2.25.0"

and this is how I configured the spring ai vector store properties.

spring:
    ai:
        vector-store:
            opensearch:
                initialize-schema: true
                uris: http://localhost:9200

I am running opensearch in a docker container locally. I have other indexes in this opensearch instance and already use it within the app, I just don't use it as a vector store yet so I'm confused why this can't connect to the same instance I am already using.

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in org.opensearch.spring.boot.autoconfigure.OpenSearchRestClientConfigurations$RestClientBuilderConfiguration required a bean of type 'org.opensearch.spring.boot.autoconfigure.OpenSearchConnectionDetails' that could not be found.


Action:

Consider defining a bean of type 'org.opensearch.spring.boot.autoconfigure.OpenSearchConnectionDetails' in your configuration.

Environment Java 21, Spring AI 1.0.0, Spring boot 3.5.3, Other dependencies listed above.

Comment From: dsarlo-viso

Additionally, even after providing a bean of type OpenSearchConnectionDetails, manually. The app still does not start and gives the same feedback