Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzq50 committed Oct 31, 2024
1 parent b7d5f3e commit 1358e61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sql/dql/fulltext/fulltext_minimum_should_match.slt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ SELECT *, SCORE() FROM ft_minimum_should_match SEARCH MATCH TEXT ('doc', 'second
4 another second text xxx 1.079068
1 first text 0.366141

query I
SELECT *, SCORE() FROM ft_minimum_should_match SEARCH MATCH TEXT ('doc', 'second text multiple', 'topn=10;similarity=boolean;threshold=1.5');
----
2 second text multiple 3.000000
4 another second text xxx 2.000000

query I
SELECT * FROM ft_minimum_should_match WHERE filter_fulltext('doc', 'second text', 'threshold=0.3');
----
Expand Down

0 comments on commit 1358e61

Please sign in to comment.