[Groonga-commit] groonga/groonga at 7f7c8e6 [master] doc html_untag: remove needless _key

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jun 28 12:52:33 JST 2013


Kouhei Sutou	2013-06-28 12:52:33 +0900 (Fri, 28 Jun 2013)

  New Revision: 7f7c8e6d30757364cf6fcde6d16a7fa916f09414
  https://github.com/groonga/groonga/commit/7f7c8e6d30757364cf6fcde6d16a7fa916f09414

  Message:
    doc html_untag: remove needless _key

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

  Modified: doc/source/example/reference/functions/html_untag/usage_html_untag.log (+1 -1)
===================================================================
--- doc/source/example/reference/functions/html_untag/usage_html_untag.log    2013-06-28 12:46:32 +0900 (dafa1a4)
+++ doc/source/example/reference/functions/html_untag/usage_html_untag.log    2013-06-28 12:52:33 +0900 (40d7d65)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select WebClips --output_columns "_key, html_untag(content)" --command_version 2
+  select WebClips --output_columns "html_untag(content)" --command_version 2
   # [
   #   [
   #     0, 

  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 12:46:32 +0900 (3f8fc4c)
+++ doc/source/example/reference/functions/html_untag/usage_setup_data.log    2013-06-28 12:52:33 +0900 (c3b05c0)
@@ -2,7 +2,7 @@ Execution example::
 
   load --table WebClips
   [
-  {"_key": 1, "url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class='emphasize'>fast</span>"},
-  {"_key": 2, "url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\"emphasize\">fast</span>"},
+  {"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>"},
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 2]

  Modified: doc/source/reference/functions/html_untag.txt (+3 -3)
===================================================================
--- doc/source/reference/functions/html_untag.txt    2013-06-28 12:46:32 +0900 (8351f6e)
+++ doc/source/reference/functions/html_untag.txt    2013-06-28 12:52:33 +0900 (b43edeb)
@@ -45,15 +45,15 @@ Sample data:
 .. include:: ../../example/reference/functions/html_untag/usage_setup_data.log
 .. load --table WebClips
 .. [
-.. {"_key": 1, "url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class='emphasize'>fast</span>"},
-.. {"_key": 2, "url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\"emphasize\">fast</span>"},
+.. {"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>"},
 .. ]
 
 Here is the simple usage of ``html_untag`` function which strips HTML tags from content of column.
 
 .. groonga-command
 .. include:: ../../example/reference/functions/html_untag/usage_html_untag.log
-.. select WebClips --output_columns "_key, html_untag(content)" --command_version 2
+.. select WebClips --output_columns "html_untag(content)" --command_version 2
 
 When executing the above query, you can see "span" tag with "class" attribute is stripped.
 Note that you must specify ``--command_version 2`` to use ``html_untag`` function.
-------------- next part --------------
HTML����������������������������...
Download 



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