[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [doc] fix wrong execution result.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:35:52 JST 2012


Kouhei Sutou	2012-01-07 13:23:37 +0900 (Sat, 07 Jan 2012)

  New Revision: 03b8f32464d987e200daf4cc62c49286bb386aca
  https://github.com/mroonga/mroonga/commit/03b8f32464d987e200daf4cc62c49286bb386aca

  Log:
    [doc] fix wrong execution result.
    
    Reported by Hidekazu Tanaka. Thanks!!!

  Modified files:
    doc/source/userguide/storage.rst
    doc/source/userguide/wrapper.rst

  Modified: doc/source/userguide/storage.rst (+7 -7)
===================================================================
--- doc/source/userguide/storage.rst    2012-01-06 15:59:50 +0900 (4c73892)
+++ doc/source/userguide/storage.rst    2012-01-07 13:23:37 +0900 (b0bf895)
@@ -71,13 +71,13 @@ The result having the search word ``晴れ`` more, i.e. ``id = 3`` message havin
 You can use ``AS`` to change the attribute name. ::
 
   mysql> SELECT *, MATCH (content) AGAINST ("晴れ") AS score FROM diaries WHERE MATCH (content) AGAINST ("晴れ") ORDER BY MATCH (content) AGAINST ("晴れ") DESC;
-  +----+--------------------------------------------------------------+------------------------------------+
-  | id | content                                                      | MATCH (content) AGAINST ("晴れ") |
-  +----+--------------------------------------------------------------+------------------------------------+
-  |  3 | 今日は晴れました。明日も晴れるでしょう。 |                                  2 |
-  |  1 | 明日の天気は晴れでしょう。                      |                                  1 |
-  |  4 | 今日は晴れましたが、明日は雨でしょう。    |                                  1 |
-  +----+--------------------------------------------------------------+------------------------------------+
+  +----+--------------------------------------------------------------+-------+
+  | id | content                                                      | score |
+  +----+--------------------------------------------------------------+-------+
+  |  3 | 今日は晴れました。明日も晴れるでしょう。 |     2 |
+  |  1 | 明日の天気は晴れでしょう。                      |     1 |
+  |  4 | 今日は晴れましたが、明日は雨でしょう。    |     1 |
+  +----+--------------------------------------------------------------+-------+
   3 rows in set (0.00 sec)
 
 How to specify the parser for full text search

  Modified: doc/source/userguide/wrapper.rst (+7 -7)
===================================================================
--- doc/source/userguide/wrapper.rst    2012-01-06 15:59:50 +0900 (f9dda6b)
+++ doc/source/userguide/wrapper.rst    2012-01-07 13:23:37 +0900 (4ef491b)
@@ -81,13 +81,13 @@ The result having the search word ``晴れ`` more, i.e. ``id = 3`` message havin
 You can use ``AS`` to change the attribute name. ::
 
   mysql> SELECT *, MATCH (content) AGAINST ("晴れ") AS score FROM diaries WHERE MATCH (content) AGAINST ("晴れ") ORDER BY MATCH (content) AGAINST ("晴れ") DESC;
-  +----+--------------------------------------------------------------+------------------------------------+
-  | id | content                                                      | MATCH (content) AGAINST ("晴れ") |
-  +----+--------------------------------------------------------------+------------------------------------+
-  |  3 | 今日は晴れました。明日も晴れるでしょう。 |                                  2 |
-  |  1 | 明日の天気は晴れでしょう。                      |                                  1 |
-  |  4 | 今日は晴れましたが、明日は雨でしょう。    |                                  1 |
-  +----+--------------------------------------------------------------+------------------------------------+
+  +----+--------------------------------------------------------------+-------+
+  | id | content                                                      | score |
+  +----+--------------------------------------------------------------+-------+
+  |  3 | 今日は晴れました。明日も晴れるでしょう。 |     2 |
+  |  1 | 明日の天気は晴れでしょう。                      |     1 |
+  |  4 | 今日は晴れましたが、明日は雨でしょう。    |     1 |
+  +----+--------------------------------------------------------------+-------+
   3 rows in set (0.00 sec)
 
 How to specify the parser for full text search
-------------- next part --------------
HTML����������������������������...
Download 



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