CassandraRelevantProperties
许多系统属性都有默认值。但我无法将它们与 cassandra.yaml
文件中的设置链接。特别是,我想将 SAI_VECTOR_ALLOW_CUSTOM_PARAMETERS
设置为 true 来配置向量索引。我可以使用任何配置文件来做到这一点而不重建 cassandra 吗?
使用
CassandraRelevantProperties
,改变的是在代码库中访问系统属性的方式,但在执行过程时它们仍然作为系统属性传递,请参阅https://docs.datastax.com/en/dse/6.8/docs /管理/配置/cassandra-system-properties.html。如果您要更改 cassandra.yaml
的内容,请确保通过 -Dcassandra.config 传递正确的位置并重新启动节点。
我无法在 Cassandra 的系统属性或
cassandra.yaml
中找到对 SAI_VECTOR_ALLOW_CUSTOM_PARAMETERS 的引用,所以我不确定此配置会去哪里或看起来像什么。