diff options
author | unknown <serg@serg.mylan> | 2003-10-14 16:19:13 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-14 16:19:13 +0200 |
commit | f19fff63c246d96dd2014f68506485d8e6f64cd9 (patch) | |
tree | a2edbe68efe7bba2d565d91c3815736888388112 /mysql-test | |
parent | 2e1115edc1b5899975c33b4367256ce650d3a0f4 (diff) | |
download | mariadb-git-f19fff63c246d96dd2014f68506485d8e6f64cd9.tar.gz |
"phrase search" should not match partial words (it should not match 'paraphrase searches')
myisam/ft_parser.c:
word definition moved to ftdefs.h
myisam/ftdefs.h:
word definition moved to ftdefs.h
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/fulltext.result | 3 | ||||
-rw-r--r-- | mysql-test/t/fulltext.test | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/r/fulltext.result b/mysql-test/r/fulltext.result index e2d35973383..83c77949e2c 100644 --- a/mysql-test/r/fulltext.result +++ b/mysql-test/r/fulltext.result @@ -119,7 +119,8 @@ a b MySQL has now support for full-text search select * from t1 where MATCH a,b AGAINST ('"text i"' IN BOOLEAN MODE); a b -Full-text indexes are called collections +select * from t1 where MATCH a,b AGAINST ('"xt indexes"' IN BOOLEAN MODE); +a b select * from t1 where MATCH a AGAINST ("search" IN BOOLEAN MODE); a b Full-text search in MySQL implements vector space model diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index 8c6bb97edf1..5e5d64ced82 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -58,6 +58,7 @@ select * from t1 where MATCH a,b AGAINST ('"text search" "now support"' IN BOOL select * from t1 where MATCH a,b AGAINST ('"text search" -"now support"' IN BOOLEAN MODE); select * from t1 where MATCH a,b AGAINST ('"text search" +"now support"' IN BOOLEAN MODE); select * from t1 where MATCH a,b AGAINST ('"text i"' IN BOOLEAN MODE); +select * from t1 where MATCH a,b AGAINST ('"xt indexes"' IN BOOLEAN MODE); # boolean w/o index: |