At the moment, it is not possible to configure SpringAI to use an existing index in the database. This commit enables the user to provide the index name for auto configuration or builder usage.
Comment From: tzolov
Thanks for the contribution @meistermeier ! will review it shortly.
Comment From: tzolov
Btw @meistermeier , would you be interested to explore the possibility to add filter expression support for the Neo4j store? - https://docs.spring.io/spring-ai/reference/api/vectordbs.html#_metadata_filters - https://github.com/spring-projects/spring-ai/tree/main/spring-ai-core/src/main/java/org/springframework/ai/vectorstore/filter
Comment From: meistermeier
I will have a look
Comment From: tzolov
I will have a look
Thanks! I'm closing this PR as merged, but created a related filter-expression issue here: https://github.com/spring-projects/spring-ai/issues/318
Comment From: tzolov
Rebased and merged at: 254b8632cd0a4235fd2d519ed2de51a70f6da841