spring-projects / spring-projects/spring-ai
vectorstore pgvector support specify datasource host
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
pgvector support specify url\host such as
vectorstore:
chroma:
initialize-schema: true
client:
host: ${CHROMA_HOST:http://192.168.18.64}
port: ${CHROMA_PORT:8000}
In my scenario, MySQL is used for business-related and pgvector is used for vectors, but PgVectorStoreAutoConfiguration directly use JdbcTemplate, hoping to be configured separately like other Chroma instead of' spring.datasource'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading PgVectorStoreAutoConfiguration and how its JdbcTemplate is obtained, then compare that with the Chroma client configuration shown in the issue. Done means pgvector can use a separately configured datasource or connection while the application's spring.datasource remains available for MySQL business data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql, spring
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100