
sunnavy at bestpractical
Feb 7, 2012, 12:53 AM
Post #1 of 1
(79 views)
Permalink
|
|
rt branch, 4.0/fts-mysql-multiple-queries, updated. rt-4.0.4-281-g63582c7
|
|
The branch, 4.0/fts-mysql-multiple-queries has been updated via 63582c77233510e54e34e865aeb78646c11e6783 (commit) from 0e04cd4861159f1231d82ab492048a9a443d9913 (commit) Summary of changes: t/fts/indexed_mysql.t | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) - Log ----------------------------------------------------------------- commit 63582c77233510e54e34e865aeb78646c11e6783 Author: sunnavy <sunnavy [at] bestpractical> Date: Tue Feb 7 15:33:36 2012 +0800 test of mutiple queries with not operator diff --git a/t/fts/indexed_mysql.t b/t/fts/indexed_mysql.t index 5a1e4fd..15eee54 100644 --- a/t/fts/indexed_mysql.t +++ b/t/fts/indexed_mysql.t @@ -14,7 +14,7 @@ $sphinx{'indexer'} = RT::Test->find_executable('indexer'); plan skip_all => "No searchd and indexer under PATH" unless $sphinx{'searchd'} && $sphinx{'indexer'}; -plan tests => 22; +plan tests => 24; RT->Config->Set( FullTextSearch => Enable => 1, Indexed => 1, Table => 'AttachmentsIndex', MaxMatches => 1000 ); @@ -127,6 +127,8 @@ run_tests( { book => 0, bar => 1, foobar => 1 }, "Content LIKE 'foo' AND Content LIKE 'bar' " => { book => 0, bar => 0, foobar => 1 }, + "Content NOT LIKE 'foo' AND Content LIKE 'bar' " => + { book => 0, bar => 1, foobar => 0 }, ); END { ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit [at] lists http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|