From 1358e6197721ea45f114d553da1ee951a3535256 Mon Sep 17 00:00:00 2001 From: yzq <58433399+yangzq50@users.noreply.github.com> Date: Thu, 31 Oct 2024 19:54:01 +0800 Subject: [PATCH] add test --- test/sql/dql/fulltext/fulltext_minimum_should_match.slt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/sql/dql/fulltext/fulltext_minimum_should_match.slt b/test/sql/dql/fulltext/fulltext_minimum_should_match.slt index 227aefeb6..5851504ad 100644 --- a/test/sql/dql/fulltext/fulltext_minimum_should_match.slt +++ b/test/sql/dql/fulltext/fulltext_minimum_should_match.slt @@ -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'); ----