File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ message GlobalUniqueIndex {
109
109
message GlobalVectorKMeansTreeIndex {
110
110
GlobalIndexSettings level_table_settings = 1 ;
111
111
GlobalIndexSettings posting_table_settings = 2 ;
112
+ GlobalIndexSettings prefix_table_settings = 4 ;
112
113
KMeansTreeSettings vector_settings = 3 ;
113
114
}
114
115
Original file line number Diff line number Diff line change @@ -2531,6 +2531,10 @@ TIndexDescription TIndexDescription::FromProto(const TProto& proto) {
2531
2531
const auto &vectorProto = proto.global_vector_kmeans_tree_index ();
2532
2532
globalIndexSettings.emplace_back (TGlobalIndexSettings::FromProto (vectorProto.level_table_settings ()));
2533
2533
globalIndexSettings.emplace_back (TGlobalIndexSettings::FromProto (vectorProto.posting_table_settings ()));
2534
+ const bool prefixVectorIndex = indexColumns.size () > 1 ;
2535
+ if (prefixVectorIndex) {
2536
+ globalIndexSettings.emplace_back (TGlobalIndexSettings::FromProto (vectorProto.prefix_table_settings ()));
2537
+ }
2534
2538
specializedIndexSettings = TKMeansTreeSettings::FromProto (vectorProto.vector_settings ());
2535
2539
break ;
2536
2540
}
You can’t perform that action at this time.
0 commit comments