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 {
109109message GlobalVectorKMeansTreeIndex {
110110 GlobalIndexSettings level_table_settings = 1 ;
111111 GlobalIndexSettings posting_table_settings = 2 ;
112+ GlobalIndexSettings prefix_table_settings = 4 ;
112113 KMeansTreeSettings vector_settings = 3 ;
113114}
114115
Original file line number Diff line number Diff line change @@ -2531,6 +2531,10 @@ TIndexDescription TIndexDescription::FromProto(const TProto& proto) {
25312531 const auto &vectorProto = proto.global_vector_kmeans_tree_index ();
25322532 globalIndexSettings.emplace_back (TGlobalIndexSettings::FromProto (vectorProto.level_table_settings ()));
25332533 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+ }
25342538 specializedIndexSettings = TKMeansTreeSettings::FromProto (vectorProto.vector_settings ());
25352539 break ;
25362540 }
You can’t perform that action at this time.
0 commit comments