mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
Merge pull request #503 from Yukikaze-CZR/0.6.0
#502 C++ SDK support IVFPQ and SPTAG
This commit is contained in:
commit
0dc4fa900d
@ -30,6 +30,7 @@ Please mark all change in change log and use the ticket from JIRA.
|
||||
- \#227 - Support new index types SPTAG-KDT and SPTAG-BKT
|
||||
- \#346 - Support build index with multiple gpu
|
||||
- \#488 - Add log in scheduler/optimizer
|
||||
- \#502 - C++ SDK support IVFPQ and SPTAG
|
||||
|
||||
## Improvement
|
||||
- \#255 - Add ivfsq8 test report detailed version
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user