diff --git a/core/src/db/Utils.cpp b/core/src/db/Utils.cpp index b79305220bed4f23a8862a7c081082dc0624642f..a862c03ef441b1561ddb950f5ee8058ea447b603 100644 --- a/core/src/db/Utils.cpp +++ b/core/src/db/Utils.cpp @@ -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) || diff --git a/core/src/db/Utils.h b/core/src/db/Utils.h index b57167295e4f796064a2ae0fa8bb1644cffb868d..589ef060c7a69d569736b19d3663541301c5f574 100644 --- a/core/src/db/Utils.h +++ b/core/src/db/Utils.h @@ -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);