Skip to content

Commit

Permalink
update keywordmatch test
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Nov 26, 2024
1 parent 5f70d3c commit 1415a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/grpc/KeywordMatch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
},
],
});
Expand Down Expand Up @@ -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',
});
});

Expand Down

0 comments on commit 1415a5b

Please sign in to comment.