Merge pull request #503 from Yukikaze-CZR/0.6.0

#502 C++ SDK support IVFPQ and SPTAG
This commit is contained in:
Jin Hai 2019-11-23 18:08:13 +08:00 committed by GitHub
commit 0dc4fa900d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -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

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 {