[Groonga-commit] groonga/groonga [master] doc: add more description for execution examples

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Nov 30 17:36:53 JST 2012


HAYASHI Kentaro	2012-11-30 17:36:53 +0900 (Fri, 30 Nov 2012)

  New Revision: 734bf9c8ba173392f5910abd2126857f65cca334
  https://github.com/groonga/groonga/commit/734bf9c8ba173392f5910abd2126857f65cca334

  Log:
    doc: add more description for execution examples

  Modified files:
    doc/locale/en/LC_MESSAGES/tutorial.po
    doc/locale/ja/LC_MESSAGES/tutorial.po
    doc/source/tutorial/match_columns.txt

  Modified: doc/locale/en/LC_MESSAGES/tutorial.po (+16 -8)
===================================================================
--- doc/locale/en/LC_MESSAGES/tutorial.po    2012-11-30 18:43:25 +0900 (fe67d36)
+++ doc/locale/en/LC_MESSAGES/tutorial.po    2012-11-30 17:36:53 +0900 (851a015)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: groonga 2.0.5\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-11-30 16:30\n"
+"POT-Creation-Date: 2012-11-30 17:21\n"
 "PO-Revision-Date: 2012-07-23 17:58+0900\n"
 "Last-Translator: Kouhei Sutou <kou �� clear-code.com>\n"
 "Language-Team: English\n"
@@ -131,12 +131,12 @@ msgstr ""
 #: ../../../source/example/tutorial/match_columns-2.log:1
 #: ../../../source/example/tutorial/match_columns-3.log:1
 #: ../../../source/example/tutorial/match_columns-4.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-data.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-data2.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-schema.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-schema2.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-select.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-select2.log:1
 #: ../../../source/example/tutorial/micro_blog-1.log:1
 #: ../../../source/example/tutorial/micro_blog-10.log:1
 #: ../../../source/example/tutorial/micro_blog-2.log:1
@@ -1670,7 +1670,7 @@ msgstr "インデックス名を指定した全文検索"
 # 7026bc5fc11740ada2580bcbb5fdf4f4
 # b11d8defd8b34f29a5742f36c5d99504
 #: ../../../source/tutorial/match_columns.txt:82
-#: ../../../source/tutorial/match_columns.txt:214
+#: ../../../source/tutorial/match_columns.txt:216
 msgid "執筆中です。"
 msgstr "執筆中です。"
 
@@ -1789,12 +1789,20 @@ msgstr ""
 # f1ca7a8f0e9145b8b218475e8076933a
 #: ../../../source/tutorial/match_columns.txt:209
 msgid ""
-"As a result, the first query matches two article, but the second one matches "
-"one article only."
+"As a result, the first query matches two article because of Comments2 table "
+"has two records which contains 'mroonga' as keyword."
+msgstr ""
+
+# 9d0f6ed0ce5d43d5971ec972769b086b
+#: ../../../source/tutorial/match_columns.txt:211
+msgid ""
+"On the other hand, the second one matches one article only because of "
+"Replies2 table has only one record which contains 'mroonga' as keyword, and "
+"there is one record which contains same keyword in Comments2 table."
 msgstr ""
 
 # 134cc02862134fd7b615c8e26031984d
-#: ../../../source/tutorial/match_columns.txt:212
+#: ../../../source/tutorial/match_columns.txt:214
 msgid "インデックスの重み"
 msgstr "インデックスの重み"
 

  Modified: doc/locale/ja/LC_MESSAGES/tutorial.po (+22 -10)
===================================================================
--- doc/locale/ja/LC_MESSAGES/tutorial.po    2012-11-30 18:43:25 +0900 (2e0d53f)
+++ doc/locale/ja/LC_MESSAGES/tutorial.po    2012-11-30 17:36:53 +0900 (4d1f700)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 1.2.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-11-30 16:31\n"
+"POT-Creation-Date: 2012-11-30 17:31\n"
 "PO-Revision-Date: 2012-10-30 16:27+0900\n"
 "Last-Translator: Kouhei Sutou <kou �� clear-code.com>\n"
 "Language-Team: Japanese\n"
@@ -60,12 +60,12 @@ msgstr ""
 #: ../../../source/example/tutorial/match_columns-2.log:1
 #: ../../../source/example/tutorial/match_columns-3.log:1
 #: ../../../source/example/tutorial/match_columns-4.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-data.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-data2.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-schema.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-schema2.log:1
+#: ../../../source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log:1
 #: ../../../source/example/tutorial/match_columns-nested-index-select.log:1
-#: ../../../source/example/tutorial/match_columns-nested-index-select2.log:1
 #: ../../../source/example/tutorial/micro_blog-1.log:1
 #: ../../../source/example/tutorial/micro_blog-10.log:1
 #: ../../../source/example/tutorial/micro_blog-2.log:1
@@ -1458,7 +1458,7 @@ msgid "インデックス名を指定した全文検索"
 msgstr ""
 
 #: ../../../source/tutorial/match_columns.txt:82
-#: ../../../source/tutorial/match_columns.txt:214
+#: ../../../source/tutorial/match_columns.txt:216
 msgid "執筆中です。"
 msgstr ""
 
@@ -1602,13 +1602,25 @@ msgstr ""
 # 5ba3f540f2a94408aac518d891ae66c8
 #: ../../../source/tutorial/match_columns.txt:209
 msgid ""
-"As a result, the first query matches two article, but the second one matches "
-"one article only."
+"As a result, the first query matches two article because of Comments2 table "
+"has two records which contains 'mroonga' as keyword."
 msgstr ""
-"結果として、最初のクエリは該当する記事2つにマッチしますが、2つめのクエリは該"
-"当記事1つだけにマッチします。"
+"結果として、最初のクエリはComments2テーブルに'mroonga'をキーワードとして含む"
+"レコードが2つあるので、該当する記事2つにマッチします。"
 
-#: ../../../source/tutorial/match_columns.txt:212
+# 1619ff8d5bc343c2879ceec89bcb8087
+#: ../../../source/tutorial/match_columns.txt:211
+msgid ""
+"On the other hand, the second one matches one article only because of "
+"Replies2 table has only one record which contains 'mroonga' as keyword, and "
+"there is one record which contains same keyword and refers to the record in "
+"Comments2 table."
+msgstr ""
+"一方、2つめのクエリはReplies2テーブルに'mroonga'というキーワードにマッチす"
+"るレコードが1つしかなく、Comments2テーブルでそのキーワードを含むレコード"
+"を参照するコメントが1つなので、該当する記事は1つだけとなります。"
+
+#: ../../../source/tutorial/match_columns.txt:214
 msgid "インデックスの重み"
 msgstr ""
 

  Modified: doc/source/tutorial/match_columns.txt (+3 -1)
===================================================================
--- doc/source/tutorial/match_columns.txt    2012-11-30 18:43:25 +0900 (cb620c2)
+++ doc/source/tutorial/match_columns.txt    2012-11-30 17:36:53 +0900 (0ed05c8)
@@ -206,7 +206,9 @@ The first query searches 'mroonga' from Comments2 table, the second one searches
 .. select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *" 
 .. select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *" 
 
-As a result, the first query matches two article, but the second one matches one article only.
+As a result, the first query matches two article because of Comments2 table has two records which contains 'mroonga' as keyword.
+
+On the other hand, the second one matches one article only because of Replies2 table has only one record which contains 'mroonga' as keyword, and there is one record which contains same keyword and refers to the record in Comments2 table.
 
 インデックスの重み
 ------------------
-------------- next part --------------
HTML����������������������������...
다운로드 



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