Add annoy index type in C++ sdk (#1826)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/1835/head
yukun 2020-04-01 18:46:57 +08:00 committed by GitHub
parent 68625cbf1c
commit c30a394805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Please mark all change in change log and use the issue from GitHub
## Feature
- \#1655 GPU index support delete vectors
- \#1825 Add annoy index type in C++ sdk
## Improvement

View File

@ -94,6 +94,8 @@ Utils::IndexTypeName(const milvus::IndexType& index_type) {
case milvus::IndexType::IVFPQ:return "IVFPQ";
case milvus::IndexType::SPTAGKDT:return "SPTAGKDT";
case milvus::IndexType::SPTAGBKT:return "SPTAGBKT";
case milvus::IndexType::HNSW:return "HNSW";
case milvus::IndexType::ANNOY:return "ANNOY";
default:return "Unknown index type";
}
}

View File

@ -35,6 +35,7 @@ enum class IndexType {
SPTAGKDT = 7,
SPTAGBKT = 8,
HNSW = 11,
ANNOY = 12,
};
enum class MetricType {