[Groonga-commit] groonga/groonga at 51a17e7 [master] doc html_untag: remove unused columns

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jun 28 14:04:14 JST 2013


Kouhei Sutou	2013-06-28 14:04:14 +0900 (Fri, 28 Jun 2013)

  New Revision: 51a17e788259678e67b0954d8938b9cd59933673
  https://github.com/groonga/groonga/commit/51a17e788259678e67b0954d8938b9cd59933673

  Message:
    doc html_untag: remove unused columns

  Modified files:
    doc/source/example/reference/functions/html_untag/usage_setup_data.log
    doc/source/example/reference/functions/html_untag/usage_setup_schema.log
    doc/source/reference/functions/html_untag.txt

  Modified: doc/source/example/reference/functions/html_untag/usage_setup_data.log (+2 -2)
===================================================================
--- doc/source/example/reference/functions/html_untag/usage_setup_data.log    2013-06-28 14:02:14 +0900 (c3b05c0)
+++ doc/source/example/reference/functions/html_untag/usage_setup_data.log    2013-06-28 14:04:14 +0900 (38807fd)
@@ -2,7 +2,7 @@ Execution example::
 
   load --table WebClips
   [
-  {"url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class='emphasize'>fast</span>"},
-  {"url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\"emphasize\">fast</span>"},
+  {"_key": "http://groonga.org", "content": "groonga is <span class='emphasize'>fast</span>"},
+  {"_key": "http://mroonga.org", "content": "mroonga is <span class=\"emphasize\">fast</span>"},
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 2]

  Modified: doc/source/example/reference/functions/html_untag/usage_setup_schema.log (+1 -5)
===================================================================
--- doc/source/example/reference/functions/html_untag/usage_setup_schema.log    2013-06-28 14:02:14 +0900 (e909db9)
+++ doc/source/example/reference/functions/html_untag/usage_setup_schema.log    2013-06-28 14:04:14 +0900 (b3529a7)
@@ -1,10 +1,6 @@
 Execution example::
 
-  table_create WebClips TABLE_NO_KEY
-  # [[0, 1337566253.89858, 0.000355720520019531], true]
-  column_create WebClips url COLUMN_SCALAR ShortText
+  table_create WebClips TABLE_HASH_KEY ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create WebClips content COLUMN_SCALAR ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  column_create WebClips tag COLUMN_VECTOR ShortText
-  # [[0, 1337566253.89858, 0.000355720520019531], true]

  Modified: doc/source/reference/functions/html_untag.txt (+3 -5)
===================================================================
--- doc/source/reference/functions/html_untag.txt    2013-06-28 14:02:14 +0900 (e204a96)
+++ doc/source/reference/functions/html_untag.txt    2013-06-28 14:04:14 +0900 (6475c96)
@@ -41,10 +41,8 @@ Sample schema:
 
 .. groonga-command
 .. include:: ../../example/reference/functions/html_untag/usage_setup_schema.log
-.. table_create WebClips TABLE_NO_KEY
-.. column_create WebClips url COLUMN_SCALAR ShortText
+.. table_create WebClips TABLE_HASH_KEY ShortText
 .. column_create WebClips content COLUMN_SCALAR ShortText
-.. column_create WebClips tag COLUMN_VECTOR ShortText
 
 Sample data:
 
@@ -52,8 +50,8 @@ Sample data:
 .. include:: ../../example/reference/functions/html_untag/usage_setup_data.log
 .. load --table WebClips
 .. [
-.. {"url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class='emphasize'>fast</span>"},
-.. {"url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\"emphasize\">fast</span>"},
+.. {"_key": "http://groonga.org", "content": "groonga is <span class='emphasize'>fast</span>"},
+.. {"_key": "http://mroonga.org", "content": "mroonga is <span class=\"emphasize\">fast</span>"},
 .. ]
 
 Here is the simple usage of ``html_untag`` function which strips HTML tags from content of column.
-------------- next part --------------
HTML����������������������������...
Download 



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