Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Nov 12, 2024
1 parent d55b506 commit fddb9a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void testSmartcn_Tokenizer() {

@Test
public void testSmartcn_StopFilter() {
final TokenFilterDefinition analyzer = new TokenFilterDefinition.Builder().smartcn_stop(b -> b).build();
final TokenFilterDefinition analyzer = new TokenFilterDefinition.Builder().smartcnStop(b -> b).build();

String str = toJson(analyzer);
assertEquals("{\"type\":\"smartcn_stop\"}", str);
Expand Down

0 comments on commit fddb9a8

Please sign in to comment.