#502 C++ SDK support IVFPQ and SPTAG

This commit is contained in:
Yukikaze-CZR 2019-11-23 15:37:36 +08:00
parent 0097962642
commit b2e37f1e94
2 changed files with 9 additions and 0 deletions

View File

@ -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";
}

View File

@ -37,6 +37,9 @@ enum class IndexType {
IVFSQ8 = 3,
NSG = 4,
IVFSQ8H = 5,
IVFPQ = 6,
SPTAGKDT = 7,
SPTAGBKT = 8,
};
enum class MetricType {