mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Remove unused function (#2029)
* [skip ci] Remove unused function Signed-off-by: shanghaikid <jiangruiyi@gmail.com> Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com> * remove unused function in utils.cpp Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
This commit is contained in:
parent
72cae5221c
commit
a3e4d29af6
@ -221,12 +221,6 @@ IsRawIndexType(int32_t type) {
|
||||
return (type == (int32_t)EngineType::FAISS_IDMAP) || (type == (int32_t)EngineType::FAISS_BIN_IDMAP);
|
||||
}
|
||||
|
||||
bool
|
||||
IsBinaryIndexType(int32_t index_type) {
|
||||
return (index_type == (int32_t)engine::EngineType::FAISS_BIN_IDMAP) ||
|
||||
(index_type == (int32_t)engine::EngineType::FAISS_BIN_IVFFLAT);
|
||||
}
|
||||
|
||||
bool
|
||||
IsBinaryMetricType(int32_t metric_type) {
|
||||
return (metric_type == (int32_t)engine::MetricType::HAMMING) ||
|
||||
|
||||
@ -48,9 +48,6 @@ IsSameIndex(const CollectionIndex& index1, const CollectionIndex& index2);
|
||||
bool
|
||||
IsRawIndexType(int32_t type);
|
||||
|
||||
static bool
|
||||
IsBinaryIndexType(int32_t index_type);
|
||||
|
||||
bool
|
||||
IsBinaryMetricType(int32_t metric_type);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user