[Groonga-mysql-commit] mroonga/mroonga at c7d6fac [master] count_skip: Make the test case explicit that it's multi-column search.

Back to archive index

Fujimoto Seiji null+****@clear*****
Wed Dec 20 17:50:12 JST 2017


Fujimoto Seiji	2017-12-20 17:50:12 +0900 (Wed, 20 Dec 2017)

  New Revision: c7d6facbd421338f2749dcff32d54bd9012a374e
  https://github.com/mroonga/mroonga/commit/c7d6facbd421338f2749dcff32d54bd9012a374e

  Merged 0e28a82: Merge pull request #179 from fujimotos/sf/count-skip-on-multicol

  Message:
    count_skip: Make the test case explicit that it's multi-column search.
    
    Based on a feedback by kenhys! Thanks!

  Modified files:
    mysql-test/mroonga/storage/optimization/count_skip/full_text_index/r/multi_column_index.result
    mysql-test/mroonga/storage/optimization/count_skip/full_text_index/t/multi_column_index.test

  Modified: mysql-test/mroonga/storage/optimization/count_skip/full_text_index/r/multi_column_index.result (+1 -1)
===================================================================
--- mysql-test/mroonga/storage/optimization/count_skip/full_text_index/r/multi_column_index.result    2017-12-06 12:43:01 +0900 (fc660c07)
+++ mysql-test/mroonga/storage/optimization/count_skip/full_text_index/r/multi_column_index.result    2017-12-20 17:50:12 +0900 (be79893b)
@@ -11,7 +11,7 @@ INSERT INTO memos (title, content) VALUES ('Also on Mroonga', 'Mroonga is good.'
 INSERT INTO memos (title, content) VALUES ('Another memo', 'Mroonga is very good.');
 INSERT INTO memos (title, content) VALUES ('A reminder', 'Mroonga uses Groonga.');
 SELECT COUNT(*) FROM memos
-WHERE MATCH(title, content) AGAINST('+Groonga +More' IN BOOLEAN MODE);
+WHERE MATCH(title, content) AGAINST('+Groonga +reminder' IN BOOLEAN MODE);
 COUNT(*)
 1
 SHOW STATUS LIKE 'mroonga_count_skip';

  Modified: mysql-test/mroonga/storage/optimization/count_skip/full_text_index/t/multi_column_index.test (+1 -1)
===================================================================
--- mysql-test/mroonga/storage/optimization/count_skip/full_text_index/t/multi_column_index.test    2017-12-06 12:43:01 +0900 (994b7a35)
+++ mysql-test/mroonga/storage/optimization/count_skip/full_text_index/t/multi_column_index.test    2017-12-20 17:50:12 +0900 (9ffff50a)
@@ -35,7 +35,7 @@ INSERT INTO memos (title, content) VALUES ('Another memo', 'Mroonga is very good
 INSERT INTO memos (title, content) VALUES ('A reminder', 'Mroonga uses Groonga.');
 
 SELECT COUNT(*) FROM memos
- WHERE MATCH(title, content) AGAINST('+Groonga +More' IN BOOLEAN MODE);
+ WHERE MATCH(title, content) AGAINST('+Groonga +reminder' IN BOOLEAN MODE);
 
 SHOW STATUS LIKE 'mroonga_count_skip';
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20171220/fc114f81/attachment-0001.htm 



More information about the Groonga-mysql-commit mailing list
Back to archive index