Currently "CreateCollection" only takes VectorSearchDesc that contains 2 things to optionally configure:
source_model: values like ada002, bert
metric (was: "function", in C "similarity_function"): values like dot_product, cosine, euclidean
There are more options that can be added, listed here:
https://github.com/datastax/cassandra/blob/main/src/java/org/apache/cassandra/index/sai/VECTOR.md?plain=1#L18
and some if not all should be added:
maximum_node_connections (default: 16)
construction_beam_width (default: 100)
neighborhood_overflow (default: 1.0 in memtable, 1.2 in compaction)
alpha (default: dimension > 3 gets 1.2. Otherwise, 2.0 in memtable, 1.4 in compaction)
enable_hierarchy (default: false)
EDIT: looks like DSE-6.9 does NOT support these maximum_node_connections, construction_beam_width
or enable_hierarchy options (and probably not others either), only HCD does?
Not sure how to proceed.
Currently "CreateCollection" only takes
VectorSearchDescthat contains 2 things to optionally configure:source_model: values likeada002,bertmetric(was: "function", in C "similarity_function"): values likedot_product,cosine,euclideanThere are more options that can be added, listed here:
https://github.com/datastax/cassandra/blob/main/src/java/org/apache/cassandra/index/sai/VECTOR.md?plain=1#L18
and some if not all should be added:
maximum_node_connections(default: 16)construction_beam_width(default: 100)neighborhood_overflow(default: 1.0 in memtable, 1.2 in compaction)alpha(default: dimension > 3 gets 1.2. Otherwise, 2.0 in memtable, 1.4 in compaction)enable_hierarchy(default: false)EDIT: looks like DSE-6.9 does NOT support these
maximum_node_connections,construction_beam_widthor
enable_hierarchyoptions (and probably not others either), only HCD does?Not sure how to proceed.