mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 02:05:41 +00:00
test: fix TextMatchIndex fuzzy test constructor (#51169)
issue: https://github.com/milvus-io/milvus/issues/51054 Signed-off-by: SpadeA <tangchenjie1210@gmail.com>
This commit is contained in:
@@ -348,7 +348,8 @@ TEST(TextMatch, FuzzyIndex) {
|
||||
auto index = std::make_unique<Index>(std::numeric_limits<int64_t>::max(),
|
||||
"unique_id",
|
||||
"milvus_tokenizer",
|
||||
"{}");
|
||||
"{}",
|
||||
/*enable_background_merge=*/false);
|
||||
index->CreateReader(milvus::index::SetBitsetSealed);
|
||||
index->AddTextSealed("football, basketball, pingpang", true, 0);
|
||||
index->AddTextSealed("", false, 1);
|
||||
|
||||
Reference in New Issue
Block a user