Skip to content

Conversation

@sobychacko
Copy link
Contributor

Fixes: #1949

  • Rename 'disallowSchemaChanges(boolean)' to 'initializeSchema(boolean)' for consistency with other vector store implementations
  • Maintain semantic meaning by inverting the default value (from disallowSchemaChanges=false to initializeSchema=true) in the CassandraVectorStore implementation
  • Keep default behavior in auto-configuration consistent with other vector stores
  • Remove unused 'returnEmbeddings' functionality and related code
  • Update test cases to use the new initialization parameter
  • Ref docs and javadocs updates

This change improves API consistency across Spring AI vector stores while preserving the same behavior in the Cassandra implementation.

@sobychacko sobychacko added this to the 1.0.0-RC1 milestone May 12, 2025
…her vector stores

Fixes: spring-projects#1949

- Rename 'disallowSchemaChanges(boolean)' to 'initializeSchema(boolean)' for consistency
  with other vector store implementations
- Maintain semantic meaning by inverting the default value (from disallowSchemaChanges=false
  to initializeSchema=true) in the CassandraVectorStore implementation
- Keep default behavior in auto-configuration consistent with other vector stores
- Remove unused 'returnEmbeddings' functionality and related code
- Update test cases to use the new initialization parameter
- Ref docs and javadocs updates

This change improves API consistency across Spring AI vector stores while
preserving the same behavior in the Cassandra implementation.

Signed-off-by: Soby Chacko <[email protected]>
@markpollack
Copy link
Member

merged in 868e288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate consistency in Cassandra Autoconfiguration and Builder

2 participants