Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:30:00 JST 2012
Kouhei Sutou 2011-09-25 20:41:58 +0900 (Sun, 25 Sep 2011) New Revision: 86ca93114b412cf0731a9d4e32d8923440238fc5 https://github.com/mroonga/mroonga/commit/86ca93114b412cf0731a9d4e32d8923440238fc5 Log: [wrapper][test] readd a removed test. It doesn't have match against conditions in selected columns. Modified files: test/sql/groonga_wrapper/r/fulltext_multiple_index.result test/sql/groonga_wrapper/t/fulltext_multiple_index.test Modified: test/sql/groonga_wrapper/r/fulltext_multiple_index.result (+5 -0) =================================================================== --- test/sql/groonga_wrapper/r/fulltext_multiple_index.result 2011-09-25 20:39:49 +0900 (993ab87) +++ test/sql/groonga_wrapper/r/fulltext_multiple_index.result 2011-09-25 20:41:58 +0900 (20ca878) @@ -19,6 +19,11 @@ diaries CREATE TABLE `diaries` ( insert into diaries (title, body) values ("survey", "will start groonga!"); insert into diaries (title, body) values ("groonga (1)", "starting groonga..."); insert into diaries (title, body) values ("groonga (2)", "started groonga."); +select * from diaries +where match(title) against("survey") and +match(body) against("groonga"); +id title body +1 survey will start groonga! select *, match(title) against("survey"), match(body) against("groonga") from diaries where match(title) against("survey") and Modified: test/sql/groonga_wrapper/t/fulltext_multiple_index.test (+4 -0) =================================================================== --- test/sql/groonga_wrapper/t/fulltext_multiple_index.test 2011-09-25 20:39:49 +0900 (cc88083) +++ test/sql/groonga_wrapper/t/fulltext_multiple_index.test 2011-09-25 20:41:58 +0900 (e166989) @@ -33,6 +33,10 @@ insert into diaries (title, body) values ("survey", "will start groonga!"); insert into diaries (title, body) values ("groonga (1)", "starting groonga..."); insert into diaries (title, body) values ("groonga (2)", "started groonga."); +select * from diaries + where match(title) against("survey") and + match(body) against("groonga"); + select *, match(title) against("survey"), match(body) against("groonga") from diaries where match(title) against("survey") and -------------- next part -------------- HTML����������������������������...Download