From 1415a5bd47bc70bbf9a9ff87770a8a548aa16b03 Mon Sep 17 00:00:00 2001 From: ryjiang Date: Tue, 26 Nov 2024 11:26:55 +0800 Subject: [PATCH] update keywordmatch test Signed-off-by: ryjiang --- test/grpc/KeywordMatch.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/grpc/KeywordMatch.spec.ts b/test/grpc/KeywordMatch.spec.ts index c18d8896..414121dc 100644 --- a/test/grpc/KeywordMatch.spec.ts +++ b/test/grpc/KeywordMatch.spec.ts @@ -39,7 +39,7 @@ const createCollectionParams = genCollectionParams({ is_partition_key: false, enable_analyzer: true, enable_match: true, - analyzer_params: { tokenizer: 'jieba' }, + analyzer_params: { type: 'english' }, }, ], }); @@ -89,7 +89,7 @@ describe(`Keyword match API`, () => { expect(enableMatch?.value).toEqual('true'); expect(enableAnalyzer?.value).toEqual('true'); expect(JSON.parse(analyzerParams?.value as any)).toEqual({ - tokenizer: 'jieba', + type: 'english', }); });