mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 20:39:36 +08:00
#502 C++ SDK support IVFPQ and SPTAG
This commit is contained in:
parent
0097962642
commit
b2e37f1e94
@ -99,6 +99,12 @@ Utils::IndexTypeName(const milvus::IndexType& index_type) {
|
||||
return "NSG";
|
||||
case milvus::IndexType::IVFSQ8H:
|
||||
return "IVFSQ8H";
|
||||
case milvus::IndexType::IVFPQ:
|
||||
return "IVFPQ";
|
||||
case milvus::IndexType::SPTAGKDT:
|
||||
return "SPTAGKDT";
|
||||
case milvus::IndexType::SPTAGBKT:
|
||||
return "SPTAGBKT";
|
||||
default:
|
||||
return "Unknown index type";
|
||||
}
|
||||
|
@ -37,6 +37,9 @@ enum class IndexType {
|
||||
IVFSQ8 = 3,
|
||||
NSG = 4,
|
||||
IVFSQ8H = 5,
|
||||
IVFPQ = 6,
|
||||
SPTAGKDT = 7,
|
||||
SPTAGBKT = 8,
|
||||
};
|
||||
|
||||
enum class MetricType {
|
||||
|
Loading…
Reference in New Issue
Block a user