diff --git a/unittest/AsyncIndex.h b/unittest/AsyncIndex.h index dbff9dfb1..c55d2b71c 100644 --- a/unittest/AsyncIndex.h +++ b/unittest/AsyncIndex.h @@ -70,6 +70,11 @@ class AsyncIndex : public VecIndex { KNOWHERE_THROW_FORMAT("Invalid index type %s", std::string(type).c_str()); } } + bool + Prepare(const Config& config) { + return index_->Prepare(config); + } + #endif std::vector>&