We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9c286 commit 959676dCopy full SHA for 959676d
src/java/org/apache/cassandra/index/sai/disk/v7/V7OnDiskFormat.java
@@ -39,6 +39,10 @@ public class V7OnDiskFormat extends V6OnDiskFormat
39
@Override
40
public Set<IndexComponentType> perIndexComponentTypes(AbstractType<?> validator)
41
{
42
+ // Vector types are technically "literal" (frozen) but should not have DOC_LENGTHS
43
+ // which is only for text search BM25 functionality
44
+ if (validator.isVector())
45
+ return super.perIndexComponentTypes(validator);
46
if (TypeUtil.isLiteral(validator))
47
return LITERAL_COMPONENTS;
48
return super.perIndexComponentTypes(validator);
0 commit comments