null+****@clear*****
null+****@clear*****
2011年 6月 29日 (水) 00:04:00 JST
Kouhei Sutou 2011-06-28 15:04:00 +0000 (Tue, 28 Jun 2011) New Revision: fc8d70aaee3afe3f9a536de24cfd54c0f963f777 Log: [doc] move processes to executables/. groonga.txt, grntest.txt, grnslap.txt, http.txt -> executables/. Added files: doc/locale/en/LC_MESSAGES/executables.po doc/locale/ja/LC_MESSAGES/executables.po doc/source/executables.txt Removed files: doc/locale/en/LC_MESSAGES/developer.po doc/locale/en/LC_MESSAGES/execfile.po doc/locale/en/LC_MESSAGES/grnslap.po doc/locale/en/LC_MESSAGES/grntest.po doc/locale/en/LC_MESSAGES/http.po doc/locale/en/LC_MESSAGES/process.po doc/locale/ja/LC_MESSAGES/developer.po doc/locale/ja/LC_MESSAGES/execfile.po doc/locale/ja/LC_MESSAGES/grnslap.po doc/locale/ja/LC_MESSAGES/grntest.po doc/locale/ja/LC_MESSAGES/http.po doc/locale/ja/LC_MESSAGES/process.po doc/source/process.txt Modified files: build/makefiles/gettext-files.am build/makefiles/sphinx-build.am build/makefiles/sphinx.am doc/locale/en/LC_MESSAGES/characteristic.po doc/locale/en/LC_MESSAGES/command_version.po doc/locale/en/LC_MESSAGES/commands.po doc/locale/en/LC_MESSAGES/community.po doc/locale/en/LC_MESSAGES/conf.po doc/locale/en/LC_MESSAGES/contribution.po doc/locale/en/LC_MESSAGES/expr.po doc/locale/en/LC_MESSAGES/functions.po doc/locale/en/LC_MESSAGES/index.po doc/locale/en/LC_MESSAGES/install.po doc/locale/en/LC_MESSAGES/limitations.po doc/locale/en/LC_MESSAGES/news.po doc/locale/en/LC_MESSAGES/pseudo_column.po doc/locale/en/LC_MESSAGES/reference.po doc/locale/en/LC_MESSAGES/spec.po doc/locale/en/LC_MESSAGES/troubleshooting.po doc/locale/en/LC_MESSAGES/tutorial.po doc/locale/en/LC_MESSAGES/type.po doc/locale/ja/LC_MESSAGES/conf.po doc/source/reference.txt Renamed files: doc/source/executables/grnslap.txt (from doc/source/grnslap.txt) doc/source/executables/grntest.txt (from doc/source/grntest.txt) doc/source/executables/groonga.txt (from doc/source/execfile.txt) doc/source/executables/http.txt (from doc/source/http.txt) Modified: build/makefiles/gettext-files.am (+3 -15) =================================================================== --- build/makefiles/gettext-files.am 2011-06-28 14:48:48 +0000 (4b33467) +++ build/makefiles/gettext-files.am 2011-06-28 15:04:00 +0000 (4f61556) @@ -6,17 +6,13 @@ po_files = \ community.po \ conf.po \ contribution.po \ - execfile.po \ + executables.po \ expr.po \ functions.po \ - grnslap.po \ - grntest.po \ - http.po \ index.po \ install.po \ limitations.po \ news.po \ - process.po \ pseudo_column.po \ reference.po \ spec.po \ @@ -60,17 +56,13 @@ mo_files = \ community.mo \ conf.mo \ contribution.mo \ - execfile.mo \ + executables.mo \ expr.mo \ functions.mo \ - grnslap.mo \ - grntest.mo \ - http.mo \ index.mo \ install.mo \ limitations.mo \ news.mo \ - process.mo \ pseudo_column.mo \ reference.mo \ spec.mo \ @@ -87,17 +79,13 @@ mo_files_relative_from_locale_dir = \ LC_MESSAGES/community.mo \ LC_MESSAGES/conf.mo \ LC_MESSAGES/contribution.mo \ - LC_MESSAGES/execfile.mo \ + LC_MESSAGES/executables.mo \ LC_MESSAGES/expr.mo \ LC_MESSAGES/functions.mo \ - LC_MESSAGES/grnslap.mo \ - LC_MESSAGES/grntest.mo \ - LC_MESSAGES/http.mo \ LC_MESSAGES/index.mo \ LC_MESSAGES/install.mo \ LC_MESSAGES/limitations.mo \ LC_MESSAGES/news.mo \ - LC_MESSAGES/process.mo \ LC_MESSAGES/pseudo_column.mo \ LC_MESSAGES/reference.mo \ LC_MESSAGES/spec.mo \ Modified: build/makefiles/sphinx-build.am (+5 -5) =================================================================== --- build/makefiles/sphinx-build.am 2011-06-28 14:48:48 +0000 (068e5ed) +++ build/makefiles/sphinx-build.am 2011-06-28 15:04:00 +0000 (2813342) @@ -128,7 +128,11 @@ source_files = \ $(top_srcdir)/doc/source/example/tutorial10-7.log \ $(top_srcdir)/doc/source/example/tutorial10-8.log \ $(top_srcdir)/doc/source/example/tutorial10-9.log \ - $(top_srcdir)/doc/source/execfile.txt \ + $(top_srcdir)/doc/source/executables.txt \ + $(top_srcdir)/doc/source/executables/grnslap.txt \ + $(top_srcdir)/doc/source/executables/grntest.txt \ + $(top_srcdir)/doc/source/executables/groonga.txt \ + $(top_srcdir)/doc/source/executables/http.txt \ $(top_srcdir)/doc/source/expr.txt \ $(top_srcdir)/doc/source/functions.txt \ $(top_srcdir)/doc/source/functions/edit_distance.txt \ @@ -137,9 +141,6 @@ source_files = \ $(top_srcdir)/doc/source/functions/geo_in_rectangle.txt \ $(top_srcdir)/doc/source/functions/now.txt \ $(top_srcdir)/doc/source/functions/rand.txt \ - $(top_srcdir)/doc/source/grnslap.txt \ - $(top_srcdir)/doc/source/grntest.txt \ - $(top_srcdir)/doc/source/http.txt \ $(top_srcdir)/doc/source/index.txt \ $(top_srcdir)/doc/source/install.txt \ $(top_srcdir)/doc/source/limitations.txt \ @@ -147,7 +148,6 @@ source_files = \ $(top_srcdir)/doc/source/news/0.x.txt \ $(top_srcdir)/doc/source/news/1.0.x.txt \ $(top_srcdir)/doc/source/news/1.1.x.txt \ - $(top_srcdir)/doc/source/process.txt \ $(top_srcdir)/doc/source/pseudo_column.txt \ $(top_srcdir)/doc/source/rdoc.py \ $(top_srcdir)/doc/source/reference.txt \ Modified: build/makefiles/sphinx.am (+10 -10) =================================================================== --- build/makefiles/sphinx.am 2011-06-28 14:48:48 +0000 (89e4dd8) +++ build/makefiles/sphinx.am 2011-06-28 15:04:00 +0000 (0a31bf5) @@ -204,7 +204,11 @@ html_files = \ html/_sources/contribution/documentation/c-api.txt \ html/_sources/contribution/documentation/i18n.txt \ html/_sources/contribution/report.txt \ - html/_sources/execfile.txt \ + html/_sources/executables.txt \ + html/_sources/executables/grnslap.txt \ + html/_sources/executables/grntest.txt \ + html/_sources/executables/groonga.txt \ + html/_sources/executables/http.txt \ html/_sources/expr.txt \ html/_sources/functions.txt \ html/_sources/functions/edit_distance.txt \ @@ -213,9 +217,6 @@ html_files = \ html/_sources/functions/geo_in_rectangle.txt \ html/_sources/functions/now.txt \ html/_sources/functions/rand.txt \ - html/_sources/grnslap.txt \ - html/_sources/grntest.txt \ - html/_sources/http.txt \ html/_sources/index.txt \ html/_sources/install.txt \ html/_sources/limitations.txt \ @@ -223,7 +224,6 @@ html_files = \ html/_sources/news/0.x.txt \ html/_sources/news/1.0.x.txt \ html/_sources/news/1.1.x.txt \ - html/_sources/process.txt \ html/_sources/pseudo_column.txt \ html/_sources/reference.txt \ html/_sources/spec.txt \ @@ -308,7 +308,11 @@ html_files = \ html/contribution/documentation/c-api.html \ html/contribution/documentation/i18n.html \ html/contribution/report.html \ - html/execfile.html \ + html/executables.html \ + html/executables/grnslap.html \ + html/executables/grntest.html \ + html/executables/groonga.html \ + html/executables/http.html \ html/expr.html \ html/functions.html \ html/functions/edit_distance.html \ @@ -318,9 +322,6 @@ html_files = \ html/functions/now.html \ html/functions/rand.html \ html/genindex.html \ - html/grnslap.html \ - html/grntest.html \ - html/http.html \ html/index.html \ html/install.html \ html/limitations.html \ @@ -329,7 +330,6 @@ html_files = \ html/news/1.0.x.html \ html/news/1.1.x.html \ html/objects.inv \ - html/process.html \ html/pseudo_column.html \ html/reference.html \ html/search.html \ Modified: doc/locale/en/LC_MESSAGES/characteristic.po (+91 -91) =================================================================== --- doc/locale/en/LC_MESSAGES/characteristic.po 2011-06-28 14:48:48 +0000 (3b05315) +++ doc/locale/en/LC_MESSAGES/characteristic.po 2011-06-28 15:04:00 +0000 (07748b8) @@ -1,29 +1,55 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 00:56\n" -"PO-Revision-Date: 2011-05-18 15:15+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/characteristic.txt:6 -msgid "groongaの特徴" -msgstr "groongaの特徴" +#: ../../../source/characteristic.txt:44 +msgid "Sennaの転置インデックス実装をさらに改良" +msgstr "Sennaの転置インデックス実装をさらに改良" -#: ../../../source/characteristic.txt:9 -msgid "全文検索ライブラリSennaの後継" -msgstr "全文検索ライブラリSennaの後継" +#: ../../../source/characteristic.txt:37 +msgid "ドリルダウンなどの集計系クエリを高速に実現" +msgstr "ドリルダウンなどの集計系クエリを高速に実現" + +#: ../../../source/characteristic.txt:30 +msgid "複数プロセス・複数スレッドで共有できるストレージ" +msgstr "複数プロセス・複数スレッドで共有できるストレージ" + +#: ../../../source/characteristic.txt:32 +msgid "" +"groongaのストレージファイルは、複数プロセスや複数スレッドで共有することができ" +"ます。明示的なロックなどは必要ありません。" +msgstr "" +"groongaのストレージファイルは、複数プロセスや複数スレッドで共有することができ" +"ます。明示的なロックなどは必要ありません。" + +#: ../../../source/characteristic.txt:56 +msgid "自動クエリキャッシュ機構" +msgstr "自動クエリキャッシュ機構" + +#: ../../../source/characteristic.txt:41 +msgid "" +"全文検索結果のうち、特定のカラム値ごとにグループ分けをし、それぞれのグループ" +"のレコード数を数えるような処理をドリルダウンといいます。groongaはカラム指向" +"データベースを生かして、このような処理を高速に実行します。" +msgstr "" +"全文検索結果のうち、特定のカラム値ごとにグループ分けをし、それぞれのグループ" +"のレコード数を数えるような処理をドリルダウンといいます。groongaはカラム指向" +"データベースを生かして、このような処理を高速に実行します。" #: ../../../source/characteristic.txt:11 msgid "" @@ -39,27 +65,17 @@ msgstr "" msgid "HTTPなどの複数プロトコルに対応したサーバ" msgstr "HTTPなどの複数プロトコルに対応したサーバ" -#: ../../../source/characteristic.txt:16 +#: ../../../source/characteristic.txt:27 msgid "" -"Sennaは、全文検索を行うアプリケーションで用いるための部品でした。groongaで" -"は、全文検索サービスを行うためのサーバが存在します。groongaサーバは、HTTPや" -"memcached binaryプロトコル、独自プロトコルであるgqtpを用いてクライアントと" -"TCP/IP通信を行うことができます。よって、ライブラリをインストールできないレン" -"タルサーバなどの環境でも利用しやすくなりました。" +"より即時性の高い検索サービスを実現するために、groongaでは参照lockが不要なスト" +"レージを実装しました。" msgstr "" -"Sennaは、全文検索を行うアプリケーションで用いるための部品でした。groongaで" -"は、全文検索サービスを行うためのサーバが存在します。groongaサーバは、HTTPや" -"memcached binaryプロトコル、独自プロトコルであるgqtpを用いてクライアントと" -"TCP/IP通信を行うことができます。よって、ライブラリをインストールできないレン" -"タルサーバなどの環境でも利用しやすくなりました。" - -#: ../../../source/characteristic.txt:18 -msgid "Sennaと同様に、groongaもC言語のライブラリとして利用できます。" -msgstr "Sennaと同様に、groongaもC言語のライブラリとして利用できます。" +"より即時性の高い検索サービスを実現するために、groongaでは参照lockが不要なスト" +"レージを実装しました。" -#: ../../../source/characteristic.txt:21 -msgid "高速なデータ更新" -msgstr "高速なデータ更新" +#: ../../../source/characteristic.txt:51 +msgid "位置情報(緯度・経度)検索" +msgstr "位置情報(緯度・経度)検索" #: ../../../source/characteristic.txt:23 msgid "" @@ -75,6 +91,14 @@ msgstr "" "これらの形態では、全文検索インデックス更新における参照lockが不要というSennaの" "性能特性を生かすことができませんでした。" +#: ../../../source/characteristic.txt:46 +msgid "" +"groongaの転置インデックスは、Sennaにおける転置インデックスの実装を改良し、よ" +"り高速かつ汎用的なものとなりました。" +msgstr "" +"groongaの転置インデックスは、Sennaにおける転置インデックスの実装を改良し、よ" +"り高速かつ汎用的なものとなりました。" + #: ../../../source/characteristic.txt:25 msgid "" "たとえば、MyISAMではレコードが更新される際には、多くの場合テーブルロックが必" @@ -85,25 +109,27 @@ msgstr "" "要となります。このような場合には、いかに全文検索インデックスの更新が速くと" "も、MyISAMでのデータ更新がボトルネックとなってしまいます。" -#: ../../../source/characteristic.txt:27 -msgid "" -"より即時性の高い検索サービスを実現するために、groongaでは参照lockが不要なスト" -"レージを実装しました。" -msgstr "" -"より即時性の高い検索サービスを実現するために、groongaでは参照lockが不要なスト" -"レージを実装しました。" +#: ../../../source/characteristic.txt:6 +msgid "groongaの特徴" +msgstr "groongaの特徴" -#: ../../../source/characteristic.txt:30 -msgid "複数プロセス・複数スレッドで共有できるストレージ" -msgstr "複数プロセス・複数スレッドで共有できるストレージ" +#: ../../../source/characteristic.txt:21 +msgid "高速なデータ更新" +msgstr "高速なデータ更新" -#: ../../../source/characteristic.txt:32 +#: ../../../source/characteristic.txt:39 msgid "" -"groongaのストレージファイルは、複数プロセスや複数スレッドで共有することができ" -"ます。明示的なロックなどは必要ありません。" +"groongaのストレージは、カラムごとにデータを保存するカラム指向データベースを採" +"用しています。カラム指向データベースはOLAPなどの集計クエリを高速に実現するの" +"に向いています。" msgstr "" -"groongaのストレージファイルは、複数プロセスや複数スレッドで共有することができ" -"ます。明示的なロックなどは必要ありません。" +"groongaのストレージは、カラムごとにデータを保存するカラム指向データベースを採" +"用しています。カラム指向データベースはOLAPなどの集計クエリを高速に実現するの" +"に向いています。" + +#: ../../../source/characteristic.txt:9 +msgid "全文検索ライブラリSennaの後継" +msgstr "全文検索ライブラリSennaの後継" #: ../../../source/characteristic.txt:34 msgid "" @@ -115,41 +141,29 @@ msgstr "" "です。Tritonnで開いているgroongaストレージファイルも共有可能です。たとえば、" "MySQLプロトコルでデータの更新を行い、HTTPでデータの参照を行うことができます。" -#: ../../../source/characteristic.txt:37 -msgid "ドリルダウンなどの集計系クエリを高速に実現" -msgstr "ドリルダウンなどの集計系クエリを高速に実現" - -#: ../../../source/characteristic.txt:39 -msgid "" -"groongaのストレージは、カラムごとにデータを保存するカラム指向データベースを採" -"用しています。カラム指向データベースはOLAPなどの集計クエリを高速に実現するの" -"に向いています。" -msgstr "" -"groongaのストレージは、カラムごとにデータを保存するカラム指向データベースを採" -"用しています。カラム指向データベースはOLAPなどの集計クエリを高速に実現するの" -"に向いています。" - -#: ../../../source/characteristic.txt:41 +#: ../../../source/characteristic.txt:53 msgid "" -"全文検索結果のうち、特定のカラム値ごとにグループ分けをし、それぞれのグループ" -"のレコード数を数えるような処理をドリルダウンといいます。groongaはカラム指向" -"データベースを生かして、このような処理を高速に実行します。" +"日本測地系のみならず、世界測地系にも対応した位置情報での絞込が可能です。位置" +"情報の範囲は、円や矩形を指定することができます。また、任意の2点間の距離も計" +"算可能です。" msgstr "" -"全文検索結果のうち、特定のカラム値ごとにグループ分けをし、それぞれのグループ" -"のレコード数を数えるような処理をドリルダウンといいます。groongaはカラム指向" -"データベースを生かして、このような処理を高速に実行します。" - -#: ../../../source/characteristic.txt:44 -msgid "Sennaの転置インデックス実装をさらに改良" -msgstr "Sennaの転置インデックス実装をさらに改良" +"日本測地系のみならず、世界測地系にも対応した位置情報での絞込が可能です。位置" +"情報の範囲は、円や矩形を指定することができます。また、任意の2点間の距離も計" +"算可能です。" -#: ../../../source/characteristic.txt:46 +#: ../../../source/characteristic.txt:16 msgid "" -"groongaの転置インデックスは、Sennaにおける転置インデックスの実装を改良し、よ" -"り高速かつ汎用的なものとなりました。" +"Sennaは、全文検索を行うアプリケーションで用いるための部品でした。groongaで" +"は、全文検索サービスを行うためのサーバが存在します。groongaサーバは、HTTPや" +"memcached binaryプロトコル、独自プロトコルであるgqtpを用いてクライアントと" +"TCP/IP通信を行うことができます。よって、ライブラリをインストールできないレン" +"タルサーバなどの環境でも利用しやすくなりました。" msgstr "" -"groongaの転置インデックスは、Sennaにおける転置インデックスの実装を改良し、よ" -"り高速かつ汎用的なものとなりました。" +"Sennaは、全文検索を行うアプリケーションで用いるための部品でした。groongaで" +"は、全文検索サービスを行うためのサーバが存在します。groongaサーバは、HTTPや" +"memcached binaryプロトコル、独自プロトコルであるgqtpを用いてクライアントと" +"TCP/IP通信を行うことができます。よって、ライブラリをインストールできないレン" +"タルサーバなどの環境でも利用しやすくなりました。" #: ../../../source/characteristic.txt:48 msgid "" @@ -161,23 +175,9 @@ msgstr "" "行することができます。いわゆるタグ検索やドリルダウンにおいて、転置インデック" "スを利用した高速な処理を行うことができます。" -#: ../../../source/characteristic.txt:51 -msgid "位置情報(緯度・経度)検索" -msgstr "位置情報(緯度・経度)検索" - -#: ../../../source/characteristic.txt:53 -msgid "" -"日本測地系のみならず、世界測地系にも対応した位置情報での絞込が可能です。位置" -"情報の範囲は、円や矩形を指定することができます。また、任意の2点間の距離も計" -"算可能です。" -msgstr "" -"日本測地系のみならず、世界測地系にも対応した位置情報での絞込が可能です。位置" -"情報の範囲は、円や矩形を指定することができます。また、任意の2点間の距離も計" -"算可能です。" - -#: ../../../source/characteristic.txt:56 -msgid "自動クエリキャッシュ機構" -msgstr "自動クエリキャッシュ機構" +#: ../../../source/characteristic.txt:18 +msgid "Sennaと同様に、groongaもC言語のライブラリとして利用できます。" +msgstr "Sennaと同様に、groongaもC言語のライブラリとして利用できます。" #: ../../../source/characteristic.txt:58 msgid "参照系のクエリについて、自動的にクエリキャッシュを行います。" Modified: doc/locale/en/LC_MESSAGES/command_version.po (+125 -125) =================================================================== --- doc/locale/en/LC_MESSAGES/command_version.po 2011-06-28 14:48:48 +0000 (78e0acf) +++ doc/locale/en/LC_MESSAGES/command_version.po 2011-06-28 15:04:00 +0000 (ad984d0) @@ -1,25 +1,41 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-22 22:44\n" -"PO-Revision-Date: 2011-05-18 15:15+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/command_version.txt:6 -msgid "コマンドバージョン" -msgstr "コマンドバージョン" +#: ../../../source/command_version.txt:16 +msgid "" +"コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状" +"のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供す" +"るgroongaは、command-version 1とcommand-version 2の二つをサポートすることにな" +"ります。" +msgstr "" +"コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状" +"のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供す" +"るgroongaは、command-version 1とcommand-version 2の二つをサポートすることにな" +"ります。" + +#: ../../../source/command_version.txt:62 +msgid "groonga --default-command-version 1" +msgstr "groonga --default-command-version 1" + +#: ../../../source/command_version.txt:50 +msgid "コマンドバージョンの指定方法" +msgstr "コマンドバージョンの指定方法" #: ../../../source/command_version.txt:9 msgid "概要" @@ -41,47 +57,11 @@ msgstr "" "が異なれば、同じ名前のコマンドであっても、動作に互換性がない可能性がありま" "す。" -#: ../../../source/command_version.txt:13 -msgid "" -"あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするように" -"なります。 使用するコマンドバージョンは、groongaを起動する際のコマンドライン" -"オプションないしコンフィグファイルにdefault-commnad-versionパラメータを与える" -"ことによって指定できます。また、個々のコマンドを実行する際に、command_version" -"パラメータを与えることによっても指定することができます。" -msgstr "" -"あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするように" -"なります。 使用するコマンドバージョンは、groongaを起動する際のコマンドライン" -"オプションないしコンフィグファイルにdefault-commnad-versionパラメータを与える" -"ことによって指定できます。また、個々のコマンドを実行する際に、command_version" -"パラメータを与えることによっても指定することができます。" - -#: ../../../source/command_version.txt:16 -msgid "" -"コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状" -"のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供す" -"るgroongaは、command-version 1とcommand-version 2の二つをサポートすることにな" -"ります。" -msgstr "" -"コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状" -"のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供す" -"るgroongaは、command-version 1とcommand-version 2の二つをサポートすることにな" -"ります。" - -#: ../../../source/command_version.txt:19 -msgid "バージョンの位置づけ" -msgstr "バージョンの位置づけ" - -#: ../../../source/command_version.txt:21 +#: ../../../source/command_version.txt:69 msgid "" -"あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, " -"stable,deprecatedのいずれかの位置づけとなります。" +"select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。" msgstr "" -"あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, " -"stable,deprecatedのいずれかの位置づけとなります。" - -#: ../../../source/command_version.txt:24 -msgid "まだ開発中であり、仕様が変更される可能性があります。" -msgstr "まだ開発中であり、仕様が変更される可能性があります。" +"select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。" #: ../../../source/command_version.txt:27 msgid "" @@ -89,11 +69,26 @@ msgid "" msgstr "" "使用可能であり仕様も安定しています。その時点で使用することが推奨されます。" -#: ../../../source/command_version.txt:30 +#: ../../../source/command_version.txt:60 +#: ../../../source/command_version.txt:71 +msgid "実行例::" +msgstr "実行例::" + +#: ../../../source/command_version.txt:67 +msgid "command_versionパラメータ" +msgstr "command_versionパラメータ" + +#: ../../../source/command_version.txt:75 msgid "" -"使用可能であり仕様も安定していますが、廃止予定であり使用が推奨されません。" +"指定されたコマンドバージョンでコマンドを実行します。指定されたコマンドバー" +"ジョンがサポート対象外であった場合にはエラーが返されます。command-versionが指" +"定されなかった場合は、当該プロセス起動時にdefault-command-versionに指定した値" +"が指定されたものとみなします。" msgstr "" -"使用可能であり仕様も安定していますが、廃止予定であり使用が推奨されません。" +"指定されたコマンドバージョンでコマンドを実行します。指定されたコマンドバー" +"ジョンがサポート対象外であった場合にはエラーが返されます。command-versionが指" +"定されなかった場合は、当該プロセス起動時にdefault-command-versionに指定した値" +"が指定されたものとみなします。" #: ../../../source/command_version.txt:32 msgid "" @@ -105,12 +100,6 @@ msgstr "" "一つが必ずstableの位置づけとなります。残りの一つは、developないしdeprecatedと" "なります。" -#: ../../../source/command_version.txt:34 -msgid "" -"たとえば下記のようにgroongaのサポートするコマンドバージョンは推移します。::" -msgstr "" -"たとえば下記のようにgroongaのサポートするコマンドバージョンは推移します。::" - #: ../../../source/command_version.txt:36 msgid "" "groonga1.1: command-version1=stable command-version2=develop groonga1.2: " @@ -125,27 +114,9 @@ msgstr "" "version2=deprecated command-version3=stable groonga1.5: command-" "version3=stable command-version4=develop" -#: ../../../source/command_version.txt:42 -msgid "" -"あるコマンドバージョンははじめにdevelop扱いとしてリリースされ、やがてstableに" -"移行します。 その後二世代経過するとそのコマンドバージョンはdeprecated扱いとな" -"ります。さらに次のコマンドバージョンがリリースされると、deprecatedだったコマ" -"ンドバージョンはサポート対象外となります。" -msgstr "" -"あるコマンドバージョンははじめにdevelop扱いとしてリリースされ、やがてstableに" -"移行します。 その後二世代経過するとそのコマンドバージョンはdeprecated扱いとな" -"ります。さらに次のコマンドバージョンがリリースされると、deprecatedだったコマ" -"ンドバージョンはサポート対象外となります。" - -#: ../../../source/command_version.txt:45 -msgid "" -"default-commnad-versionパラメータやcommand_versionパラメータを指定せずに" -"groongaコマンドを実行した際には、その時点でstableであるコマンドバージョンが指" -"定されたものとみなします。" -msgstr "" -"default-commnad-versionパラメータやcommand_versionパラメータを指定せずに" -"groongaコマンドを実行した際には、その時点でstableであるコマンドバージョンが指" -"定されたものとみなします。" +#: ../../../source/command_version.txt:73 +msgid "select --command_version 1 --table tablename" +msgstr "select --command_version 1 --table tablename" #: ../../../source/command_version.txt:47 msgid "" @@ -159,38 +130,19 @@ msgstr "" "ます。また、サポート範囲外のコマンドバージョンを指定した場合にはエラーとな" "り、プロセスは速やかに停止します。" -#: ../../../source/command_version.txt:50 -msgid "コマンドバージョンの指定方法" -msgstr "コマンドバージョンの指定方法" - -#: ../../../source/command_version.txt:52 -msgid "" -"コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と" -"各コマンドの引数として指定する方法があります。" -msgstr "" -"コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と" -"各コマンドの引数として指定する方法があります。" - -#: ../../../source/command_version.txt:55 -msgid "default-command-versionパラメータ" -msgstr "default-command-versionパラメータ" - -#: ../../../source/command_version.txt:57 +#: ../../../source/command_version.txt:13 msgid "" -"groonga実行モジュールの引数としてdefault-command-versionパラメータを指定でき" -"ます。 (configファイルの中に指定することも可能です)" +"あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするように" +"なります。 使用するコマンドバージョンは、groongaを起動する際のコマンドライン" +"オプションないしコンフィグファイルにdefault-commnad-versionパラメータを与える" +"ことによって指定できます。また、個々のコマンドを実行する際に、command_version" +"パラメータを与えることによっても指定することができます。" msgstr "" -"groonga実行モジュールの引数としてdefault-command-versionパラメータを指定でき" -"ます。 (configファイルの中に指定することも可能です)" - -#: ../../../source/command_version.txt:60 -#: ../../../source/command_version.txt:71 -msgid "実行例::" -msgstr "実行例::" - -#: ../../../source/command_version.txt:62 -msgid "groonga --default-command-version 1" -msgstr "groonga --default-command-version 1" +"あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするように" +"なります。 使用するコマンドバージョンは、groongaを起動する際のコマンドライン" +"オプションないしコンフィグファイルにdefault-commnad-versionパラメータを与える" +"ことによって指定できます。また、個々のコマンドを実行する際に、command_version" +"パラメータを与えることによっても指定することができます。" #: ../../../source/command_version.txt:64 msgid "" @@ -210,28 +162,76 @@ msgstr "" "ト対象外であった場合には標準エラー出力にエラーメッセージを出力し、プロセスは" "速やかに終了します。" -#: ../../../source/command_version.txt:67 -msgid "command_versionパラメータ" -msgstr "command_versionパラメータ" +#: ../../../source/command_version.txt:21 +msgid "" +"あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, " +"stable,deprecatedのいずれかの位置づけとなります。" +msgstr "" +"あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, " +"stable,deprecatedのいずれかの位置づけとなります。" -#: ../../../source/command_version.txt:69 +#: ../../../source/command_version.txt:57 msgid "" -"select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。" +"groonga実行モジュールの引数としてdefault-command-versionパラメータを指定でき" +"ます。 (configファイルの中に指定することも可能です)" msgstr "" -"select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。" +"groonga実行モジュールの引数としてdefault-command-versionパラメータを指定でき" +"ます。 (configファイルの中に指定することも可能です)" -#: ../../../source/command_version.txt:73 -msgid "select --command_version 1 --table tablename" -msgstr "select --command_version 1 --table tablename" +#: ../../../source/command_version.txt:19 +msgid "バージョンの位置づけ" +msgstr "バージョンの位置づけ" -#: ../../../source/command_version.txt:75 +#: ../../../source/command_version.txt:30 msgid "" -"指定されたコマンドバージョンでコマンドを実行します。指定されたコマンドバー" -"ジョンがサポート対象外であった場合にはエラーが返されます。command-versionが指" -"定されなかった場合は、当該プロセス起動時にdefault-command-versionに指定した値" -"が指定されたものとみなします。" +"使用可能であり仕様も安定していますが、廃止予定であり使用が推奨されません。" msgstr "" -"指定されたコマンドバージョンでコマンドを実行します。指定されたコマンドバー" -"ジョンがサポート対象外であった場合にはエラーが返されます。command-versionが指" -"定されなかった場合は、当該プロセス起動時にdefault-command-versionに指定した値" -"が指定されたものとみなします。" +"使用可能であり仕様も安定していますが、廃止予定であり使用が推奨されません。" + +#: ../../../source/command_version.txt:24 +msgid "まだ開発中であり、仕様が変更される可能性があります。" +msgstr "まだ開発中であり、仕様が変更される可能性があります。" + +#: ../../../source/command_version.txt:52 +msgid "" +"コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と" +"各コマンドの引数として指定する方法があります。" +msgstr "" +"コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と" +"各コマンドの引数として指定する方法があります。" + +#: ../../../source/command_version.txt:6 +msgid "コマンドバージョン" +msgstr "コマンドバージョン" + +#: ../../../source/command_version.txt:45 +msgid "" +"default-commnad-versionパラメータやcommand_versionパラメータを指定せずに" +"groongaコマンドを実行した際には、その時点でstableであるコマンドバージョンが指" +"定されたものとみなします。" +msgstr "" +"default-commnad-versionパラメータやcommand_versionパラメータを指定せずに" +"groongaコマンドを実行した際には、その時点でstableであるコマンドバージョンが指" +"定されたものとみなします。" + +#: ../../../source/command_version.txt:34 +msgid "" +"たとえば下記のようにgroongaのサポートするコマンドバージョンは推移します。::" +msgstr "" +"たとえば下記のようにgroongaのサポートするコマンドバージョンは推移します。::" + +#: ../../../source/command_version.txt:55 +msgid "default-command-versionパラメータ" +msgstr "default-command-versionパラメータ" + +#: ../../../source/command_version.txt:42 +msgid "" +"あるコマンドバージョンははじめにdevelop扱いとしてリリースされ、やがてstableに" +"移行します。 その後二世代経過するとそのコマンドバージョンはdeprecated扱いとな" +"ります。さらに次のコマンドバージョンがリリースされると、deprecatedだったコマ" +"ンドバージョンはサポート対象外となります。" +msgstr "" +"あるコマンドバージョンははじめにdevelop扱いとしてリリースされ、やがてstableに" +"移行します。 その後二世代経過するとそのコマンドバージョンはdeprecated扱いとな" +"ります。さらに次のコマンドバージョンがリリースされると、deprecatedだったコマ" +"ンドバージョンはサポート対象外となります。" Modified: doc/locale/en/LC_MESSAGES/commands.po (+2052 -2051) =================================================================== --- doc/locale/en/LC_MESSAGES/commands.po 2011-06-28 14:48:48 +0000 (770a9eb) +++ doc/locale/en/LC_MESSAGES/commands.po 2011-06-28 15:04:00 +0000 (490d497) @@ -1,665 +1,350 @@ -msgid "[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]" -msgstr "[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]" - -msgid "[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]" -msgstr "[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]" - -msgid "[-]カラム名1, [-]カラム名2, [-]カラム名3, ..." -msgstr "[-]カラム名1, [-]カラム名2, [-]カラム名3, ..." - -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 00:56\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/commands.txt:6 -msgid "コマンド" -msgstr "コマンド" +#: ../../../source/commands/column_create.txt:11 +msgid "column_create - カラムの追加" +msgstr "column_create - カラムの追加" -#: ../../../source/commands.txt:8 +#: ../../../source/commands/column_create.txt:68 msgid "" -"まず、すべてのコマンドに関係するコマンドバージョンについて説明します。その" -"後、組み込みのコマンドを順に説明します。" +"インデックス型のカラムを作成した場合は、インデックス対象となるカラムをsource" +"引数に指定します。" msgstr "" -"まず、すべてのコマンドに関係するコマンドバージョンについて説明します。その" -"後、組み込みのコマンドを順に説明します。" - -#: ../../../source/commands/cache_limit.txt:6 -msgid "cache_limit" -msgstr "cache_limit" +"インデックス型のカラムを作成した場合は、インデックス対象となるカラムをsource" +"引数に指定します。" -#: ../../../source/commands/cache_limit.txt:9 -#: ../../../source/commands/check.txt:9 -#: ../../../source/commands/clearlock.txt:9 -#: ../../../source/commands/column_create.txt:9 -#: ../../../source/commands/column_list.txt:9 -#: ../../../source/commands/column_remove.txt:9 -#: ../../../source/commands/define_selector.txt:9 -#: ../../../source/commands/defrag.txt:9 ../../../source/commands/delete.txt:9 -#: ../../../source/commands/dump.txt:9 ../../../source/commands/load.txt:9 -#: ../../../source/commands/log_level.txt:9 -#: ../../../source/commands/log_put.txt:9 -#: ../../../source/commands/log_reopen.txt:9 -#: ../../../source/commands/quit.txt:9 ../../../source/commands/select.txt:9 -#: ../../../source/commands/shutdown.txt:9 -#: ../../../source/commands/status.txt:9 -#: ../../../source/commands/suggest.txt:11 -#: ../../../source/commands/table_create.txt:9 -#: ../../../source/commands/table_list.txt:9 -#: ../../../source/commands/table_remove.txt:9 -#: ../../../source/commands/view_add.txt:9 -msgid "名前" -msgstr "名前" +#: ../../../source/commands/column_list.txt:42 +msgid "``カラム情報名n``" +msgstr "``カラム情報名n``" -#: ../../../source/commands/cache_limit.txt:11 -msgid "cache_limit - cacheサイズの設定・取得" -msgstr "cache_limit - cacheサイズの設定・取得" +#: ../../../source/commands/column_create.txt:57 +msgid "ウェイト情報を格納するインデックスを作成します。" +msgstr "ウェイト情報を格納するインデックスを作成します。" -#: ../../../source/commands/cache_limit.txt:14 -#: ../../../source/commands/check.txt:14 -#: ../../../source/commands/clearlock.txt:14 -#: ../../../source/commands/column_create.txt:14 -#: ../../../source/commands/column_list.txt:14 -#: ../../../source/commands/column_remove.txt:14 -#: ../../../source/commands/define_selector.txt:14 -#: ../../../source/commands/defrag.txt:14 -#: ../../../source/commands/delete.txt:14 ../../../source/commands/dump.txt:14 -#: ../../../source/commands/load.txt:14 -#: ../../../source/commands/log_level.txt:14 -#: ../../../source/commands/log_put.txt:14 -#: ../../../source/commands/log_reopen.txt:14 -#: ../../../source/commands/quit.txt:14 ../../../source/commands/select.txt:14 -#: ../../../source/commands/shutdown.txt:14 -#: ../../../source/commands/status.txt:14 -#: ../../../source/commands/suggest.txt:16 -#: ../../../source/commands/table_create.txt:14 -#: ../../../source/commands/table_list.txt:14 -#: ../../../source/commands/table_remove.txt:14 -#: ../../../source/commands/view_add.txt:14 -msgid "書式" -msgstr "書式" +#: ../../../source/commands/table_create.txt:24 +msgid "" +"table_createコマンドは、使用しているデータベースに対してテーブルを追加しま" +"す。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブル" +"がありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成でき" +"ます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。ID" +"はレコードを追加した順序に従って自動的に付与されます。" +msgstr "" +"table_createコマンドは、使用しているデータベースに対してテーブルを追加しま" +"す。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブル" +"がありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成でき" +"ます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。ID" +"はレコードを追加した順序に従って自動的に付与されます。" -#: ../../../source/commands/cache_limit.txt:17 -msgid "cache_limit max" -msgstr "cache_limit max" +#: ../../../source/commands/log_reopen.txt:24 +msgid "log_reopenは、ログファイルを再読み込みします。" +msgstr "log_reopenは、ログファイルを再読み込みします。" -#: ../../../source/commands/cache_limit.txt:20 -#: ../../../source/commands/check.txt:20 -#: ../../../source/commands/clearlock.txt:20 -#: ../../../source/commands/column_create.txt:20 -#: ../../../source/commands/column_list.txt:20 -#: ../../../source/commands/column_remove.txt:20 -#: ../../../source/commands/define_selector.txt:22 -#: ../../../source/commands/defrag.txt:20 -#: ../../../source/commands/delete.txt:20 ../../../source/commands/dump.txt:20 -#: ../../../source/commands/load.txt:20 -#: ../../../source/commands/log_level.txt:20 -#: ../../../source/commands/log_put.txt:20 -#: ../../../source/commands/log_reopen.txt:20 -#: ../../../source/commands/quit.txt:20 ../../../source/commands/select.txt:23 -#: ../../../source/commands/shutdown.txt:20 -#: ../../../source/commands/status.txt:20 -#: ../../../source/commands/suggest.txt:22 -#: ../../../source/commands/table_create.txt:20 -#: ../../../source/commands/table_list.txt:20 -#: ../../../source/commands/table_remove.txt:20 -#: ../../../source/commands/view_add.txt:20 -msgid "説明" -msgstr "説明" +#: ../../../source/commands/table_list.txt:72 +msgid "テーブル情報の型を出力します。" +msgstr "テーブル情報の型を出力します。" -#: ../../../source/commands/cache_limit.txt:22 +#: ../../../source/commands/dump.txt:24 msgid "" -"groonga組込コマンドの一つであるcache_limitについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +"dumpはデータベースのスキーマとデータを後から読み込めるフォーマットで出力しま" +"す。dumpの結果は大きくなるため、主にコマンドラインから使うことを想定していま" +"す。データベースのバックアップが主な利用方法です。" msgstr "" -"groonga組込コマンドの一つであるcache_limitについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +"dumpはデータベースのスキーマとデータを後から読み込めるフォーマットで出力しま" +"す。dumpの結果は大きくなるため、主にコマンドラインから使うことを想定していま" +"す。データベースのバックアップが主な利用方法です。" -#: ../../../source/commands/cache_limit.txt:24 -msgid "cache_limitは、クエリキャッシュの最大件数を取得したり設定したりします。" +#: ../../../source/commands/column_remove.txt:59 +msgid "脚注" +msgstr "脚注" + +#: ../../../source/commands/column_create.txt:92 +msgid "" +"テーブルTermに、Entryテーブルのbodyカラムの値を対象とする完全転置インデックス" +"型カラム、entry_bodyを作成します。::" msgstr "" -"cache_limitは、クエリキャッシュの最大件数を取得したり設定したりします。" +"テーブルTermに、Entryテーブルのbodyカラムの値を対象とする完全転置インデックス" +"型カラム、entry_bodyを作成します。::" -#: ../../../source/commands/cache_limit.txt:27 -#: ../../../source/commands/check.txt:27 -#: ../../../source/commands/clearlock.txt:27 -#: ../../../source/commands/column_create.txt:27 -#: ../../../source/commands/column_list.txt:27 -#: ../../../source/commands/column_remove.txt:28 -#: ../../../source/commands/define_selector.txt:29 -#: ../../../source/commands/defrag.txt:27 -#: ../../../source/commands/delete.txt:27 ../../../source/commands/dump.txt:33 -#: ../../../source/commands/load.txt:27 -#: ../../../source/commands/log_level.txt:27 -#: ../../../source/commands/log_put.txt:27 -#: ../../../source/commands/log_reopen.txt:29 -#: ../../../source/commands/quit.txt:27 ../../../source/commands/select.txt:30 -#: ../../../source/commands/shutdown.txt:27 -#: ../../../source/commands/status.txt:27 -#: ../../../source/commands/suggest.txt:29 -#: ../../../source/commands/table_create.txt:29 -#: ../../../source/commands/table_list.txt:27 -#: ../../../source/commands/table_remove.txt:27 -#: ../../../source/commands/view_add.txt:27 -msgid "引数" -msgstr "引数" +#: ../../../source/commands/log_level.txt:11 +msgid "log_level - ログ出力レベルの設定" +msgstr "log_level - ログ出力レベルの設定" -#: ../../../source/commands/cache_limit.txt:29 -msgid "``max``" -msgstr "``max``" +#: ../../../source/commands/column_create.txt:29 +#: ../../../source/commands/define_selector.txt:35 +#: ../../../source/commands/delete.txt:29 ../../../source/commands/load.txt:49 +#: ../../../source/commands/select.txt:32 +#: ../../../source/commands/suggest.txt:47 +#: ../../../source/commands/view_add.txt:33 +msgid "``table``" +msgstr "``table``" -#: ../../../source/commands/cache_limit.txt:31 +#: ../../../source/commands/select.txt:48 +msgid "カラム名1 * 重み1 || カラム名2 * 重み2" +msgstr "カラム名1 * 重み1 || カラム名2 * 重み2" + +#: ../../../source/commands/defrag.txt:22 msgid "" -"クエリキャッシュの最大件数を整数で指定します。 maxが指定されなかった場合に" -"は、クエリキャッシュの最大件数は変更せず、 現在の設定値のみが返されます。" +"groonga組込コマンドの一つであるdefragについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"クエリキャッシュの最大件数を整数で指定します。 maxが指定されなかった場合に" -"は、クエリキャッシュの最大件数は変更せず、 現在の設定値のみが返されます。" - -#: ../../../source/commands/cache_limit.txt:36 -#: ../../../source/commands/check.txt:34 -#: ../../../source/commands/column_create.txt:71 -#: ../../../source/commands/column_list.txt:33 -#: ../../../source/commands/column_remove.txt:37 -#: ../../../source/commands/define_selector.txt:92 -#: ../../../source/commands/defrag.txt:34 ../../../source/commands/dump.txt:40 -#: ../../../source/commands/load.txt:66 -#: ../../../source/commands/log_level.txt:43 -#: ../../../source/commands/log_put.txt:47 -#: ../../../source/commands/log_reopen.txt:34 -#: ../../../source/commands/quit.txt:32 -#: ../../../source/commands/select.txt:181 -#: ../../../source/commands/shutdown.txt:32 -#: ../../../source/commands/status.txt:32 -#: ../../../source/commands/suggest.txt:60 -#: ../../../source/commands/table_create.txt:89 -#: ../../../source/commands/table_list.txt:32 -#: ../../../source/commands/table_remove.txt:33 -#: ../../../source/commands/view_add.txt:38 -msgid "返値" -msgstr "返値" +"groonga組込コマンドの一つであるdefragについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/cache_limit.txt:39 -msgid "json" -msgstr "json" +#: ../../../source/commands/table_list.txt:37 +msgid "テーブル名一覧が以下の形式で返却されます。::" +msgstr "テーブル名一覧が以下の形式で返却されます。::" -#: ../../../source/commands/cache_limit.txt:43 +#: ../../../source/commands/table_create.txt:112 msgid "" -"[以前の設定値] ``以前の設定値`` すでに設定されていたクエリキャッシュの最" -"大件数を返す。" +"table_create Term --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --" +"default_tokenizer TokenBigram [true]" msgstr "" -"[以前の設定値] ``以前の設定値`` すでに設定されていたクエリキャッシュの最" -"大件数を返す。" +"table_create Term --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --" +"default_tokenizer TokenBigram [true]" -#: ../../../source/commands/cache_limit.txt:50 -#: ../../../source/commands/check.txt:130 -#: ../../../source/commands/clearlock.txt:48 -#: ../../../source/commands/column_create.txt:85 -#: ../../../source/commands/column_list.txt:89 -#: ../../../source/commands/column_remove.txt:51 -#: ../../../source/commands/define_selector.txt:106 -#: ../../../source/commands/defrag.txt:48 -#: ../../../source/commands/delete.txt:56 ../../../source/commands/dump.txt:45 -#: ../../../source/commands/load.txt:80 -#: ../../../source/commands/log_level.txt:57 -#: ../../../source/commands/log_put.txt:61 -#: ../../../source/commands/log_reopen.txt:48 -#: ../../../source/commands/quit.txt:37 -#: ../../../source/commands/select.txt:247 -#: ../../../source/commands/shutdown.txt:37 -#: ../../../source/commands/status.txt:54 -#: ../../../source/commands/table_create.txt:103 -#: ../../../source/commands/table_list.txt:80 -#: ../../../source/commands/table_remove.txt:47 -#: ../../../source/commands/view_add.txt:52 -msgid "例" -msgstr "例" - -#: ../../../source/commands/cache_limit.txt:53 -msgid "cache_limit 4 [100]" -msgstr "cache_limit 4 [100]" - -#: ../../../source/commands/check.txt:6 -msgid "check" -msgstr "check" - -#: ../../../source/commands/check.txt:11 -msgid "check - オブジェクトの状態表示" -msgstr "check - オブジェクトの状態表示" - -#: ../../../source/commands/check.txt:17 -msgid "check obj" -msgstr "check obj" - -#: ../../../source/commands/check.txt:22 -msgid "" -"groonga組込コマンドの一つであるcheckについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるcheckについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +#: ../../../source/commands/log_reopen.txt:67 +msgid ":doc:`log_level` :doc:`log_put`" +msgstr ":doc:`log_level` :doc:`log_put`" -#: ../../../source/commands/check.txt:24 +#: ../../../source/commands/select.txt:152 msgid "" -"checkコマンドは、groongaプロセス内の指定したオブジェクトの状態を表示します。" -"主にデータベースが壊れた場合など異常時の問題解決のために使用することを想定し" -"ています。デバッグ用のため、返値のフォーマットが安定しているということは保証" -"されません。(フォーマットが変更される可能性が高い)" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"するカラム名のリストをカンマ(',')区切りで指定します。" msgstr "" -"checkコマンドは、groongaプロセス内の指定したオブジェクトの状態を表示します。" -"主にデータベースが壊れた場合など異常時の問題解決のために使用することを想定し" -"ています。デバッグ用のため、返値のフォーマットが安定しているということは保証" -"されません。(フォーマットが変更される可能性が高い)" - -#: ../../../source/commands/check.txt:29 -msgid "``obj``" -msgstr "``obj``" - -#: ../../../source/commands/check.txt:31 -msgid "状態を表示するオブジェクトの名前を指定します。" -msgstr "状態を表示するオブジェクトの名前を指定します。" - -#: ../../../source/commands/check.txt:37 -#: ../../../source/commands/clearlock.txt:37 -#: ../../../source/commands/column_create.txt:74 -#: ../../../source/commands/column_list.txt:36 -#: ../../../source/commands/column_remove.txt:40 -#: ../../../source/commands/define_selector.txt:95 -#: ../../../source/commands/defrag.txt:37 -#: ../../../source/commands/delete.txt:45 -#: ../../../source/commands/log_level.txt:46 -#: ../../../source/commands/log_put.txt:50 -#: ../../../source/commands/log_reopen.txt:37 -#: ../../../source/commands/status.txt:35 -#: ../../../source/commands/suggest.txt:63 -#: ../../../source/commands/table_create.txt:92 -#: ../../../source/commands/table_list.txt:35 -#: ../../../source/commands/table_remove.txt:36 -#: ../../../source/commands/view_add.txt:41 -msgid "json形式" -msgstr "json形式" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"するカラム名のリストをカンマ(',')区切りで指定します。" -#: ../../../source/commands/check.txt:39 -msgid "チェックするオブジェクトにより返される値が変わります。" -msgstr "チェックするオブジェクトにより返される値が変わります。" +#: ../../../source/commands/table_create.txt:69 +msgid "組込のトークナイザとして、以下が準備されています。" +msgstr "組込のトークナイザとして、以下が準備されています。" -#: ../../../source/commands/check.txt:41 -msgid "インデックスカラムの場合::" -msgstr "インデックスカラムの場合::" +#: ../../../source/commands/status.txt:11 +msgid "status - groongaプロセスの状態表示" +msgstr "status - groongaプロセスの状態表示" -#: ../../../source/commands/check.txt:43 -msgid "" -"下記のような配列が出力されます。 [インデックスの状態, バッファの状態1, " -"バッファの状態2, ...] ``インデックスの状態``には下記の項目がハッシュ形式で出" -"力されます。 ``flags`` 指定されているフラグ値です。16進数で表現されていま" -"す。 ``max sid`` セグメントのうち最も大きなIDです。 ``number of garbage " -"segments`` ゴミセグメントの数です。 ``number of array segments`` 配列" -"セグメントの数です。 ``max id of array segment`` 配列セグメントのうち最も" -"大きなIDです。 ``number of buffer segments`` バッファセグメントの数で" -"す。 ``max id of buffer segment`` バッファセグメントのうち最も大きなIDで" -"す。 ``max id of physical segment in use`` 使用中の論理セグメントのうち最" -"も大きなIDです。 ``number of unmanaged segments`` 管理されていないセグメ" -"ントの数です。 ``total chunk size`` チャンクサイズの合計です。 ``max id " -"of chunk segments in use`` 使用中のチャンクセグメントのうち最も大きなIDで" -"す。 ``number of garbage chunk`` 各チャンク毎のゴミの数です。 ``バッファ" -"の状態``には下記の項目がハッシュ形式で出力されます。 ``buffer id`` バッ" -"ファIDです。 ``chunk size`` チャンクのサイズです。 ``buffer term`` " -"バッファ内にある語の一覧です。各語の状態は以下のような配列となっていま" -"す。 [語, バッファに登録されている語のID, 用語集に登録されている語のID, " -"バッファ内でのサイズ, チャンク内でのサイズ] ``buffer free`` バッファの空" -"き容量です。 ``size in buffer`` バッファの使用量です。 ``nterms`` " -"バッファ内にある語の数です。 ``nterms with chunk`` バッファ内にある語のう" -"ち、チャンクを使っている語の数です。" -msgstr "" -"下記のような配列が出力されます。 [インデックスの状態, バッファの状態1, " -"バッファの状態2, ...] ``インデックスの状態``には下記の項目がハッシュ形式で出" -"力されます。 ``flags`` 指定されているフラグ値です。16進数で表現されていま" -"す。 ``max sid`` セグメントのうち最も大きなIDです。 ``number of garbage " -"segments`` ゴミセグメントの数です。 ``number of array segments`` 配列" -"セグメントの数です。 ``max id of array segment`` 配列セグメントのうち最も" -"大きなIDです。 ``number of buffer segments`` バッファセグメントの数で" -"す。 ``max id of buffer segment`` バッファセグメントのうち最も大きなIDで" -"す。 ``max id of physical segment in use`` 使用中の論理セグメントのうち最" -"も大きなIDです。 ``number of unmanaged segments`` 管理されていないセグメ" -"ントの数です。 ``total chunk size`` チャンクサイズの合計です。 ``max id " -"of chunk segments in use`` 使用中のチャンクセグメントのうち最も大きなIDで" -"す。 ``number of garbage chunk`` 各チャンク毎のゴミの数です。 ``バッファ" -"の状態``には下記の項目がハッシュ形式で出力されます。 ``buffer id`` バッ" -"ファIDです。 ``chunk size`` チャンクのサイズです。 ``buffer term`` " -"バッファ内にある語の一覧です。各語の状態は以下のような配列となっていま" -"す。 [語, バッファに登録されている語のID, 用語集に登録されている語のID, " -"バッファ内でのサイズ, チャンク内でのサイズ] ``buffer free`` バッファの空" -"き容量です。 ``size in buffer`` バッファの使用量です。 ``nterms`` " -"バッファ内にある語の数です。 ``nterms with chunk`` バッファ内にある語のう" -"ち、チャンクを使っている語の数です。" +#: ../../../source/commands/load.txt:33 +msgid "input_typeがjsonである場合には、以下のいずれかの形式が使用できます。" +msgstr "input_typeがjsonである場合には、以下のいずれかの形式が使用できます。" -#: ../../../source/commands/check.txt:132 -msgid "テーブルTermsのインデックスカラムnameの状態を表示します。::" -msgstr "テーブルTermsのインデックスカラムnameの状態を表示します。::" +#: ../../../source/commands/select.txt:212 +#: ../../../source/commands/select.txt:234 +msgid "``カラム名n``" +msgstr "``カラム名n``" -#: ../../../source/commands/check.txt:134 +#: ../../../source/commands/load.txt:43 msgid "" -"check Terms.name [{\"flags\":\"00008202\", \"max sid\":1, \"number of " -"garbage segments\":0, \"number of array segments\":1, \"max id of array " -"segment\":1, \"number of buffer segments\":110, \"max id of buffer " -"segment\":111, \"max id of physical segment in use\":111, \"number of " -"unmanaged segments\":4294967185, \"total chunk size\":7470239, \"max id " -"of chunk segments in use\":127, \"number of garbage chunk\":" -"[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0]}, {\"buffer id\":0, \"chunk size" -"\":94392, \"buffer term\":[\"596\",\"59777\",\"6\",...], \"buffer free" -"\":152944, \"size in buffer\":7361, \"nterms\":237, \"nterms with chunk" -"\":216, \"buffer id\":1, \"chunk size\":71236, \"buffer term\":[[\"に述" -"\",18149,18149,2,25,6,6], [\"に追" -"\",4505,4505,76,485,136,174], [\"に退" -"\",26568,26568,2,9,2,2], ...], \"buffer free\":120000, " -"\"size in buffer\":11155, \"nterms\":121, \"nterms with chunk\":116}, " -"{\"buffer id\":1, ...}, ...]" +"対象のテーブルが主キーを持つテーブルであった場合は、カラム名の中に'_key'(主" +"キーを示す疑似カラム名)が含まれていなければなりません。" msgstr "" -"check Terms.name [{\"flags\":\"00008202\", \"max sid\":1, \"number of " -"garbage segments\":0, \"number of array segments\":1, \"max id of array " -"segment\":1, \"number of buffer segments\":110, \"max id of buffer " -"segment\":111, \"max id of physical segment in use\":111, \"number of " -"unmanaged segments\":4294967185, \"total chunk size\":7470239, \"max id " -"of chunk segments in use\":127, \"number of garbage chunk\":" -"[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0]}, {\"buffer id\":0, \"chunk size" -"\":94392, \"buffer term\":[\"596\",\"59777\",\"6\",...], \"buffer free" -"\":152944, \"size in buffer\":7361, \"nterms\":237, \"nterms with chunk" -"\":216, \"buffer id\":1, \"chunk size\":71236, \"buffer term\":[[\"に述" -"\",18149,18149,2,25,6,6], [\"に追" -"\",4505,4505,76,485,136,174], [\"に退" -"\",26568,26568,2,9,2,2], ...], \"buffer free\":120000, " -"\"size in buffer\":11155, \"nterms\":121, \"nterms with chunk\":116}, " -"{\"buffer id\":1, ...}, ...]" - -#: ../../../source/commands/clearlock.txt:6 -msgid "clearlock" -msgstr "clearlock" - -#: ../../../source/commands/clearlock.txt:11 -msgid "clearlock - オブジェクトにセットされたロックを解除する" -msgstr "clearlock - オブジェクトにセットされたロックを解除する" +"対象のテーブルが主キーを持つテーブルであった場合は、カラム名の中に'_key'(主" +"キーを示す疑似カラム名)が含まれていなければなりません。" -#: ../../../source/commands/clearlock.txt:17 -msgid "clearlock objname" -msgstr "clearlock objname" +#: ../../../source/commands/log_level.txt:60 +msgid "log_level warning [true]" +msgstr "log_level warning [true]" -#: ../../../source/commands/clearlock.txt:22 -msgid "" -"groonga組込コマンドの一つであるclearlockについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるclearlockについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +#: ../../../source/commands/define_selector.txt:53 +msgid "追加するselectorコマンドのscorer引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのscorer引数のデフォルト値を指定します。" -#: ../../../source/commands/clearlock.txt:24 +#: ../../../source/commands/column_remove.txt:24 msgid "" -"clearlockは、対象となるオブジェクト(データベース,テーブル,インデックス等)を指" -"定し、オブジェクトにかけられたロックを再帰的に解除します。" +"column_removeはテーブルに定義されているカラムを削除します。 また、付随するイ" +"ンデックスも削除されます。[#]_" msgstr "" -"clearlockは、対象となるオブジェクト(データベース,テーブル,インデックス等)を指" -"定し、オブジェクトにかけられたロックを再帰的に解除します。" - -#: ../../../source/commands/clearlock.txt:29 -#: ../../../source/commands/defrag.txt:29 -msgid "``objname``" -msgstr "``objname``" +"column_removeはテーブルに定義されているカラムを削除します。 また、付随するイ" +"ンデックスも削除されます。[#]_" -#: ../../../source/commands/clearlock.txt:31 -#: ../../../source/commands/defrag.txt:31 +#: ../../../source/commands/table_create.txt:22 msgid "" -"対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対" -"象となります。" +"groonga組込コマンドの一つであるtable_createについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" msgstr "" -"対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対" -"象となります。" - -#: ../../../source/commands/clearlock.txt:33 -#: ../../../source/commands/delete.txt:41 -msgid "返値 ---" -msgstr "返値 ---" +"groonga組込コマンドの一つであるtable_createについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" -#: ../../../source/commands/clearlock.txt:41 -#: ../../../source/commands/column_create.txt:78 -#: ../../../source/commands/column_remove.txt:44 -#: ../../../source/commands/define_selector.txt:99 -#: ../../../source/commands/delete.txt:49 -#: ../../../source/commands/log_level.txt:50 -#: ../../../source/commands/log_put.txt:54 -#: ../../../source/commands/log_reopen.txt:41 -#: ../../../source/commands/table_create.txt:96 -#: ../../../source/commands/table_remove.txt:40 -#: ../../../source/commands/view_add.txt:45 +#: ../../../source/commands/select.txt:191 msgid "" -"[成功かどうかのフラグ] ``成功かどうかのフラグ`` エラーが生じなかった場合" -"にはtrue、エラーが生じた場合にはfalseを返す。" +"grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内" +"容を示す 文字列が返されます。" msgstr "" -"[成功かどうかのフラグ] ``成功かどうかのフラグ`` エラーが生じなかった場合" -"にはtrue、エラーが生じた場合にはfalseを返す。" +"grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内" +"容を示す 文字列が返されます。" -#: ../../../source/commands/clearlock.txt:50 -msgid "開いているデータベースのロックをすべて解除する::" -msgstr "開いているデータベースのロックをすべて解除する::" +#: ../../../source/commands/cache_limit.txt:53 +msgid "cache_limit 4 [100]" +msgstr "cache_limit 4 [100]" -#: ../../../source/commands/clearlock.txt:52 -msgid "clearlock [true]" -msgstr "clearlock [true]" +#: ../../../source/commands/select.txt:249 +msgid "テーブルEntryの全レコード・全カラムの値を出力します。::" +msgstr "テーブルEntryの全レコード・全カラムの値を出力します。::" -#: ../../../source/commands/clearlock.txt:55 -msgid "テーブル名 Entry のカラム body のロックを解除する::" -msgstr "テーブル名 Entry のカラム body のロックを解除する::" +#: ../../../source/commands/define_selector.txt:11 +msgid "define_selector - 検索コマンドを定義" +msgstr "define_selector - 検索コマンドを定義" -#: ../../../source/commands/clearlock.txt:57 -msgid "clearlock Entry.body [true]" -msgstr "clearlock Entry.body [true]" +#: ../../../source/commands/select.txt:46 +msgid "複数のカラムを'||'で結合して指定することもできます。" +msgstr "複数のカラムを'||'で結合して指定することもできます。" -#: ../../../source/commands/clearlock.txt:61 -#: ../../../source/commands/define_selector.txt:114 -#: ../../../source/commands/delete.txt:65 ../../../source/commands/load.txt:98 -#: ../../../source/commands/log_level.txt:64 -#: ../../../source/commands/log_put.txt:68 -#: ../../../source/commands/log_reopen.txt:65 -#: ../../../source/commands/select.txt:256 -msgid "関連項目" -msgstr "関連項目" +#: ../../../source/commands/load.txt:63 +msgid "入力形式を指定します。JSONのみに対応しています。" +msgstr "入力形式を指定します。JSONのみに対応しています。" -#: ../../../source/commands/clearlock.txt:63 -#: ../../../source/commands/delete.txt:67 -msgid ":doc:`load`" -msgstr ":doc:`load`" +#: ../../../source/commands/select.txt:230 +msgid "``件数``" +msgstr "``件数``" -#: ../../../source/commands/column_create.txt:6 -msgid "column_create" -msgstr "column_create" +#: ../../../source/commands/dump.txt:28 +msgid "" +"% groonga original/db dump > dump.grn % mkdir backup % groonga -n backup/db " +"< dump.grn" +msgstr "" +"% groonga original/db dump > dump.grn % mkdir backup % groonga -n backup/db " +"< dump.grn" -#: ../../../source/commands/column_create.txt:11 -msgid "column_create - カラムの追加" -msgstr "column_create - カラムの追加" +#: ../../../source/commands/load.txt:61 +msgid "``input_type``" +msgstr "``input_type``" -#: ../../../source/commands/column_create.txt:17 -msgid "column_create table name flags type [source]" -msgstr "column_create table name flags type [source]" +#: ../../../source/commands/define_selector.txt:26 +msgid "" +"define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。" +msgstr "" +"define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。" -#: ../../../source/commands/column_create.txt:22 +#: ../../../source/commands/table_remove.txt:22 msgid "" -"groonga組込コマンドの一つであるcolumn_createについて説明します。組込コマンド" +"groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンド" "は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" "リクエストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるcolumn_createについて説明します。組込コマンド" +"groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンド" "は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" "リクエストを送信することによって実行します。" -#: ../../../source/commands/column_create.txt:24 -msgid "" -"column_createは、使用しているデータベースのテーブルに対してカラムを追加しま" -"す。" -msgstr "" -"column_createは、使用しているデータベースのテーブルに対してカラムを追加しま" -"す。" - -#: ../../../source/commands/column_create.txt:29 -#: ../../../source/commands/define_selector.txt:35 -#: ../../../source/commands/delete.txt:29 ../../../source/commands/load.txt:49 -#: ../../../source/commands/select.txt:32 -#: ../../../source/commands/suggest.txt:47 -#: ../../../source/commands/view_add.txt:33 -msgid "``table``" -msgstr "``table``" - -#: ../../../source/commands/column_create.txt:31 -msgid "カラムを追加するテーブルの名前を指定します。" -msgstr "カラムを追加するテーブルの名前を指定します。" - -#: ../../../source/commands/column_create.txt:33 -#: ../../../source/commands/column_list.txt:51 -#: ../../../source/commands/define_selector.txt:31 -#: ../../../source/commands/table_create.txt:31 -#: ../../../source/commands/table_list.txt:50 -msgid "``name``" -msgstr "``name``" +#: ../../../source/commands/select.txt:77 +msgid "比較条件(カラム値 > 値)" +msgstr "比較条件(カラム値 > 値)" -#: ../../../source/commands/column_create.txt:35 -msgid "" -"作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければな" -"りません。" -msgstr "" -"作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければな" -"りません。" +#: ../../../source/commands/select.txt:89 +msgid "結合演算子" +msgstr "結合演算子" -#: ../../../source/commands/column_create.txt:37 +#: ../../../source/commands/suggest.txt:8 msgid "" -"ピリオド('.'), コロン(':')を含む名前のカラムは作成できません。また、アンダー" -"スコア('_')で始まる名前は予約済みであり、使用できません。" +"** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必" +"要となります。 **" msgstr "" -"ピリオド('.'), コロン(':')を含む名前のカラムは作成できません。また、アンダー" -"スコア('_')で始まる名前は予約済みであり、使用できません。" +"** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必" +"要となります。 **" -#: ../../../source/commands/column_create.txt:39 -#: ../../../source/commands/column_list.txt:63 -#: ../../../source/commands/table_create.txt:35 -#: ../../../source/commands/table_list.txt:58 -msgid "``flags``" -msgstr "``flags``" +#: ../../../source/commands/load.txt:53 +msgid "``columns``" +msgstr "``columns``" -#: ../../../source/commands/column_create.txt:41 +#: ../../../source/commands/column_list.txt:44 msgid "" -"カラムの属性を表す以下の数値か、パイプ('|')で組み合わせたシンボル名を指定しま" -"す。" +"``カラム情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容かを" +"示す名前を出力します。 情報名は以下の通りです。" msgstr "" -"カラムの属性を表す以下の数値か、パイプ('|')で組み合わせたシンボル名を指定しま" -"す。" - -#: ../../../source/commands/column_create.txt:44 -msgid "単一の値が格納できるカラムを作成します。" -msgstr "単一の値が格納できるカラムを作成します。" +"``カラム情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容かを" +"示す名前を出力します。 情報名は以下の通りです。" #: ../../../source/commands/column_create.txt:46 msgid "複数の値の配列を格納できるカラムを作成します。" msgstr "複数の値の配列を格納できるカラムを作成します。" -#: ../../../source/commands/column_create.txt:48 -msgid "インデックス型のカラムを作成します。" -msgstr "インデックス型のカラムを作成します。" - -#: ../../../source/commands/column_create.txt:50 +#: ../../../source/commands/select.txt:50 msgid "" -"インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追" -"加の属 性を指定することができます。" +"また、カラム名ではなく、検索に使用するインデックス名を指定することもできま" +"す。" msgstr "" -"インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追" -"加の属 性を指定することができます。" - -#: ../../../source/commands/column_create.txt:54 -msgid "段落情報を格納するインデックスを作成します。" -msgstr "段落情報を格納するインデックスを作成します。" +"また、カラム名ではなく、検索に使用するインデックス名を指定することもできま" +"す。" -#: ../../../source/commands/column_create.txt:57 -msgid "ウェイト情報を格納するインデックスを作成します。" -msgstr "ウェイト情報を格納するインデックスを作成します。" +#: ../../../source/commands/table_list.txt:41 +msgid "``テーブル情報名n``" +msgstr "``テーブル情報名n``" -#: ../../../source/commands/column_create.txt:60 -msgid "位置情報を格納するインデックス(完全転置インデックス)を作成します。" -msgstr "位置情報を格納するインデックス(完全転置インデックス)を作成します。" +#: ../../../source/commands/check.txt:31 +msgid "状態を表示するオブジェクトの名前を指定します。" +msgstr "状態を表示するオブジェクトの名前を指定します。" -#: ../../../source/commands/column_create.txt:62 -#: ../../../source/commands/column_list.txt:59 -msgid "``type``" -msgstr "``type``" +#: ../../../source/commands/shutdown.txt:11 +msgid "shutdown - サーバプロセスの停止" +msgstr "shutdown - サーバプロセスの停止" -#: ../../../source/commands/column_create.txt:64 -msgid "" -"値の型を指定します。groongaの組込型か、同一データベースに定義済みのユーザ定義" -"型、定義済みのテーブルを指定することができます。" -msgstr "" -"値の型を指定します。groongaの組込型か、同一データベースに定義済みのユーザ定義" -"型、定義済みのテーブルを指定することができます。" +#: ../../../source/commands/log_put.txt:24 +msgid "log_putは、ログにmessageを出力します。" +msgstr "log_putは、ログにmessageを出力します。" -#: ../../../source/commands/column_create.txt:66 -#: ../../../source/commands/column_list.txt:75 -msgid "``source``" -msgstr "``source``" +#: ../../../source/commands/suggest.txt:6 +msgid "suggest" +msgstr "suggest" -#: ../../../source/commands/column_create.txt:68 +#: ../../../source/commands/defrag.txt:41 msgid "" -"インデックス型のカラムを作成した場合は、インデックス対象となるカラムをsource" -"引数に指定します。" +"[フラグメンテーション解消を実行したセグメントの数] ``フラグメンテーション解" +"消を実行したセグメントの数`` フラグメンテーション解消を実行したセグメント" +"の数を返す。" msgstr "" -"インデックス型のカラムを作成した場合は、インデックス対象となるカラムをsource" -"引数に指定します。" - -#: ../../../source/commands/column_create.txt:87 -msgid "テーブルEntryに、ShortText型の値を格納するカラム、bodyを作成します。::" -msgstr "テーブルEntryに、ShortText型の値を格納するカラム、bodyを作成します。::" - -#: ../../../source/commands/column_create.txt:89 -msgid "column_create Entry body --type ShortText [true]" -msgstr "column_create Entry body --type ShortText [true]" +"[フラグメンテーション解消を実行したセグメントの数] ``フラグメンテーション解" +"消を実行したセグメントの数`` フラグメンテーション解消を実行したセグメント" +"の数を返す。" -#: ../../../source/commands/column_create.txt:92 -msgid "" -"テーブルTermに、Entryテーブルのbodyカラムの値を対象とする完全転置インデックス" -"型カラム、entry_bodyを作成します。::" -msgstr "" -"テーブルTermに、Entryテーブルのbodyカラムの値を対象とする完全転置インデックス" -"型カラム、entry_bodyを作成します。::" +#: ../../../source/commands/column_create.txt:48 +msgid "インデックス型のカラムを作成します。" +msgstr "インデックス型のカラムを作成します。" -#: ../../../source/commands/column_create.txt:94 +#: ../../../source/commands/check.txt:24 msgid "" -"column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body [true]" +"checkコマンドは、groongaプロセス内の指定したオブジェクトの状態を表示します。" +"主にデータベースが壊れた場合など異常時の問題解決のために使用することを想定し" +"ています。デバッグ用のため、返値のフォーマットが安定しているということは保証" +"されません。(フォーマットが変更される可能性が高い)" msgstr "" -"column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body [true]" +"checkコマンドは、groongaプロセス内の指定したオブジェクトの状態を表示します。" +"主にデータベースが壊れた場合など異常時の問題解決のために使用することを想定し" +"ています。デバッグ用のため、返値のフォーマットが安定しているということは保証" +"されません。(フォーマットが変更される可能性が高い)" -#: ../../../source/commands/column_list.txt:6 -msgid "column_list" -msgstr "column_list" +#: ../../../source/commands/log_level.txt:31 +#: ../../../source/commands/log_put.txt:31 +msgid "設定するログ出力レベルの値を以下のいずれかで指定します。" +msgstr "設定するログ出力レベルの値を以下のいずれかで指定します。" -#: ../../../source/commands/column_list.txt:11 -msgid "column_list - テーブルに定義されているカラムのリスト表示" -msgstr "column_list - テーブルに定義されているカラムのリスト表示" +#: ../../../source/commands/delete.txt:17 +msgid "delete table [key [id]]" +msgstr "delete table [key [id]]" -#: ../../../source/commands/column_list.txt:17 -msgid "column_list table" -msgstr "column_list table" +#: ../../../source/commands/column_create.txt:37 +msgid "" +"ピリオド('.'), コロン(':')を含む名前のカラムは作成できません。また、アンダー" +"スコア('_')で始まる名前は予約済みであり、使用できません。" +msgstr "" +"ピリオド('.'), コロン(':')を含む名前のカラムは作成できません。また、アンダー" +"スコア('_')で始まる名前は予約済みであり、使用できません。" #: ../../../source/commands/column_list.txt:22 msgid "" @@ -671,543 +356,681 @@ msgstr "" "は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" "リクエストを送信することによって実行します。" -#: ../../../source/commands/column_list.txt:24 -msgid "column_listはテーブルに定義されているカラムをリスト表示します。" -msgstr "column_listはテーブルに定義されているカラムをリスト表示します。" - -#: ../../../source/commands/column_list.txt:30 -msgid "カラム情報を出力するテーブルの名前を指定します。" -msgstr "カラム情報を出力するテーブルの名前を指定します。" - -#: ../../../source/commands/column_list.txt:38 -msgid "カラム名一覧を以下の形式で返却します。::" -msgstr "カラム名一覧を以下の形式で返却します。::" - -#: ../../../source/commands/column_list.txt:40 -msgid "[[[カラム情報名1,カラム情報型1],...], カラム情報1,...]" -msgstr "[[[カラム情報名1,カラム情報型1],...], カラム情報1,...]" +#: ../../../source/commands/clearlock.txt:50 +msgid "開いているデータベースのロックをすべて解除する::" +msgstr "開いているデータベースのロックをすべて解除する::" -#: ../../../source/commands/column_list.txt:42 -msgid "``カラム情報名n``" -msgstr "``カラム情報名n``" +#: ../../../source/commands/define_selector.txt:6 +msgid "define_selector" +msgstr "define_selector" -#: ../../../source/commands/column_list.txt:44 +#: ../../../source/commands/load.txt:84 msgid "" -"``カラム情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容かを" -"示す名前を出力します。 情報名は以下の通りです。" +"load --table Entry --input_type json --values [{\\\"_key\\\":\\\"abandon\\\"," +"\\\"body\\\":\\\"放棄する\\\"}] [1]" msgstr "" -"``カラム情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容かを" -"示す名前を出力します。 情報名は以下の通りです。" - -#: ../../../source/commands/column_list.txt:47 -#: ../../../source/commands/delete.txt:37 -#: ../../../source/commands/table_list.txt:46 -msgid "``id``" -msgstr "``id``" - -#: ../../../source/commands/column_list.txt:49 -msgid "カラムオブジェクトに割り当てられたID" -msgstr "カラムオブジェクトに割り当てられたID" - -#: ../../../source/commands/column_list.txt:53 -#: ../../../source/commands/select.txt:40 -msgid "カラム名" -msgstr "カラム名" +"load --table Entry --input_type json --values [{\\\"_key\\\":\\\"abandon\\\"," +"\\\"body\\\":\\\"放棄する\\\"}] [1]" -#: ../../../source/commands/column_list.txt:55 -#: ../../../source/commands/table_list.txt:54 -msgid "``path``" -msgstr "``path``" +#: ../../../source/commands/view_add.txt:11 +msgid "view_add - view型のテーブルに要素となるテーブルを追加" +msgstr "view_add - view型のテーブルに要素となるテーブルを追加" -#: ../../../source/commands/column_list.txt:57 -msgid "カラム値を格納するファイル名" -msgstr "カラム値を格納するファイル名" +#: ../../../source/commands/table_create.txt:33 +msgid "" +"作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名" +"前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであ" +"り、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前" +"のテーブルは作成できません。" +msgstr "" +"作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名" +"前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであ" +"り、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前" +"のテーブルは作成できません。" -#: ../../../source/commands/column_list.txt:61 -msgid "スカラ型、ベクタ型、インデックス型の種別" -msgstr "スカラ型、ベクタ型、インデックス型の種別" +#: ../../../source/commands/column_list.txt:30 +msgid "カラム情報を出力するテーブルの名前を指定します。" +msgstr "カラム情報を出力するテーブルの名前を指定します。" -#: ../../../source/commands/column_list.txt:65 -msgid "カラムのflags属性" -msgstr "カラムのflags属性" +#: ../../../source/commands/log_reopen.txt:61 +msgid "" +"既存のログファイル名と同じファイル名で、新たなログファイルが作成される。 今後" +"のログは新たなログファイルに書き込まれる。" +msgstr "" +"既存のログファイル名と同じファイル名で、新たなログファイルが作成される。 今後" +"のログは新たなログファイルに書き込まれる。" -#: ../../../source/commands/column_list.txt:67 -#: ../../../source/commands/table_list.txt:62 -msgid "``domain``" -msgstr "``domain``" +#: ../../../source/commands/table_list.txt:6 +#: ../../../source/commands/table_list.txt:17 +msgid "table_list" +msgstr "table_list" -#: ../../../source/commands/column_list.txt:69 -msgid "カラムの値の属する型" -msgstr "カラムの値の属する型" +#: ../../../source/commands/column_list.txt:38 +msgid "カラム名一覧を以下の形式で返却します。::" +msgstr "カラム名一覧を以下の形式で返却します。::" -#: ../../../source/commands/column_list.txt:71 -#: ../../../source/commands/table_list.txt:66 -msgid "``range``" -msgstr "``range``" +#: ../../../source/commands/view_add.txt:6 +msgid "view_add" +msgstr "view_add" -#: ../../../source/commands/column_list.txt:73 -msgid "テーブルのkeyの型" -msgstr "テーブルのkeyの型" +#: ../../../source/commands/load.txt:59 +msgid "" +"指定した主キーに対応するレコードが既にテーブルに登録済みであった場合に実行す" +"るscript形式のgrn_expr文字列を指定します。ifexistsにgrn_exprが指定された場合" +"は、式の値が真である場合に限り、その他のカラムの値が更新されます。(デフォルト" +"はtrue)" +msgstr "" +"指定した主キーに対応するレコードが既にテーブルに登録済みであった場合に実行す" +"るscript形式のgrn_expr文字列を指定します。ifexistsにgrn_exprが指定された場合" +"は、式の値が真である場合に限り、その他のカラムの値が更新されます。(デフォルト" +"はtrue)" -#: ../../../source/commands/column_list.txt:77 -msgid "インデックスカラムのとき、インデックス対象カラム名の配列" -msgstr "インデックスカラムのとき、インデックス対象カラム名の配列" +#: ../../../source/commands/define_selector.txt:65 +msgid "追加するselectorコマンドのoffset引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのoffset引数のデフォルト値を指定します。" -#: ../../../source/commands/column_list.txt:79 -msgid "``カラム情報型n``" -msgstr "``カラム情報型n``" +#: ../../../source/commands/clearlock.txt:17 +msgid "clearlock objname" +msgstr "clearlock objname" -#: ../../../source/commands/column_list.txt:81 -msgid "カラム情報の型を出力します。" -msgstr "カラム情報の型を出力します。" +#: ../../../source/commands/select.txt:156 +msgid "" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。" +"drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetに" +"よって算出される値が指定されたものとみなされます。" +msgstr "" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。" +"drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetに" +"よって算出される値が指定されたものとみなされます。" -#: ../../../source/commands/column_list.txt:83 -msgid "``カラム情報n``" -msgstr "``カラム情報n``" +#: ../../../source/commands/column_list.txt:11 +msgid "column_list - テーブルに定義されているカラムのリスト表示" +msgstr "column_list - テーブルに定義されているカラムのリスト表示" -#: ../../../source/commands/column_list.txt:85 +#: ../../../source/commands/select.txt:222 msgid "" -"``カラム情報名n`` で示された情報の配列を出力します。 情報の順序は ``カラム情" -"報名n`` の順序と同じです。" +"output_columns, offset, limitによって指定された条件に従って各レコードの値が出" +"力されます。" msgstr "" -"``カラム情報名n`` で示された情報の配列を出力します。 情報の順序は ``カラム情" -"報名n`` の順序と同じです。" +"output_columns, offset, limitによって指定された条件に従って各レコードの値が出" +"力されます。" -#: ../../../source/commands/column_list.txt:92 +#: ../../../source/commands/select.txt:148 msgid "" -"column_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " -"[\"path\",\"ShortText\"], [\"type\",\"ShortText\"], [\"flags\"," -"\"ShortText\"], [\"domain\", \"ShortText\"], [\"range\", \"ShortText" -"\"], [\"source\",\"ShortText\"]], [258, \"Entry.body\", \"test." -"db.0000102\", \"var\", \"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\", " -"\"Entry\", \"ShortText\", []]]" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソー" +"トキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータ" +"と同様に昇降順を指定できます。" msgstr "" -"column_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " -"[\"path\",\"ShortText\"], [\"type\",\"ShortText\"], [\"flags\"," -"\"ShortText\"], [\"domain\", \"ShortText\"], [\"range\", \"ShortText" -"\"], [\"source\",\"ShortText\"]], [258, \"Entry.body\", \"test." -"db.0000102\", \"var\", \"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\", " -"\"Entry\", \"ShortText\", []]]" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソー" +"トキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータ" +"と同様に昇降順を指定できます。" -#: ../../../source/commands/column_list.txt:111 -#: ../../../source/commands/table_list.txt:104 -msgid "注: 実際は改行が入りません。" -msgstr "注: 実際は改行が入りません。" +#: ../../../source/commands/define_selector.txt:79 +#: ../../../source/commands/select.txt:150 +msgid "``drilldown_output_columns``" +msgstr "``drilldown_output_columns``" -#: ../../../source/commands/column_remove.txt:6 -msgid "column_remove" -msgstr "column_remove" +#: ../../../source/commands/column_create.txt:62 +#: ../../../source/commands/column_list.txt:59 +msgid "``type``" +msgstr "``type``" -#: ../../../source/commands/column_remove.txt:11 -msgid "column_remove - テーブルに定義されているカラムの削除" -msgstr "column_remove - テーブルに定義されているカラムの削除" +#: ../../../source/commands/table_list.txt:24 +msgid "table_listは、DBに定義されているテーブルのリストを表示します。" +msgstr "table_listは、DBに定義されているテーブルのリストを表示します。" -#: ../../../source/commands/column_remove.txt:17 -msgid "column_remove table name" -msgstr "column_remove table name" +#: ../../../source/commands/define_selector.txt:75 +#: ../../../source/commands/select.txt:146 +msgid "``drilldown_sortby``" +msgstr "``drilldown_sortby``" -#: ../../../source/commands/column_remove.txt:22 -msgid "" -"groonga組込コマンドの一つであるcolumn_removeについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるcolumn_removeについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +#: ../../../source/commands/clearlock.txt:6 +msgid "clearlock" +msgstr "clearlock" -#: ../../../source/commands/column_remove.txt:24 +#: ../../../source/commands/table_create.txt:84 msgid "" -"column_removeはテーブルに定義されているカラムを削除します。 また、付随するイ" -"ンデックスも削除されます。[#]_" +"形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ" +"有効)" msgstr "" -"column_removeはテーブルに定義されているカラムを削除します。 また、付随するイ" -"ンデックスも削除されます。[#]_" +"形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ" +"有効)" -#: ../../../source/commands/column_remove.txt:31 -#: ../../../source/commands/table_remove.txt:30 -msgid "削除対象のカラムが定義されているテーブルの名前を指定します。" -msgstr "削除対象のカラムが定義されているテーブルの名前を指定します。" +#: ../../../source/commands/load.txt:75 +msgid "``登録件数``" +msgstr "``登録件数``" -#: ../../../source/commands/column_remove.txt:34 -msgid "削除対象のカラム名を指定します。" -msgstr "削除対象のカラム名を指定します。" +#: ../../../source/commands/select.txt:34 +msgid "" +"検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーにな" +"ります。" +msgstr "" +"検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーにな" +"ります。" -#: ../../../source/commands/column_remove.txt:54 -#: ../../../source/commands/table_remove.txt:50 -msgid "column_remove Entry body [true]" -msgstr "column_remove Entry body [true]" +#: ../../../source/commands/column_list.txt:55 +#: ../../../source/commands/table_list.txt:54 +msgid "``path``" +msgstr "``path``" -#: ../../../source/commands/column_remove.txt:59 -msgid "脚注" -msgstr "脚注" +#: ../../../source/commands/status.txt:58 +msgid "status {\"alloc_count\":104, \"starttime\":1268213679, \"uptime\":1}" +msgstr "status {\"alloc_count\":104, \"starttime\":1268213679, \"uptime\":1}" -#: ../../../source/commands/column_remove.txt:60 -msgid "" -"マルチセクションインデックスの一部である場合も、インデックスが削除されます。" -msgstr "" -"マルチセクションインデックスの一部である場合も、インデックスが削除されます。" +#: ../../../source/commands/log_put.txt:42 +msgid "``message``" +msgstr "``message``" -#: ../../../source/commands/define_selector.txt:6 -msgid "define_selector" -msgstr "define_selector" +#: ../../../source/commands/define_selector.txt:87 +#: ../../../source/commands/select.txt:158 +msgid "``drilldown_limit``" +msgstr "``drilldown_limit``" -#: ../../../source/commands/define_selector.txt:11 -msgid "define_selector - 検索コマンドを定義" -msgstr "define_selector - 検索コマンドを定義" +#: ../../../source/commands/dump.txt:17 +msgid "dump [tables]" +msgstr "dump [tables]" -#: ../../../source/commands/define_selector.txt:17 -msgid "" -"define_selector name table [match_columns [query [filter [scorer " -"[sortby [output_columns [offset [limit [drilldown " -"[drilldown_sortby [drilldown_output_columns " -"[drilldown_offset [drilldown_limit]]]]]]]]]]]]]" -msgstr "" -"define_selector name table [match_columns [query [filter [scorer " -"[sortby [output_columns [offset [limit [drilldown " -"[drilldown_sortby [drilldown_output_columns " -"[drilldown_offset [drilldown_limit]]]]]]]]]]]]]" +#: ../../../source/commands/clearlock.txt:33 +#: ../../../source/commands/delete.txt:41 +msgid "返値 ---" +msgstr "返値 ---" -#: ../../../source/commands/define_selector.txt:24 -msgid "" -"groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマン" -"ドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバ" -"にリクエストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマン" -"ドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバ" -"にリクエストを送信することによって実行します。" +#: ../../../source/commands/defrag.txt:57 +msgid "defrag Entry.body [30]" +msgstr "defrag Entry.body [30]" -#: ../../../source/commands/define_selector.txt:26 +#: ../../../source/commands/suggest.txt:26 msgid "" -"define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。" +"補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミス" +"タイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補と" +"なるクエリを提案することです。" msgstr "" -"define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。" - -#: ../../../source/commands/define_selector.txt:33 -msgid "定義するselectorコマンドの名前を指定します。" -msgstr "定義するselectorコマンドの名前を指定します。" +"補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミス" +"タイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補と" +"なるクエリを提案することです。" -#: ../../../source/commands/define_selector.txt:37 -msgid "検索対象のテーブルを指定します。" -msgstr "検索対象のテーブルを指定します。" +#: ../../../source/commands/log_level.txt:6 +msgid "log_level" +msgstr "log_level" -#: ../../../source/commands/define_selector.txt:39 -#: ../../../source/commands/select.txt:36 -msgid "``match_columns``" -msgstr "``match_columns``" +#: ../../../source/commands/cache_limit.txt:9 +#: ../../../source/commands/check.txt:9 +#: ../../../source/commands/clearlock.txt:9 +#: ../../../source/commands/column_create.txt:9 +#: ../../../source/commands/column_list.txt:9 +#: ../../../source/commands/column_remove.txt:9 +#: ../../../source/commands/define_selector.txt:9 +#: ../../../source/commands/defrag.txt:9 ../../../source/commands/delete.txt:9 +#: ../../../source/commands/dump.txt:9 ../../../source/commands/load.txt:9 +#: ../../../source/commands/log_level.txt:9 +#: ../../../source/commands/log_put.txt:9 +#: ../../../source/commands/log_reopen.txt:9 +#: ../../../source/commands/quit.txt:9 ../../../source/commands/select.txt:9 +#: ../../../source/commands/shutdown.txt:9 +#: ../../../source/commands/status.txt:9 +#: ../../../source/commands/suggest.txt:11 +#: ../../../source/commands/table_create.txt:9 +#: ../../../source/commands/table_list.txt:9 +#: ../../../source/commands/table_remove.txt:9 +#: ../../../source/commands/view_add.txt:9 +msgid "名前" +msgstr "名前" -#: ../../../source/commands/define_selector.txt:41 -msgid "追加するselectorコマンドのmatch_columns引数のデフォルト値を指定します。" -msgstr "" -"追加するselectorコマンドのmatch_columns引数のデフォルト値を指定します。" +#: ../../../source/commands/table_create.txt:17 +msgid "table_create name [flags [key_type [value_type [default_tokenizer]]]]" +msgstr "table_create name [flags [key_type [value_type [default_tokenizer]]]]" -#: ../../../source/commands/define_selector.txt:43 -#: ../../../source/commands/select.txt:52 -#: ../../../source/commands/suggest.txt:55 -msgid "``query``" -msgstr "``query``" +#: ../../../source/commands/log_put.txt:64 +msgid "log_put ERROR ****MESSAGE**** [true]" +msgstr "log_put ERROR ****MESSAGE**** [true]" -#: ../../../source/commands/define_selector.txt:45 -msgid "追加するselectorコマンドのquery引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのquery引数のデフォルト値を指定します。" +#: ../../../source/commands/cache_limit.txt:29 +msgid "``max``" +msgstr "``max``" -#: ../../../source/commands/define_selector.txt:47 -#: ../../../source/commands/select.txt:106 -msgid "``filter``" -msgstr "``filter``" +#: ../../../source/commands/select.txt:183 +msgid "以下のようなjson形式で値が返却されます。" +msgstr "以下のようなjson形式で値が返却されます。" -#: ../../../source/commands/define_selector.txt:49 -msgid "追加するselectorコマンドのfilter引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのfilter引数のデフォルト値を指定します。" +#: ../../../source/commands/select.txt:74 +msgid "比較条件(カラム値 < 値)" +msgstr "比較条件(カラム値 < 値)" -#: ../../../source/commands/define_selector.txt:51 -#: ../../../source/commands/select.txt:112 -msgid "``scorer``" -msgstr "``scorer``" +#: ../../../source/commands/suggest.txt:35 +msgid "``complete``" +msgstr "``complete``" -#: ../../../source/commands/define_selector.txt:53 -msgid "追加するselectorコマンドのscorer引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのscorer引数のデフォルト値を指定します。" +#: ../../../source/commands/select.txt:114 +msgid "" +"検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定" +"します。" +msgstr "" +"検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定" +"します。" -#: ../../../source/commands/define_selector.txt:55 -#: ../../../source/commands/select.txt:118 -msgid "``sortby``" -msgstr "``sortby``" +#: ../../../source/commands/defrag.txt:24 +msgid "" +"defragは、対象となるオブジェクト(データベースか可変長サイズカラム)を指定し、" +"オブジェクトのフラグメンテーションを解消します。" +msgstr "" +"defragは、対象となるオブジェクト(データベースか可変長サイズカラム)を指定し、" +"オブジェクトのフラグメンテーションを解消します。" -#: ../../../source/commands/define_selector.txt:57 -msgid "追加するselectorコマンドのsortby引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのsortby引数のデフォルト値を指定します。" +#: ../../../source/commands.txt:6 +msgid "コマンド" +msgstr "コマンド" -#: ../../../source/commands/define_selector.txt:59 -#: ../../../source/commands/select.txt:128 -msgid "``output_columns``" -msgstr "``output_columns``" +#: ../../../source/commands/table_remove.txt:17 +msgid "table_remove table" +msgstr "table_remove table" -#: ../../../source/commands/define_selector.txt:61 +#: ../../../source/commands/load.txt:31 msgid "" -"追加するselectorコマンドのoutput_columns引数のデフォルト値を指定します。" +"input_typeに指定する形式で登録するレコードの値を表現した文字列を渡します。" msgstr "" -"追加するselectorコマンドのoutput_columns引数のデフォルト値を指定します。" +"input_typeに指定する形式で登録するレコードの値を表現した文字列を渡します。" -#: ../../../source/commands/define_selector.txt:63 -#: ../../../source/commands/select.txt:134 -msgid "``offset``" -msgstr "``offset``" +#: ../../../source/commands/load.txt:47 +msgid "続きの文字列については、空白文字(' ')をエスケープする必要はありません。" +msgstr "" +"続きの文字列については、空白文字(' ')をエスケープする必要はありません。" -#: ../../../source/commands/define_selector.txt:65 -msgid "追加するselectorコマンドのoffset引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのoffset引数のデフォルト値を指定します。" +#: ../../../source/commands/select.txt:224 +msgid "``drilldown結果``" +msgstr "``drilldown結果``" -#: ../../../source/commands/define_selector.txt:67 -#: ../../../source/commands/select.txt:138 -msgid "``limit``" -msgstr "``limit``" +#: ../../../source/commands/select.txt:97 +msgid "論理積(aとbの両方がマッチする)" +msgstr "論理積(aとbの両方がマッチする)" + +#: ../../../source/commands/select.txt:164 +msgid "クエリキャッシュに関する動作を設定します。" +msgstr "クエリキャッシュに関する動作を設定します。" + +#: ../../../source/commands/cache_limit.txt:14 +#: ../../../source/commands/check.txt:14 +#: ../../../source/commands/clearlock.txt:14 +#: ../../../source/commands/column_create.txt:14 +#: ../../../source/commands/column_list.txt:14 +#: ../../../source/commands/column_remove.txt:14 +#: ../../../source/commands/define_selector.txt:14 +#: ../../../source/commands/defrag.txt:14 +#: ../../../source/commands/delete.txt:14 ../../../source/commands/dump.txt:14 +#: ../../../source/commands/load.txt:14 +#: ../../../source/commands/log_level.txt:14 +#: ../../../source/commands/log_put.txt:14 +#: ../../../source/commands/log_reopen.txt:14 +#: ../../../source/commands/quit.txt:14 ../../../source/commands/select.txt:14 +#: ../../../source/commands/shutdown.txt:14 +#: ../../../source/commands/status.txt:14 +#: ../../../source/commands/suggest.txt:16 +#: ../../../source/commands/table_create.txt:14 +#: ../../../source/commands/table_list.txt:14 +#: ../../../source/commands/table_remove.txt:14 +#: ../../../source/commands/view_add.txt:14 +msgid "書式" +msgstr "書式" -#: ../../../source/commands/define_selector.txt:69 -msgid "追加するselectorコマンドのlimit引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのlimit引数のデフォルト値を指定します。" +#: ../../../source/commands/define_selector.txt:33 +msgid "定義するselectorコマンドの名前を指定します。" +msgstr "定義するselectorコマンドの名前を指定します。" -#: ../../../source/commands/define_selector.txt:71 -#: ../../../source/commands/select.txt:142 -msgid "``drilldown``" -msgstr "``drilldown``" +#: ../../../source/commands/select.txt:172 +msgid "" +"検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0で" +"す。デフォルト値は以下のいずれかの方法で設定できます。" +msgstr "" +"検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0で" +"す。デフォルト値は以下のいずれかの方法で設定できます。" -#: ../../../source/commands/define_selector.txt:73 -msgid "追加するselectorコマンドのdrilldown引数のデフォルト値を指定します。" -msgstr "追加するselectorコマンドのdrilldown引数のデフォルト値を指定します。" +#: sphinx-built-in-message:0 +msgid "[-]カラム名1, [-]カラム名2, [-]カラム名3, ..." +msgstr "[-]カラム名1, [-]カラム名2, [-]カラム名3, ..." -#: ../../../source/commands/define_selector.txt:75 -#: ../../../source/commands/select.txt:146 -msgid "``drilldown_sortby``" -msgstr "``drilldown_sortby``" +#: ../../../source/commands/dump.txt:11 +msgid "dump - データベースのスキーマとデータを出力する" +msgstr "dump - データベースのスキーマとデータを出力する" -#: ../../../source/commands/define_selector.txt:77 +#: ../../../source/commands/define_selector.txt:108 msgid "" -"追加するselectorコマンドのdrilldown_sortby引数のデフォルト値を指定します。" +"テーブルEntryの全レコード・全カラムの値を出力するselectorコマンドを定義しま" +"す。::" msgstr "" -"追加するselectorコマンドのdrilldown_sortby引数のデフォルト値を指定します。" - -#: ../../../source/commands/define_selector.txt:79 -#: ../../../source/commands/select.txt:150 -msgid "``drilldown_output_columns``" -msgstr "``drilldown_output_columns``" +"テーブルEntryの全レコード・全カラムの値を出力するselectorコマンドを定義しま" +"す。::" -#: ../../../source/commands/define_selector.txt:81 +#: ../../../source/commands/select.txt:244 msgid "" -"追加するselectorコマンドのdrilldown_output_columns引数のデフォルト値を指定し" -"ます。" +"drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された" +"条件に従って各レコードの値が出力されます。" msgstr "" -"追加するselectorコマンドのdrilldown_output_columns引数のデフォルト値を指定し" -"ます。" +"drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された" +"条件に従って各レコードの値が出力されます。" -#: ../../../source/commands/define_selector.txt:83 -#: ../../../source/commands/select.txt:154 -msgid "``drilldown_offset``" -msgstr "``drilldown_offset``" +#: ../../../source/commands/table_remove.txt:6 +msgid "table_remove" +msgstr "table_remove" -#: ../../../source/commands/define_selector.txt:85 +#: ../../../source/commands/load.txt:73 +msgid "[登録件数]" +msgstr "[登録件数]" + +#: ../../../source/commands/column_list.txt:81 +msgid "カラム情報の型を出力します。" +msgstr "カラム情報の型を出力します。" + +#: ../../../source/commands/column_remove.txt:22 msgid "" -"追加するselectorコマンドのdrilldown_offset引数のデフォルト値を指定します。" +"groonga組込コマンドの一つであるcolumn_removeについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" msgstr "" -"追加するselectorコマンドのdrilldown_offset引数のデフォルト値を指定します。" +"groonga組込コマンドの一つであるcolumn_removeについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" -#: ../../../source/commands/define_selector.txt:87 -#: ../../../source/commands/select.txt:158 -msgid "``drilldown_limit``" -msgstr "``drilldown_limit``" +#: ../../../source/commands/suggest.txt:19 +msgid "suggest types table column query" +msgstr "suggest types table column query" -#: ../../../source/commands/define_selector.txt:89 +#: ../../../source/commands/select.txt:178 msgid "" -"追加するselectorコマンドのdrilldown_limit引数のデフォルト値を指定します。" +"クエリのヒット件数が閾値を越えない場合は :doc:`/spec/search` で説明している方" +"法で検索方法をエスカレーションしてきます。" msgstr "" -"追加するselectorコマンドのdrilldown_limit引数のデフォルト値を指定します。" +"クエリのヒット件数が閾値を越えない場合は :doc:`/spec/search` で説明している方" +"法で検索方法をエスカレーションしてきます。" -#: ../../../source/commands/define_selector.txt:108 +#: ../../../source/commands/quit.txt:22 msgid "" -"テーブルEntryの全レコード・全カラムの値を出力するselectorコマンドを定義しま" -"す。::" +"groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"テーブルEntryの全レコード・全カラムの値を出力するselectorコマンドを定義しま" -"す。::" +"groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/define_selector.txt:110 -msgid "define_selector entry_selector Entry [true]" -msgstr "define_selector entry_selector Entry [true]" +#: ../../../source/commands/table_remove.txt:11 +msgid "table_remove - テーブルの削除" +msgstr "table_remove - テーブルの削除" -#: ../../../source/commands/define_selector.txt:116 -#: ../../../source/commands/load.txt:100 -#: ../../../source/commands/select.txt:258 -msgid ":doc:`../expr`" -msgstr ":doc:`../expr`" +#: ../../../source/commands/define_selector.txt:67 +#: ../../../source/commands/select.txt:138 +msgid "``limit``" +msgstr "``limit``" -#: ../../../source/commands/defrag.txt:6 -msgid "defrag" -msgstr "defrag" +#: ../../../source/commands/select.txt:42 +msgid "" +"カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のス" +"コアに積算される重みを指定することができます。" +msgstr "" +"カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のス" +"コアに積算される重みを指定することができます。" -#: ../../../source/commands/defrag.txt:11 -msgid "defrag - オブジェクトにセットされたロックを解除する" -msgstr "defrag - オブジェクトにセットされたロックを解除する" +#: ../../../source/commands/suggest.txt:49 +msgid "基礎となるデータが格納されているテーブル名を指定します。" +msgstr "基礎となるデータが格納されているテーブル名を指定します。" -#: ../../../source/commands/defrag.txt:17 -msgid "defrag objname threshold" -msgstr "defrag objname threshold" +#: ../../../source/commands/column_create.txt:44 +msgid "単一の値が格納できるカラムを作成します。" +msgstr "単一の値が格納できるカラムを作成します。" -#: ../../../source/commands/defrag.txt:22 +#: ../../../source/commands/column_list.txt:73 +msgid "テーブルのkeyの型" +msgstr "テーブルのkeyの型" + +#: ../../../source/commands/dump.txt:22 msgid "" -"groonga組込コマンドの一つであるdefragについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるdumpについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるdefragについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるdumpについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" -#: ../../../source/commands/defrag.txt:24 +#: ../../../source/commands/check.txt:22 msgid "" -"defragは、対象となるオブジェクト(データベースか可変長サイズカラム)を指定し、" -"オブジェクトのフラグメンテーションを解消します。" +"groonga組込コマンドの一つであるcheckについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"defragは、対象となるオブジェクト(データベースか可変長サイズカラム)を指定し、" -"オブジェクトのフラグメンテーションを解消します。" +"groonga組込コマンドの一つであるcheckについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/defrag.txt:41 +#: ../../../source/commands/check.txt:17 +msgid "check obj" +msgstr "check obj" + +#: ../../../source/commands/cache_limit.txt:36 +#: ../../../source/commands/check.txt:34 +#: ../../../source/commands/column_create.txt:71 +#: ../../../source/commands/column_list.txt:33 +#: ../../../source/commands/column_remove.txt:37 +#: ../../../source/commands/define_selector.txt:92 +#: ../../../source/commands/defrag.txt:34 ../../../source/commands/dump.txt:40 +#: ../../../source/commands/load.txt:66 +#: ../../../source/commands/log_level.txt:43 +#: ../../../source/commands/log_put.txt:47 +#: ../../../source/commands/log_reopen.txt:34 +#: ../../../source/commands/quit.txt:32 +#: ../../../source/commands/select.txt:181 +#: ../../../source/commands/shutdown.txt:32 +#: ../../../source/commands/status.txt:32 +#: ../../../source/commands/suggest.txt:60 +#: ../../../source/commands/table_create.txt:89 +#: ../../../source/commands/table_list.txt:32 +#: ../../../source/commands/table_remove.txt:33 +#: ../../../source/commands/view_add.txt:38 +msgid "返値" +msgstr "返値" + +#: ../../../source/commands/clearlock.txt:11 +msgid "clearlock - オブジェクトにセットされたロックを解除する" +msgstr "clearlock - オブジェクトにセットされたロックを解除する" + +#: ../../../source/commands/suggest.txt:41 +msgid "修正を行います。" +msgstr "修正を行います。" + +#: ../../../source/commands/table_create.txt:49 msgid "" -"[フラグメンテーション解消を実行したセグメントの数] ``フラグメンテーション解" -"消を実行したセグメントの数`` フラグメンテーション解消を実行したセグメント" -"の数を返す。" +"複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。" msgstr "" -"[フラグメンテーション解消を実行したセグメントの数] ``フラグメンテーション解" -"消を実行したセグメントの数`` フラグメンテーション解消を実行したセグメント" -"の数を返す。" - -#: ../../../source/commands/defrag.txt:50 -msgid "開いているデータベースのフラグメンテーションを解消する::" -msgstr "開いているデータベースのフラグメンテーションを解消する::" +"複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。" -#: ../../../source/commands/defrag.txt:52 -msgid "defrag [300]" -msgstr "defrag [300]" +#: ../../../source/commands/select.txt:132 +msgid "" +"アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。ま" +"たは、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, " +"\\*')" +msgstr "" +"アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。ま" +"たは、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, " +"\\*')" -#: ../../../source/commands/defrag.txt:55 -msgid "テーブル名 Entry のカラム body のフラグメンテーションを解消する::" -msgstr "テーブル名 Entry のカラム body のフラグメンテーションを解消する::" +#: ../../../source/commands/table_list.txt:64 +msgid "主キー値の属する型" +msgstr "主キー値の属する型" -#: ../../../source/commands/defrag.txt:57 -msgid "defrag Entry.body [30]" -msgstr "defrag Entry.body [30]" +#: ../../../source/commands/suggest.txt:24 +msgid "suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。" +msgstr "suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。" -#: ../../../source/commands/delete.txt:6 -msgid "delete" -msgstr "delete" +#: ../../../source/commands/log_put.txt:11 +msgid "log_put - ログ出力" +msgstr "log_put - ログ出力" -#: ../../../source/commands/delete.txt:11 -msgid "delete - 一件のレコードの削除" -msgstr "delete - 一件のレコードの削除" +#: ../../../source/commands/select.txt:144 +msgid "" +"グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条" +"件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同" +"一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。" +msgstr "" +"グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条" +"件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同" +"一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。" -#: ../../../source/commands/delete.txt:17 -msgid "delete table [key [id]]" -msgstr "delete table [key [id]]" +#: ../../../source/commands/clearlock.txt:57 +msgid "clearlock Entry.body [true]" +msgstr "clearlock Entry.body [true]" -#: ../../../source/commands/delete.txt:22 +#: ../../../source/commands/load.txt:90 msgid "" -"groonga組込コマンドの一つであるdeleteについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"load --table Entry --input_type json [ {\"_key\": \"abbreviate\", \"body\": " +"\"短縮する\"} ] [1]" msgstr "" -"groonga組込コマンドの一つであるdeleteについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"load --table Entry --input_type json [ {\"_key\": \"abbreviate\", \"body\": " +"\"短縮する\"} ] [1]" -#: ../../../source/commands/delete.txt:24 +#: ../../../source/commands/define_selector.txt:89 msgid "" -"deleteは、使用しているデータベースのテーブルに1件のレコードを削除します。" +"追加するselectorコマンドのdrilldown_limit引数のデフォルト値を指定します。" msgstr "" -"deleteは、使用しているデータベースのテーブルに1件のレコードを削除します。" +"追加するselectorコマンドのdrilldown_limit引数のデフォルト値を指定します。" -#: ../../../source/commands/delete.txt:31 -msgid "レコードを削除しようとするテーブルの名前を指定します。" -msgstr "レコードを削除しようとするテーブルの名前を指定します。" +#: sphinx-built-in-message:0 +msgid "[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]" +msgstr "[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]" -#: ../../../source/commands/delete.txt:33 -msgid "``key``" -msgstr "``key``" +#: ../../../source/commands/clearlock.txt:52 +msgid "clearlock [true]" +msgstr "clearlock [true]" -#: ../../../source/commands/delete.txt:35 +#: ../../../source/commands/select.txt:218 msgid "" -"削除するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラ" -"メータを指定しても無視されます(idパラメータを代わりに指定します)。" +"output_columnsに指定された条件に従って、対象となるカラム型が出力されます。" msgstr "" -"削除するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラ" -"メータを指定しても無視されます(idパラメータを代わりに指定します)。" +"output_columnsに指定された条件に従って、対象となるカラム型が出力されます。" -#: ../../../source/commands/delete.txt:39 +#: ../../../source/commands/load.txt:39 msgid "" -"レコードIDによってレコードを指定します。idパラメータを指定する場合は、keyパラ" -"メータを指定してはいけません。" +"[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム" +"名2: カラム値2},..]" msgstr "" -"レコードIDによってレコードを指定します。idパラメータを指定する場合は、keyパラ" -"メータを指定してはいけません。" +"[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム" +"名2: カラム値2},..]" -#: ../../../source/commands/delete.txt:58 -msgid "テーブルEntryからレコードを削除します。::" -msgstr "テーブルEntryからレコードを削除します。::" +#: ../../../source/commands/select.txt:83 +msgid "比較条件(カラム値 >= 値)" +msgstr "比較条件(カラム値 >= 値)" -#: ../../../source/commands/delete.txt:60 -msgid "delete Entry abandon [true]" -msgstr "delete Entry abandon [true]" +#: ../../../source/commands/select.txt:162 +msgid "``cache``" +msgstr "``cache``" -#: ../../../source/commands/dump.txt:6 -msgid "dump" -msgstr "dump" +#: ../../../source/commands/select.txt:140 +msgid "" +"検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デ" +"フォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲で" +"レコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + " +"limit + 1 によって算出される値が指定されたものとみなされます。" +msgstr "" +"検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デ" +"フォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲で" +"レコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + " +"limit + 1 によって算出される値が指定されたものとみなされます。" -#: ../../../source/commands/dump.txt:11 -msgid "dump - データベースのスキーマとデータを出力する" -msgstr "dump - データベースのスキーマとデータを出力する" +#: ../../../source/commands/load.txt:51 +msgid "レコードを追加しようとするテーブルの名前を指定します。" +msgstr "レコードを追加しようとするテーブルの名前を指定します。" -#: ../../../source/commands/dump.txt:17 -msgid "dump [tables]" -msgstr "dump [tables]" +#: ../../../source/commands/select.txt:94 +msgid "論理和(aとbといずれかの条件がマッチする)" +msgstr "論理和(aとbといずれかの条件がマッチする)" -#: ../../../source/commands/dump.txt:22 +#: ../../../source/commands/suggest.txt:53 msgid "" -"groonga組込コマンドの一つであるdumpについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されてい" +"るカラム名を指定します。" msgstr "" -"groonga組込コマンドの一つであるdumpについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されてい" +"るカラム名を指定します。" -#: ../../../source/commands/dump.txt:24 +#: ../../../source/commands/column_list.txt:111 +#: ../../../source/commands/table_list.txt:104 +msgid "注: 実際は改行が入りません。" +msgstr "注: 実際は改行が入りません。" + +#: ../../../source/commands/log_reopen.txt:58 msgid "" -"dumpはデータベースのスキーマとデータを後から読み込めるフォーマットで出力しま" -"す。dumpの結果は大きくなるため、主にコマンドラインから使うことを想定していま" -"す。データベースのバックアップが主な利用方法です。" +"ログファイルをmvなどで移動する。 ログはmvで移動された先のファイルに書き込まれ" +"る。" msgstr "" -"dumpはデータベースのスキーマとデータを後から読み込めるフォーマットで出力しま" -"す。dumpの結果は大きくなるため、主にコマンドラインから使うことを想定していま" -"す。データベースのバックアップが主な利用方法です。" +"ログファイルをmvなどで移動する。 ログはmvで移動された先のファイルに書き込まれ" +"る。" -#: ../../../source/commands/dump.txt:26 +#: ../../../source/commands/table_list.txt:48 +msgid "テーブルオブジェクトに割り当てられたID" +msgstr "テーブルオブジェクトに割り当てられたID" + +#: ../../../source/commands/column_list.txt:57 +msgid "カラム値を格納するファイル名" +msgstr "カラム値を格納するファイル名" + +#: ../../../source/commands/select.txt:126 msgid "" -"dumpが出力するフォーマットは直接groongaが解釈できるフォーマットです。そのた" -"め、以下のようにしてデータベースをコピーすることができます。::" +"query引数またはfilter引数を指定した場合はカラム名に'_score'を使えま" +"す。'_score'を指定することでスコアでソートすることができます。query引数も" +"filter引数も指定していない状態で'_score'を指定するとエラーになります。" msgstr "" -"dumpが出力するフォーマットは直接groongaが解釈できるフォーマットです。そのた" -"め、以下のようにしてデータベースをコピーすることができます。::" +"query引数またはfilter引数を指定した場合はカラム名に'_score'を使えま" +"す。'_score'を指定することでスコアでソートすることができます。query引数も" +"filter引数も指定していない状態で'_score'を指定するとエラーになります。" -#: ../../../source/commands/dump.txt:28 +#: ../../../source/commands/select.txt:57 +msgid "条件式" +msgstr "条件式" + +#: ../../../source/commands/check.txt:37 +#: ../../../source/commands/clearlock.txt:37 +#: ../../../source/commands/column_create.txt:74 +#: ../../../source/commands/column_list.txt:36 +#: ../../../source/commands/column_remove.txt:40 +#: ../../../source/commands/define_selector.txt:95 +#: ../../../source/commands/defrag.txt:37 +#: ../../../source/commands/delete.txt:45 +#: ../../../source/commands/log_level.txt:46 +#: ../../../source/commands/log_put.txt:50 +#: ../../../source/commands/log_reopen.txt:37 +#: ../../../source/commands/status.txt:35 +#: ../../../source/commands/suggest.txt:63 +#: ../../../source/commands/table_create.txt:92 +#: ../../../source/commands/table_list.txt:35 +#: ../../../source/commands/table_remove.txt:36 +#: ../../../source/commands/view_add.txt:41 +msgid "json形式" +msgstr "json形式" + +#: ../../../source/commands/log_reopen.txt:56 +msgid "log_reopenを用いたログのローテーション" +msgstr "log_reopenを用いたログのローテーション" + +#: ../../../source/commands/defrag.txt:50 +msgid "開いているデータベースのフラグメンテーションを解消する::" +msgstr "開いているデータベースのフラグメンテーションを解消する::" + +#: ../../../source/commands/column_list.txt:83 +msgid "``カラム情報n``" +msgstr "``カラム情報n``" + +#: ../../../source/commands/select.txt:242 +msgid "``ドリルダウン結果n``" +msgstr "``ドリルダウン結果n``" + +#: ../../../source/commands/table_create.txt:55 msgid "" -"% groonga original/db dump > dump.grn % mkdir backup % groonga -n backup/db " -"< dump.grn" +"ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登" +"録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一" +"のレコードに対応するものとみなされます。" msgstr "" -"% groonga original/db dump > dump.grn % mkdir backup % groonga -n backup/db " -"< dump.grn" - -#: ../../../source/commands/dump.txt:35 -msgid "``tables``" -msgstr "``tables``" +"ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登" +"録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一" +"のレコードに対応するものとみなされます。" #: ../../../source/commands/dump.txt:37 msgid "" @@ -1217,73 +1040,73 @@ msgstr "" "出力対象のテーブルを「,」(カンマ)区切りで指定します。存在しないテーブルを指" "定した場合は無視されます。" -#: ../../../source/commands/dump.txt:42 -msgid "" -"データベースのスキーマとデータをgroongaの組み込みコマンド呼び出し形式で出力し" -"ます。output_type指定は無視されます。" -msgstr "" -"データベースのスキーマとデータをgroongaの組み込みコマンド呼び出し形式で出力し" -"ます。output_type指定は無視されます。" +#: ../../../source/commands/suggest.txt:57 +msgid "補完・修正・提案の対象となるクエリを指定します。" +msgstr "補完・修正・提案の対象となるクエリを指定します。" -#: ../../../source/commands/dump.txt:47 -msgid "データベース内のすべてのデータを出力::" -msgstr "データベース内のすべてのデータを出力::" +#: ../../../source/commands/column_remove.txt:6 +msgid "column_remove" +msgstr "column_remove" -#: ../../../source/commands/dump.txt:49 +#: ../../../source/commands/table_list.txt:43 msgid "" -"> dump table_create LocalNames 48 ShortText table_create Entries 48 " -"ShortText column_create Entries local_name 0 LocalNames column_create " -"LocalNames Entries_local_name 2 Entries local_name ... load --table " -"LocalNames [ [\"_key\"], [\"Items\"], [\"BLT\"], ... ] ..." +"``テーブル情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容か" +"を示す名前を出力します。 情報名は以下の通りです。" msgstr "" -"> dump table_create LocalNames 48 ShortText table_create Entries 48 " -"ShortText column_create Entries local_name 0 LocalNames column_create " -"LocalNames Entries_local_name 2 Entries local_name ... load --table " -"LocalNames [ [\"_key\"], [\"Items\"], [\"BLT\"], ... ] ..." - -#: ../../../source/commands/dump.txt:64 -msgid "データベース内のスキーマと特定のテーブルのデータのみ出力::" -msgstr "データベース内のスキーマと特定のテーブルのデータのみ出力::" +"``テーブル情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容か" +"を示す名前を出力します。 情報名は以下の通りです。" -#: ../../../source/commands/dump.txt:66 -msgid "" -"> dump --tables Users,Sites table_create Users TABLE_HASH_KEY ShortText " -"column_create Users name COLUMN_SCALAR ShortText table_create Comments " -"TABLE_PAT_KEY ShortText column_create Comments text COLUMN_SCALAR ShortText " -"table_create Sites TABLE_NO_KEY column_create Sites url COLUMN_SCALAR " -"ShortText load --table Users [ [\"_key\"], [\"mori\"], [\"yu\"], ... ] load " -"--table Sites [ [\"_id\",\"url\"], [1,\"http://groonga.org/\"], [2,\"http://" -"qwik.jp/senna/\"], ... ]" -msgstr "" -"> dump --tables Users,Sites table_create Users TABLE_HASH_KEY ShortText " -"column_create Users name COLUMN_SCALAR ShortText table_create Comments " -"TABLE_PAT_KEY ShortText column_create Comments text COLUMN_SCALAR ShortText " -"table_create Sites TABLE_NO_KEY column_create Sites url COLUMN_SCALAR " -"ShortText load --table Users [ [\"_key\"], [\"mori\"], [\"yu\"], ... ] load " -"--table Sites [ [\"_id\",\"url\"], [1,\"http://groonga.org/\"], [2,\"http://" -"qwik.jp/senna/\"], ... ]" +#: ../../../source/commands/select.txt:210 +msgid "検索件数が出力されます。" +msgstr "検索件数が出力されます。" -#: ../../../source/commands/load.txt:6 -msgid "load" -msgstr "load" +#: ../../../source/commands/status.txt:24 +msgid "" +"statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセ" +"スに対して使用することを想定しています。" +msgstr "" +"statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセ" +"スに対して使用することを想定しています。" -#: ../../../source/commands/load.txt:11 -msgid "load - データのロード" -msgstr "load - データのロード" +#: ../../../source/commands/select.txt:59 +msgid "以下の条件式が使用できます。" +msgstr "以下の条件式が使用できます。" -#: ../../../source/commands/load.txt:17 -msgid "load values table [columns [ifexists [input_type]]]" -msgstr "load values table [columns [ifexists [input_type]]]" +#: ../../../source/commands/delete.txt:33 +msgid "``key``" +msgstr "``key``" -#: ../../../source/commands/load.txt:22 +#: ../../../source/commands/table_list.txt:76 msgid "" -"groonga組込コマンドの一つであるloadについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"``テーブル情報名n`` で示された情報の配列を出力します。 情報の順序は ``テーブ" +"ル情報名n`` の順序と同じです。" msgstr "" -"groonga組込コマンドの一つであるloadについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"``テーブル情報名n`` で示された情報の配列を出力します。 情報の順序は ``テーブ" +"ル情報名n`` の順序と同じです。" + +#: ../../../source/commands/cache_limit.txt:20 +#: ../../../source/commands/check.txt:20 +#: ../../../source/commands/clearlock.txt:20 +#: ../../../source/commands/column_create.txt:20 +#: ../../../source/commands/column_list.txt:20 +#: ../../../source/commands/column_remove.txt:20 +#: ../../../source/commands/define_selector.txt:22 +#: ../../../source/commands/defrag.txt:20 +#: ../../../source/commands/delete.txt:20 ../../../source/commands/dump.txt:20 +#: ../../../source/commands/load.txt:20 +#: ../../../source/commands/log_level.txt:20 +#: ../../../source/commands/log_put.txt:20 +#: ../../../source/commands/log_reopen.txt:20 +#: ../../../source/commands/quit.txt:20 ../../../source/commands/select.txt:23 +#: ../../../source/commands/shutdown.txt:20 +#: ../../../source/commands/status.txt:20 +#: ../../../source/commands/suggest.txt:22 +#: ../../../source/commands/table_create.txt:20 +#: ../../../source/commands/table_list.txt:20 +#: ../../../source/commands/table_remove.txt:20 +#: ../../../source/commands/view_add.txt:20 +msgid "説明" +msgstr "説明" #: ../../../source/commands/load.txt:24 msgid "" @@ -1293,326 +1116,343 @@ msgstr "" "loadは、使用しているデータベースのテーブルにレコードを登録し、カラムの値を更" "新します。" -#: ../../../source/commands/load.txt:29 -msgid "``values``" -msgstr "``values``" - -#: ../../../source/commands/load.txt:31 -msgid "" -"input_typeに指定する形式で登録するレコードの値を表現した文字列を渡します。" -msgstr "" -"input_typeに指定する形式で登録するレコードの値を表現した文字列を渡します。" - -#: ../../../source/commands/load.txt:33 -msgid "input_typeがjsonである場合には、以下のいずれかの形式が使用できます。" -msgstr "input_typeがjsonである場合には、以下のいずれかの形式が使用できます。" +#: ../../../source/commands/suggest.txt:13 +msgid "suggest - 指定したクエリに対する補完・修正・提案を行う。" +msgstr "suggest - 指定したクエリに対する補完・修正・提案を行う。" -#: ../../../source/commands/load.txt:36 -msgid "" -"[[カラム名1, カラム名2,..], [カラム値1, カラム値2,..], [カラム値1, カラム値" -"2,..],..]" -msgstr "" -"[[カラム名1, カラム名2,..], [カラム値1, カラム値2,..], [カラム値1, カラム値" -"2,..],..]" +#: ../../../source/commands/table_create.txt:78 +msgid "bigram(2文字の文字列要素をトークンとする)" +msgstr "bigram(2文字の文字列要素をトークンとする)" -#: ../../../source/commands/load.txt:39 +#: ../../../source/commands/column_create.txt:22 msgid "" -"[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム" -"名2: カラム値2},..]" +"groonga組込コマンドの一つであるcolumn_createについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" msgstr "" -"[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム" -"名2: カラム値2},..]" +"groonga組込コマンドの一つであるcolumn_createについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" -#: ../../../source/commands/load.txt:41 +#: ../../../source/commands/column_create.txt:41 msgid "" -"形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効で" +"カラムの属性を表す以下の数値か、パイプ('|')で組み合わせたシンボル名を指定しま" "す。" msgstr "" -"形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効で" +"カラムの属性を表す以下の数値か、パイプ('|')で組み合わせたシンボル名を指定しま" "す。" -#: ../../../source/commands/load.txt:43 -msgid "" -"対象のテーブルが主キーを持つテーブルであった場合は、カラム名の中に'_key'(主" -"キーを示す疑似カラム名)が含まれていなければなりません。" -msgstr "" -"対象のテーブルが主キーを持つテーブルであった場合は、カラム名の中に'_key'(主" -"キーを示す疑似カラム名)が含まれていなければなりません。" +#: ../../../source/commands/check.txt:11 +msgid "check - オブジェクトの状態表示" +msgstr "check - オブジェクトの状態表示" -#: ../../../source/commands/load.txt:45 +#: ../../../source/commands/define_selector.txt:47 +#: ../../../source/commands/select.txt:106 +msgid "``filter``" +msgstr "``filter``" + +#: ../../../source/commands/clearlock.txt:41 +#: ../../../source/commands/column_create.txt:78 +#: ../../../source/commands/column_remove.txt:44 +#: ../../../source/commands/define_selector.txt:99 +#: ../../../source/commands/delete.txt:49 +#: ../../../source/commands/log_level.txt:50 +#: ../../../source/commands/log_put.txt:54 +#: ../../../source/commands/log_reopen.txt:41 +#: ../../../source/commands/table_create.txt:96 +#: ../../../source/commands/table_remove.txt:40 +#: ../../../source/commands/view_add.txt:45 msgid "" -"values引数が省略された場合には、括弧の対応が取れるまで標準入力からvaluesの値" -"を読み取ります。引数として値を指定する場合は、文字列のエスケープが必要です" -"が、標準入力から与える文字列はエスケープする必要がありません。" +"[成功かどうかのフラグ] ``成功かどうかのフラグ`` エラーが生じなかった場合" +"にはtrue、エラーが生じた場合にはfalseを返す。" msgstr "" -"values引数が省略された場合には、括弧の対応が取れるまで標準入力からvaluesの値" -"を読み取ります。引数として値を指定する場合は、文字列のエスケープが必要です" -"が、標準入力から与える文字列はエスケープする必要がありません。" +"[成功かどうかのフラグ] ``成功かどうかのフラグ`` エラーが生じなかった場合" +"にはtrue、エラーが生じた場合にはfalseを返す。" -#: ../../../source/commands/load.txt:47 -msgid "続きの文字列については、空白文字(' ')をエスケープする必要はありません。" -msgstr "" -"続きの文字列については、空白文字(' ')をエスケープする必要はありません。" +#: ../../../source/commands/table_list.txt:39 +msgid "[[[テーブル情報名1,テーブル情報型1],...], テーブル情報1,...]" +msgstr "[[[テーブル情報名1,テーブル情報型1],...], テーブル情報1,...]" -#: ../../../source/commands/load.txt:51 -msgid "レコードを追加しようとするテーブルの名前を指定します。" -msgstr "レコードを追加しようとするテーブルの名前を指定します。" +#: ../../../source/commands/log_level.txt:24 +msgid "log_levelは、ログ出力レベルを設定します。" +msgstr "log_levelは、ログ出力レベルを設定します。" -#: ../../../source/commands/load.txt:53 -msgid "``columns``" -msgstr "``columns``" +#: ../../../source/commands/load.txt:17 +msgid "load values table [columns [ifexists [input_type]]]" +msgstr "load values table [columns [ifexists [input_type]]]" -#: ../../../source/commands/load.txt:55 +#: ../../../source/commands/log_reopen.txt:31 +#: ../../../source/commands/quit.txt:29 ../../../source/commands/quit.txt:34 +#: ../../../source/commands/shutdown.txt:29 +#: ../../../source/commands/shutdown.txt:34 +#: ../../../source/commands/status.txt:29 +#: ../../../source/commands/table_list.txt:29 +msgid "ありません。" +msgstr "ありません。" + +#: ../../../source/commands/column_create.txt:35 msgid "" -"テーブルに登録するレコードに値を設定するカラム名のリストを、カンマ区切りで指" -"定します。" +"作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければな" +"りません。" msgstr "" -"テーブルに登録するレコードに値を設定するカラム名のリストを、カンマ区切りで指" -"定します。" +"作成するカラムの名前を指定します。カラム名は、テーブルの中で一意でなければな" +"りません。" -#: ../../../source/commands/load.txt:57 -msgid "``ifexists``" -msgstr "``ifexists``" +#: ../../../source/commands/delete.txt:58 +msgid "テーブルEntryからレコードを削除します。::" +msgstr "テーブルEntryからレコードを削除します。::" -#: ../../../source/commands/load.txt:59 +#: ../../../source/commands/table_list.txt:56 +msgid "テーブルのレコードを格納するファイル名" +msgstr "テーブルのレコードを格納するファイル名" + +#: ../../../source/commands/select.txt:91 +msgid "複数の条件式を結合するために以下の演算子が使用できます。" +msgstr "複数の条件式を結合するために以下の演算子が使用できます。" + +#: ../../../source/commands/delete.txt:39 msgid "" -"指定した主キーに対応するレコードが既にテーブルに登録済みであった場合に実行す" -"るscript形式のgrn_expr文字列を指定します。ifexistsにgrn_exprが指定された場合" -"は、式の値が真である場合に限り、その他のカラムの値が更新されます。(デフォルト" -"はtrue)" +"レコードIDによってレコードを指定します。idパラメータを指定する場合は、keyパラ" +"メータを指定してはいけません。" msgstr "" -"指定した主キーに対応するレコードが既にテーブルに登録済みであった場合に実行す" -"るscript形式のgrn_expr文字列を指定します。ifexistsにgrn_exprが指定された場合" -"は、式の値が真である場合に限り、その他のカラムの値が更新されます。(デフォルト" -"はtrue)" +"レコードIDによってレコードを指定します。idパラメータを指定する場合は、keyパラ" +"メータを指定してはいけません。" -#: ../../../source/commands/load.txt:61 -msgid "``input_type``" -msgstr "``input_type``" +#: ../../../source/commands/suggest.txt:51 +msgid "``column``" +msgstr "``column``" -#: ../../../source/commands/load.txt:63 -#, fuzzy -msgid "入力形式を指定します。JSONのみに対応しています。" -msgstr "入力形式を指定します。jsonのみに対応しています。" +#: ../../../source/commands/select.txt:216 +#: ../../../source/commands/select.txt:238 +msgid "``カラム型n``" +msgstr "``カラム型n``" -#: ../../../source/commands/load.txt:69 -msgid "JSON形式" -msgstr "" +#: ../../../source/commands/select.txt:220 +msgid "``検索結果n``" +msgstr "``検索結果n``" -#: ../../../source/commands/load.txt:73 -msgid "[登録件数]" -msgstr "[登録件数]" +#: ../../../source/commands/delete.txt:35 +msgid "" +"削除するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラ" +"メータを指定しても無視されます(idパラメータを代わりに指定します)。" +msgstr "" +"削除するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラ" +"メータを指定しても無視されます(idパラメータを代わりに指定します)。" -#: ../../../source/commands/load.txt:75 -msgid "``登録件数``" -msgstr "``登録件数``" +#: ../../../source/commands/column_list.txt:85 +msgid "" +"``カラム情報名n`` で示された情報の配列を出力します。 情報の順序は ``カラム情" +"報名n`` の順序と同じです。" +msgstr "" +"``カラム情報名n`` で示された情報の配列を出力します。 情報の順序は ``カラム情" +"報名n`` の順序と同じです。" -#: ../../../source/commands/load.txt:77 -msgid "テーブルに登録されたレコードの件数が返されます。" -msgstr "テーブルに登録されたレコードの件数が返されます。" +#: ../../../source/commands/select.txt:174 +msgid "configureの--with-match-escalation-thresholdオプション" +msgstr "configureの--with-match-escalation-thresholdオプション" -#: ../../../source/commands/load.txt:82 -msgid "テーブルEntryにレコードを登録します。::" -msgstr "テーブルEntryにレコードを登録します。::" +#: ../../../source/commands/column_list.txt:6 +msgid "column_list" +msgstr "column_list" -#: ../../../source/commands/load.txt:84 -msgid "" -"load --table Entry --input_type json --values [{\\\"_key\\\":\\\"abandon\\\"," -"\\\"body\\\":\\\"放棄する\\\"}] [1]" -msgstr "" -"load --table Entry --input_type json --values [{\\\"_key\\\":\\\"abandon\\\"," -"\\\"body\\\":\\\"放棄する\\\"}] [1]" +#: ../../../source/commands/column_remove.txt:31 +#: ../../../source/commands/table_remove.txt:30 +msgid "削除対象のカラムが定義されているテーブルの名前を指定します。" +msgstr "削除対象のカラムが定義されているテーブルの名前を指定します。" -#: ../../../source/commands/load.txt:88 -msgid "標準入力からvaluesの値を与えます。::" -msgstr "標準入力からvaluesの値を与えます。::" +#: ../../../source/commands/column_remove.txt:34 +msgid "削除対象のカラム名を指定します。" +msgstr "削除対象のカラム名を指定します。" -#: ../../../source/commands/load.txt:90 +#: sphinx-built-in-message:0 +msgid "[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]" +msgstr "[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]" + +#: ../../../source/commands/dump.txt:66 msgid "" -"load --table Entry --input_type json [ {\"_key\": \"abbreviate\", \"body\": " -"\"短縮する\"} ] [1]" +"> dump --tables Users,Sites table_create Users TABLE_HASH_KEY ShortText " +"column_create Users name COLUMN_SCALAR ShortText table_create Comments " +"TABLE_PAT_KEY ShortText column_create Comments text COLUMN_SCALAR ShortText " +"table_create Sites TABLE_NO_KEY column_create Sites url COLUMN_SCALAR " +"ShortText load --table Users [ [\"_key\"], [\"mori\"], [\"yu\"], ... ] load " +"--table Sites [ [\"_id\",\"url\"], [1,\"http://groonga.org/\"], [2,\"http://" +"qwik.jp/senna/\"], ... ]" msgstr "" -"load --table Entry --input_type json [ {\"_key\": \"abbreviate\", \"body\": " -"\"短縮する\"} ] [1]" +"> dump --tables Users,Sites table_create Users TABLE_HASH_KEY ShortText " +"column_create Users name COLUMN_SCALAR ShortText table_create Comments " +"TABLE_PAT_KEY ShortText column_create Comments text COLUMN_SCALAR ShortText " +"table_create Sites TABLE_NO_KEY column_create Sites url COLUMN_SCALAR " +"ShortText load --table Users [ [\"_key\"], [\"mori\"], [\"yu\"], ... ] load " +"--table Sites [ [\"_id\",\"url\"], [1,\"http://groonga.org/\"], [2,\"http://" +"qwik.jp/senna/\"], ... ]" -#: ../../../source/commands/log_level.txt:6 -msgid "log_level" -msgstr "log_level" +#: ../../../source/commands/select.txt:103 +msgid "複数の条件をまとめる" +msgstr "複数の条件をまとめる" -#: ../../../source/commands/log_level.txt:11 -msgid "log_level - ログ出力レベルの設定" -msgstr "log_level - ログ出力レベルの設定" +#: ../../../source/commands/cache_limit.txt:11 +msgid "cache_limit - cacheサイズの設定・取得" +msgstr "cache_limit - cacheサイズの設定・取得" -#: ../../../source/commands/log_level.txt:17 -msgid "log_level level" -msgstr "log_level level" +#: ../../../source/commands/select.txt:189 +msgid "``リターンコード``" +msgstr "``リターンコード``" -#: ../../../source/commands/log_level.txt:22 +#: ../../../source/commands/define_selector.txt:61 msgid "" -"groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"追加するselectorコマンドのoutput_columns引数のデフォルト値を指定します。" msgstr "" -"groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"追加するselectorコマンドのoutput_columns引数のデフォルト値を指定します。" -#: ../../../source/commands/log_level.txt:24 -msgid "log_levelは、ログ出力レベルを設定します。" -msgstr "log_levelは、ログ出力レベルを設定します。" +#: ../../../source/commands/check.txt:132 +msgid "テーブルTermsのインデックスカラムnameの状態を表示します。::" +msgstr "テーブルTermsのインデックスカラムnameの状態を表示します。::" -#: ../../../source/commands/log_level.txt:29 -#: ../../../source/commands/log_put.txt:29 -msgid "``level``" -msgstr "``level``" +#: ../../../source/commands/column_list.txt:65 +msgid "カラムのflags属性" +msgstr "カラムのflags属性" -#: ../../../source/commands/log_level.txt:31 -#: ../../../source/commands/log_put.txt:31 -msgid "設定するログ出力レベルの値を以下のいずれかで指定します。" -msgstr "設定するログ出力レベルの値を以下のいずれかで指定します。" +#: ../../../source/commands/load.txt:36 +msgid "" +"[[カラム名1, カラム名2,..], [カラム値1, カラム値2,..], [カラム値1, カラム値" +"2,..],..]" +msgstr "" +"[[カラム名1, カラム名2,..], [カラム値1, カラム値2,..], [カラム値1, カラム値" +"2,..],..]" -#: ../../../source/commands/log_level.txt:33 -#: ../../../source/commands/log_put.txt:33 -msgid "EMERG ALERT CRIT error warning notice info debug" -msgstr "EMERG ALERT CRIT error warning notice info debug" +#: ../../../source/commands/dump.txt:26 +msgid "" +"dumpが出力するフォーマットは直接groongaが解釈できるフォーマットです。そのた" +"め、以下のようにしてデータベースをコピーすることができます。::" +msgstr "" +"dumpが出力するフォーマットは直接groongaが解釈できるフォーマットです。そのた" +"め、以下のようにしてデータベースをコピーすることができます。::" -#: ../../../source/commands/log_level.txt:60 -msgid "log_level warning [true]" -msgstr "log_level warning [true]" +#: ../../../source/commands/select.txt:65 +msgid "" +"フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでい" +"る)" +msgstr "" +"フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでい" +"る)" -#: ../../../source/commands/log_level.txt:66 -msgid ":doc:`log_put` :doc:`log_reopen`" -msgstr ":doc:`log_put` :doc:`log_reopen`" +#: ../../../source/commands/table_list.txt:60 +msgid "テーブルのflags属性" +msgstr "テーブルのflags属性" -#: ../../../source/commands/log_put.txt:6 -msgid "log_put" -msgstr "log_put" +#: ../../../source/commands/define_selector.txt:39 +#: ../../../source/commands/select.txt:36 +msgid "``match_columns``" +msgstr "``match_columns``" -#: ../../../source/commands/log_put.txt:11 -msgid "log_put - ログ出力" -msgstr "log_put - ログ出力" +#: ../../../source/commands/check.txt:29 +msgid "``obj``" +msgstr "``obj``" -#: ../../../source/commands/log_put.txt:17 -msgid "log_put level message" -msgstr "log_put level message" +#: ../../../source/commands/column_create.txt:33 +#: ../../../source/commands/column_list.txt:51 +#: ../../../source/commands/define_selector.txt:31 +#: ../../../source/commands/table_create.txt:31 +#: ../../../source/commands/table_list.txt:50 +msgid "``name``" +msgstr "``name``" -#: ../../../source/commands/log_put.txt:22 +#: ../../../source/commands/clearlock.txt:22 msgid "" -"groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるclearlockについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるclearlockについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" -#: ../../../source/commands/log_put.txt:24 -msgid "log_putは、ログにmessageを出力します。" -msgstr "log_putは、ログにmessageを出力します。" - -#: ../../../source/commands/log_put.txt:42 -msgid "``message``" -msgstr "``message``" - -#: ../../../source/commands/log_put.txt:44 -msgid "出力する文字列を指定します。" -msgstr "出力する文字列を指定します。" - -#: ../../../source/commands/log_put.txt:64 -msgid "log_put ERROR ****MESSAGE**** [true]" -msgstr "log_put ERROR ****MESSAGE**** [true]" - -#: ../../../source/commands/log_put.txt:70 -msgid ":doc:`log_level` :doc:`log_reopen`" -msgstr ":doc:`log_level` :doc:`log_reopen`" - -#: ../../../source/commands/log_reopen.txt:6 -#: ../../../source/commands/log_reopen.txt:17 -msgid "log_reopen" -msgstr "log_reopen" - -#: ../../../source/commands/log_reopen.txt:11 -msgid "log_reopen - ログファイルの再読み込み" -msgstr "log_reopen - ログファイルの再読み込み" +#: ../../../source/commands/select.txt:17 +msgid "" +"select table [match_columns [query [filter [scorer [sortby " +"[output_columns [offset [limit [drilldown [drilldown_sortby " +"[drilldown_output_columns [drilldown_offset [drilldown_limit " +"[cache [match_escalation_threshold]]]]]]]]]]]]]]]" +msgstr "" +"select table [match_columns [query [filter [scorer [sortby " +"[output_columns [offset [limit [drilldown [drilldown_sortby " +"[drilldown_output_columns [drilldown_offset [drilldown_limit " +"[cache [match_escalation_threshold]]]]]]]]]]]]]]]" -#: ../../../source/commands/log_reopen.txt:22 +#: ../../../source/commands/shutdown.txt:22 msgid "" -"groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるshutdownについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるshutdownについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" -#: ../../../source/commands/log_reopen.txt:24 -msgid "log_reopenは、ログファイルを再読み込みします。" -msgstr "log_reopenは、ログファイルを再読み込みします。" - -#: ../../../source/commands/log_reopen.txt:26 -msgid "現在、デフォルトのログ関数を用いている場合のみに対応しています。" -msgstr "現在、デフォルトのログ関数を用いている場合のみに対応しています。" - -#: ../../../source/commands/log_reopen.txt:31 -#: ../../../source/commands/quit.txt:29 ../../../source/commands/quit.txt:34 -#: ../../../source/commands/shutdown.txt:29 -#: ../../../source/commands/shutdown.txt:34 -#: ../../../source/commands/status.txt:29 -#: ../../../source/commands/table_list.txt:29 -msgid "ありません。" -msgstr "ありません。" - -#: ../../../source/commands/log_reopen.txt:51 -msgid "log_reopen [true]" -msgstr "log_reopen [true]" - -#: ../../../source/commands/log_reopen.txt:56 -msgid "log_reopenを用いたログのローテーション" -msgstr "log_reopenを用いたログのローテーション" - -#: ../../../source/commands/log_reopen.txt:58 -msgid "" -"ログファイルをmvなどで移動する。 ログはmvで移動された先のファイルに書き込まれ" -"る。" -msgstr "" -"ログファイルをmvなどで移動する。 ログはmvで移動された先のファイルに書き込まれ" -"る。" +#: ../../../source/commands/suggest.txt:31 +msgid "``types``" +msgstr "``types``" -#: ../../../source/commands/log_reopen.txt:60 -msgid "log_reopenコマンドを実行する。" -msgstr "log_reopenコマンドを実行する。" +#: ../../../source/commands/log_level.txt:29 +#: ../../../source/commands/log_put.txt:29 +msgid "``level``" +msgstr "``level``" -#: ../../../source/commands/log_reopen.txt:61 -msgid "" -"既存のログファイル名と同じファイル名で、新たなログファイルが作成される。 今後" -"のログは新たなログファイルに書き込まれる。" +#: ../../../source/commands/cache_limit.txt:24 +msgid "cache_limitは、クエリキャッシュの最大件数を取得したり設定したりします。" msgstr "" -"既存のログファイル名と同じファイル名で、新たなログファイルが作成される。 今後" -"のログは新たなログファイルに書き込まれる。" +"cache_limitは、クエリキャッシュの最大件数を取得したり設定したりします。" -#: ../../../source/commands/log_reopen.txt:67 -msgid ":doc:`log_level` :doc:`log_put`" -msgstr ":doc:`log_level` :doc:`log_put`" +#: ../../../source/commands/column_remove.txt:11 +msgid "column_remove - テーブルに定義されているカラムの削除" +msgstr "column_remove - テーブルに定義されているカラムの削除" -#: ../../../source/commands/quit.txt:6 ../../../source/commands/quit.txt:17 -#: ../../../source/commands/quit.txt:40 -msgid "quit" -msgstr "quit" +#: ../../../source/commands/cache_limit.txt:6 +msgid "cache_limit" +msgstr "cache_limit" -#: ../../../source/commands/quit.txt:11 -msgid "quit - セッション終了" -msgstr "quit - セッション終了" +#: ../../../source/commands/select.txt:166 +msgid "``no``" +msgstr "``no``" -#: ../../../source/commands/quit.txt:22 +#: ../../../source/commands/select.txt:160 msgid "" -"groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"を行うレコードの件数を指定します。デフォルト値は10です。実際には、" +"drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが" +"出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + " +"drilldown_limit + 1 によって算出される値が指定されたものとみなされます。" +msgstr "" +"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" +"を行うレコードの件数を指定します。デフォルト値は10です。実際には、" +"drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが" +"出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + " +"drilldown_limit + 1 によって算出される値が指定されたものとみなされます。" + +#: ../../../source/commands/load.txt:22 +msgid "" +"groonga組込コマンドの一つであるloadについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるloadについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" +#: ../../../source/commands/column_list.txt:47 +#: ../../../source/commands/delete.txt:37 +#: ../../../source/commands/table_list.txt:46 +msgid "``id``" +msgstr "``id``" + +#: ../../../source/commands/select.txt:236 +msgid "" +"drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力さ" +"れます。" +msgstr "" +"drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力さ" +"れます。" + #: ../../../source/commands/quit.txt:24 msgid "" "quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならば" @@ -1621,321 +1461,481 @@ msgstr "" "quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならば" "groongaプロセスとの接続を切ります。" -#: ../../../source/commands/select.txt:6 -msgid "select" -msgstr "select" +#: ../../../source/commands/define_selector.txt:110 +msgid "define_selector entry_selector Entry [true]" +msgstr "define_selector entry_selector Entry [true]" -#: ../../../source/commands/select.txt:11 -msgid "select - テーブルの中から条件にマッチするレコードを検索して出力する" -msgstr "select - テーブルの中から条件にマッチするレコードを検索して出力する" +#: ../../../source/commands/table_create.txt:72 +msgid "空白で区切られた文字列をトークンとする" +msgstr "空白で区切られた文字列をトークンとする" -#: ../../../source/commands/select.txt:17 +#: ../../../source/commands/select.txt:187 msgid "" -"select table [match_columns [query [filter [scorer [sortby " -"[output_columns [offset [limit [drilldown [drilldown_sortby " -"[drilldown_output_columns [drilldown_offset [drilldown_limit " -"[cache [match_escalation_threshold]]]]]]]]]]]]]]]" +"[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]" msgstr "" -"select table [match_columns [query [filter [scorer [sortby " -"[output_columns [offset [limit [drilldown [drilldown_sortby " -"[drilldown_output_columns [drilldown_offset [drilldown_limit " -"[cache [match_escalation_threshold]]]]]]]]]]]]]]]" +"[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]" -#: ../../../source/commands/select.txt:25 +#: ../../../source/commands/cache_limit.txt:17 +msgid "cache_limit max" +msgstr "cache_limit max" + +#: ../../../source/commands/column_list.txt:17 +msgid "column_list table" +msgstr "column_list table" + +#: ../../../source/commands/select.txt:108 +msgid "絞り込み条件をscript形式のgrn_expr文字列によって指定します。" +msgstr "絞り込み条件をscript形式のgrn_expr文字列によって指定します。" + +#: ../../../source/commands/column_list.txt:69 +msgid "カラムの値の属する型" +msgstr "カラムの値の属する型" + +#: ../../../source/commands/delete.txt:24 msgid "" -"groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"deleteは、使用しているデータベースのテーブルに1件のレコードを削除します。" msgstr "" -"groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"deleteは、使用しているデータベースのテーブルに1件のレコードを削除します。" -#: ../../../source/commands/select.txt:27 +#: ../../../source/commands/column_create.txt:50 msgid "" -"selectは、使用しているデータベースのテーブルの中から条件にマッチするレコード" -"を検索して出力します。" +"インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追" +"加の属 性を指定することができます。" msgstr "" -"selectは、使用しているデータベースのテーブルの中から条件にマッチするレコード" -"を検索して出力します。" +"インデックス型のカラムについては、flagsの値に以下の値を加えることによって、追" +"加の属 性を指定することができます。" -#: ../../../source/commands/select.txt:34 +#: ../../../source/commands/select.txt:124 msgid "" -"検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーにな" -"ります。" +"カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を" +"行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加し" +"ない場合には昇順にソートします。" msgstr "" -"検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーにな" -"ります。" +"カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を" +"行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加し" +"ない場合には昇順にソートします。" -#: ../../../source/commands/select.txt:38 +#: ../../../source/commands/table_list.txt:52 +msgid "テーブル名" +msgstr "テーブル名" + +#: ../../../source/commands/define_selector.txt:73 +msgid "追加するselectorコマンドのdrilldown引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのdrilldown引数のデフォルト値を指定します。" + +#: ../../../source/commands/dump.txt:64 +msgid "データベース内のスキーマと特定のテーブルのデータのみ出力::" +msgstr "データベース内のスキーマと特定のテーブルのデータのみ出力::" + +#: ../../../source/commands/column_list.txt:53 +#: ../../../source/commands/select.txt:40 +msgid "カラム名" +msgstr "カラム名" + +#: ../../../source/commands/column_remove.txt:60 msgid "" -"query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定しま" -"す。" +"マルチセクションインデックスの一部である場合も、インデックスが削除されます。" msgstr "" -"query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定しま" -"す。" +"マルチセクションインデックスの一部である場合も、インデックスが削除されます。" -#: ../../../source/commands/select.txt:42 +#: ../../../source/commands/define_selector.txt:41 +msgid "追加するselectorコマンドのmatch_columns引数のデフォルト値を指定します。" +msgstr "" +"追加するselectorコマンドのmatch_columns引数のデフォルト値を指定します。" + +#: ../../../source/commands/cache_limit.txt:22 msgid "" -"カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のス" -"コアに積算される重みを指定することができます。" +"groonga組込コマンドの一つであるcache_limitについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" msgstr "" -"カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のス" -"コアに積算される重みを指定することができます。" +"groonga組込コマンドの一つであるcache_limitについて説明します。組込コマンド" +"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" +"リクエストを送信することによって実行します。" -#: ../../../source/commands/select.txt:44 -msgid "カラム名 * 重み" -msgstr "カラム名 * 重み" +#: ../../../source/commands/check.txt:134 +msgid "" +"check Terms.name [{\"flags\":\"00008202\", \"max sid\":1, \"number of " +"garbage segments\":0, \"number of array segments\":1, \"max id of array " +"segment\":1, \"number of buffer segments\":110, \"max id of buffer " +"segment\":111, \"max id of physical segment in use\":111, \"number of " +"unmanaged segments\":4294967185, \"total chunk size\":7470239, \"max id " +"of chunk segments in use\":127, \"number of garbage chunk\":" +"[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0]}, {\"buffer id\":0, \"chunk size" +"\":94392, \"buffer term\":[\"596\",\"59777\",\"6\",...], \"buffer free" +"\":152944, \"size in buffer\":7361, \"nterms\":237, \"nterms with chunk" +"\":216, \"buffer id\":1, \"chunk size\":71236, \"buffer term\":[[\"に述" +"\",18149,18149,2,25,6,6], [\"に追" +"\",4505,4505,76,485,136,174], [\"に退" +"\",26568,26568,2,9,2,2], ...], \"buffer free\":120000, " +"\"size in buffer\":11155, \"nterms\":121, \"nterms with chunk\":116}, " +"{\"buffer id\":1, ...}, ...]" +msgstr "" +"check Terms.name [{\"flags\":\"00008202\", \"max sid\":1, \"number of " +"garbage segments\":0, \"number of array segments\":1, \"max id of array " +"segment\":1, \"number of buffer segments\":110, \"max id of buffer " +"segment\":111, \"max id of physical segment in use\":111, \"number of " +"unmanaged segments\":4294967185, \"total chunk size\":7470239, \"max id " +"of chunk segments in use\":127, \"number of garbage chunk\":" +"[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0]}, {\"buffer id\":0, \"chunk size" +"\":94392, \"buffer term\":[\"596\",\"59777\",\"6\",...], \"buffer free" +"\":152944, \"size in buffer\":7361, \"nterms\":237, \"nterms with chunk" +"\":216, \"buffer id\":1, \"chunk size\":71236, \"buffer term\":[[\"に述" +"\",18149,18149,2,25,6,6], [\"に追" +"\",4505,4505,76,485,136,174], [\"に退" +"\",26568,26568,2,9,2,2], ...], \"buffer free\":120000, " +"\"size in buffer\":11155, \"nterms\":121, \"nterms with chunk\":116}, " +"{\"buffer id\":1, ...}, ...]" -#: ../../../source/commands/select.txt:46 -msgid "複数のカラムを'||'で結合して指定することもできます。" -msgstr "複数のカラムを'||'で結合して指定することもできます。" +#: ../../../source/commands/cache_limit.txt:31 +msgid "" +"クエリキャッシュの最大件数を整数で指定します。 maxが指定されなかった場合に" +"は、クエリキャッシュの最大件数は変更せず、 現在の設定値のみが返されます。" +msgstr "" +"クエリキャッシュの最大件数を整数で指定します。 maxが指定されなかった場合に" +"は、クエリキャッシュの最大件数は変更せず、 現在の設定値のみが返されます。" -#: ../../../source/commands/select.txt:48 -msgid "カラム名1 * 重み1 || カラム名2 * 重み2" -msgstr "カラム名1 * 重み1 || カラム名2 * 重み2" +#: ../../../source/commands/clearlock.txt:61 +#: ../../../source/commands/define_selector.txt:114 +#: ../../../source/commands/delete.txt:65 ../../../source/commands/load.txt:98 +#: ../../../source/commands/log_level.txt:64 +#: ../../../source/commands/log_put.txt:68 +#: ../../../source/commands/log_reopen.txt:65 +#: ../../../source/commands/select.txt:256 +msgid "関連項目" +msgstr "関連項目" -#: ../../../source/commands/select.txt:50 +#: ../../../source/commands/log_reopen.txt:22 msgid "" -"また、カラム名ではなく、検索に使用するインデックス名を指定することもできま" -"す。" +"groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"また、カラム名ではなく、検索に使用するインデックス名を指定することもできま" -"す。" +"groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/select.txt:54 -msgid "以下の形式の文字列によって検索条件を指定します。" -msgstr "以下の形式の文字列によって検索条件を指定します。" +#: ../../../source/commands/delete.txt:31 +msgid "レコードを削除しようとするテーブルの名前を指定します。" +msgstr "レコードを削除しようとするテーブルの名前を指定します。" -#: ../../../source/commands/select.txt:57 -msgid "条件式" -msgstr "条件式" +#: ../../../source/commands/quit.txt:11 +msgid "quit - セッション終了" +msgstr "quit - セッション終了" -#: ../../../source/commands/select.txt:59 -msgid "以下の条件式が使用できます。" -msgstr "以下の条件式が使用できます。" +#: ../../../source/commands/table_create.txt:61 +msgid "``value_type``" +msgstr "``value_type``" -#: ../../../source/commands/select.txt:62 -msgid "" -"全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)" -msgstr "" -"全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)" +#: ../../../source/commands/dump.txt:6 +msgid "dump" +msgstr "dump" + +#: ../../../source/commands/define_selector.txt:116 +#: ../../../source/commands/load.txt:100 +#: ../../../source/commands/select.txt:258 +msgid ":doc:`../expr`" +msgstr ":doc:`../expr`" -#: ../../../source/commands/select.txt:65 +#: ../../../source/commands/table_list.txt:70 +msgid "``テーブル情報型n``" +msgstr "``テーブル情報型n``" + +#: ../../../source/commands.txt:8 msgid "" -"フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでい" -"る)" +"まず、すべてのコマンドに関係するコマンドバージョンについて説明します。その" +"後、組み込みのコマンドを順に説明します。" msgstr "" -"フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでい" -"る)" - -#: ../../../source/commands/select.txt:68 -msgid "一致条件(カラム値 == 値)" -msgstr "一致条件(カラム値 == 値)" +"まず、すべてのコマンドに関係するコマンドバージョンについて説明します。その" +"後、組み込みのコマンドを順に説明します。" -#: ../../../source/commands/select.txt:71 -msgid "不一致条件(カラム値 != 値)" -msgstr "不一致条件(カラム値 != 値)" +#: ../../../source/commands/delete.txt:11 +msgid "delete - 一件のレコードの削除" +msgstr "delete - 一件のレコードの削除" -#: ../../../source/commands/select.txt:74 -msgid "比較条件(カラム値 < 値)" -msgstr "比較条件(カラム値 < 値)" +#: ../../../source/commands/log_reopen.txt:60 +msgid "log_reopenコマンドを実行する。" +msgstr "log_reopenコマンドを実行する。" -#: ../../../source/commands/select.txt:77 -msgid "比較条件(カラム値 > 値)" -msgstr "比較条件(カラム値 > 値)" +#: ../../../source/commands/defrag.txt:55 +msgid "テーブル名 Entry のカラム body のフラグメンテーションを解消する::" +msgstr "テーブル名 Entry のカラム body のフラグメンテーションを解消する::" #: ../../../source/commands/select.txt:80 msgid "比較条件(カラム値 <= 値)" msgstr "比較条件(カラム値 <= 値)" -#: ../../../source/commands/select.txt:83 -msgid "比較条件(カラム値 >= 値)" -msgstr "比較条件(カラム値 >= 値)" +#: ../../../source/commands/dump.txt:49 +msgid "" +"> dump table_create LocalNames 48 ShortText table_create Entries 48 " +"ShortText column_create Entries local_name 0 LocalNames column_create " +"LocalNames Entries_local_name 2 Entries local_name ... load --table " +"LocalNames [ [\"_key\"], [\"Items\"], [\"BLT\"], ... ] ..." +msgstr "" +"> dump table_create LocalNames 48 ShortText table_create Entries 48 " +"ShortText column_create Entries local_name 0 LocalNames column_create " +"LocalNames Entries_local_name 2 Entries local_name ... load --table " +"LocalNames [ [\"_key\"], [\"Items\"], [\"BLT\"], ... ] ..." -#: ../../../source/commands/select.txt:86 -msgid "全文検索条件(カラム値が指定された文字列を含んでいる)" -msgstr "全文検索条件(カラム値が指定された文字列を含んでいる)" +#: ../../../source/commands/log_put.txt:17 +msgid "log_put level message" +msgstr "log_put level message" -#: ../../../source/commands/select.txt:89 -msgid "結合演算子" -msgstr "結合演算子" +#: ../../../source/commands/select.txt:170 +msgid "``match_escalation_threshold``" +msgstr "``match_escalation_threshold``" -#: ../../../source/commands/select.txt:91 -msgid "複数の条件式を結合するために以下の演算子が使用できます。" -msgstr "複数の条件式を結合するために以下の演算子が使用できます。" +#: ../../../source/commands/shutdown.txt:24 +msgid "shutdownは、接続しているgroongaサーバプロセスを停止します。" +msgstr "shutdownは、接続しているgroongaサーバプロセスを停止します。" -#: ../../../source/commands/select.txt:94 -msgid "論理和(aとbといずれかの条件がマッチする)" -msgstr "論理和(aとbといずれかの条件がマッチする)" +#: ../../../source/commands/dump.txt:47 +msgid "データベース内のすべてのデータを出力::" +msgstr "データベース内のすべてのデータを出力::" -#: ../../../source/commands/select.txt:97 -msgid "論理積(aとbの両方がマッチする)" -msgstr "論理積(aとbの両方がマッチする)" +#: ../../../source/commands/view_add.txt:22 +msgid "" +"groonga組込コマンドの一つであるview_addについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" +msgstr "" +"groonga組込コマンドの一つであるview_addについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/select.txt:100 -msgid "aにマッチし、bにはマッチしない" -msgstr "aにマッチし、bにはマッチしない" +#: ../../../source/commands/select.txt:232 +msgid "drilldownに指定されたカラムの値の異なり数が出力されます。" +msgstr "drilldownに指定されたカラムの値の異なり数が出力されます。" -#: ../../../source/commands/select.txt:103 -msgid "複数の条件をまとめる" -msgstr "複数の条件をまとめる" +#: ../../../source/commands/column_create.txt:66 +#: ../../../source/commands/column_list.txt:75 +msgid "``source``" +msgstr "``source``" -#: ../../../source/commands/select.txt:108 -msgid "絞り込み条件をscript形式のgrn_expr文字列によって指定します。" -msgstr "絞り込み条件をscript形式のgrn_expr文字列によって指定します。" +#: ../../../source/commands/column_list.txt:77 +msgid "インデックスカラムのとき、インデックス対象カラム名の配列" +msgstr "インデックスカラムのとき、インデックス対象カラム名の配列" -#: ../../../source/commands/select.txt:110 +#: ../../../source/commands/table_create.txt:59 msgid "" -"query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードの" -"みがヒットします。どちらも指定しない場合は全件がヒットします。" +"主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroonga" +"の組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指" +"定することができます。" msgstr "" -"query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードの" -"みがヒットします。どちらも指定しない場合は全件がヒットします。" +"主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroonga" +"の組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指" +"定することができます。" -#: ../../../source/commands/select.txt:114 +#: ../../../source/commands/select.txt:25 msgid "" -"検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定" -"します。" +"groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定" -"します。" +"groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/select.txt:116 -msgid "" -"scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従っ" -"て、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカ" -"スタマイズできるようになります。" -msgstr "" -"scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従っ" -"て、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカ" -"スタマイズできるようになります。" +#: ../../../source/commands/load.txt:6 +msgid "load" +msgstr "load" -#: ../../../source/commands/select.txt:120 -msgid "ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。::" -msgstr "ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。::" +#: ../../../source/commands/define_selector.txt:55 +#: ../../../source/commands/select.txt:118 +msgid "``sortby``" +msgstr "``sortby``" -#: ../../../source/commands/select.txt:124 +#: ../../../source/commands/define_selector.txt:77 msgid "" -"カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を" -"行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加し" -"ない場合には昇順にソートします。" +"追加するselectorコマンドのdrilldown_sortby引数のデフォルト値を指定します。" msgstr "" -"カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を" -"行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加し" -"ない場合には昇順にソートします。" +"追加するselectorコマンドのdrilldown_sortby引数のデフォルト値を指定します。" -#: ../../../source/commands/select.txt:126 +#: ../../../source/commands/view_add.txt:31 +msgid "テーブルを追加するview型のテーブルの名前を指定します。" +msgstr "テーブルを追加するview型のテーブルの名前を指定します。" + +#: ../../../source/commands/load.txt:29 +msgid "``values``" +msgstr "``values``" + +#: ../../../source/commands/shutdown.txt:6 +#: ../../../source/commands/shutdown.txt:17 +#: ../../../source/commands/shutdown.txt:40 +msgid "shutdown" +msgstr "shutdown" + +#: ../../../source/commands/column_create.txt:54 +msgid "段落情報を格納するインデックスを作成します。" +msgstr "段落情報を格納するインデックスを作成します。" + +#: ../../../source/commands/quit.txt:6 ../../../source/commands/quit.txt:17 +#: ../../../source/commands/quit.txt:40 +msgid "quit" +msgstr "quit" + +#: ../../../source/commands/table_create.txt:46 msgid "" -"query引数またはfilter引数を指定した場合はカラム名に'_score'を使えま" -"す。'_score'を指定することでスコアでソートすることができます。query引数も" -"filter引数も指定していない状態で'_score'を指定するとエラーになります。" +"主キーを持たないテーブルを作成します。各レコードはIDのみによって特定すること" +"ができます。" msgstr "" -"query引数またはfilter引数を指定した場合はカラム名に'_score'を使えま" -"す。'_score'を指定することでスコアでソートすることができます。query引数も" -"filter引数も指定していない状態で'_score'を指定するとエラーになります。" +"主キーを持たないテーブルを作成します。各レコードはIDのみによって特定すること" +"ができます。" -#: ../../../source/commands/select.txt:130 -msgid "出力するカラム名のリストをカンマ(',')区切りで指定します。" -msgstr "出力するカラム名のリストをカンマ(',')区切りで指定します。" +#: ../../../source/commands/column_list.txt:71 +#: ../../../source/commands/table_list.txt:66 +msgid "``range``" +msgstr "``range``" -#: ../../../source/commands/select.txt:132 +#: ../../../source/commands/select.txt:27 msgid "" -"アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。ま" -"たは、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, " -"\\*')" +"selectは、使用しているデータベースのテーブルの中から条件にマッチするレコード" +"を検索して出力します。" msgstr "" -"アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。ま" -"たは、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, " -"\\*')" +"selectは、使用しているデータベースのテーブルの中から条件にマッチするレコード" +"を検索して出力します。" -#: ../../../source/commands/select.txt:136 +#: ../../../source/commands/cache_limit.txt:39 +msgid "json" +msgstr "json" + +#: ../../../source/commands/select.txt:200 +msgid "処理にかかった秒数を返します。" +msgstr "処理にかかった秒数を返します。" + +#: ../../../source/commands/column_create.txt:31 +msgid "カラムを追加するテーブルの名前を指定します。" +msgstr "カラムを追加するテーブルの名前を指定します。" + +#: ../../../source/commands/define_selector.txt:17 msgid "" -"検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベー" -"スで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットし" -"た件数 + offset によって算出される値が指定されたものとみなされます。" +"define_selector name table [match_columns [query [filter [scorer " +"[sortby [output_columns [offset [limit [drilldown " +"[drilldown_sortby [drilldown_output_columns " +"[drilldown_offset [drilldown_limit]]]]]]]]]]]]]" msgstr "" -"検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベー" -"スで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットし" -"た件数 + offset によって算出される値が指定されたものとみなされます。" +"define_selector name table [match_columns [query [filter [scorer " +"[sortby [output_columns [offset [limit [drilldown " +"[drilldown_sortby [drilldown_output_columns " +"[drilldown_offset [drilldown_limit]]]]]]]]]]]]]" -#: ../../../source/commands/select.txt:140 +#: ../../../source/commands/clearlock.txt:31 +#: ../../../source/commands/defrag.txt:31 msgid "" -"検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デ" -"フォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲で" -"レコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + " -"limit + 1 によって算出される値が指定されたものとみなされます。" +"対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対" +"象となります。" msgstr "" -"検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デ" -"フォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲で" -"レコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + " -"limit + 1 によって算出される値が指定されたものとみなされます。" +"対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対" +"象となります。" -#: ../../../source/commands/select.txt:144 +#: ../../../source/commands/table_create.txt:67 msgid "" -"グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条" -"件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同" -"一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。" +"作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指" +"定します。" msgstr "" -"グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条" -"件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同" -"一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。" +"作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指" +"定します。" -#: ../../../source/commands/select.txt:148 +#: ../../../source/commands/column_list.txt:40 +msgid "[[[カラム情報名1,カラム情報型1],...], カラム情報1,...]" +msgstr "[[[カラム情報名1,カラム情報型1],...], カラム情報1,...]" + +#: ../../../source/commands/define_selector.txt:71 +#: ../../../source/commands/select.txt:142 +msgid "``drilldown``" +msgstr "``drilldown``" + +#: ../../../source/commands/table_remove.txt:24 msgid "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソー" -"トキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータ" -"と同様に昇降順を指定できます。" +"table_removeはテーブルと定義されているカラムを削除します。カラムに付随するイ" +"ンデックスも再帰的に削除されます。" msgstr "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソー" -"トキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータ" -"と同様に昇降順を指定できます。" +"table_removeはテーブルと定義されているカラムを削除します。カラムに付随するイ" +"ンデックスも再帰的に削除されます。" -#: ../../../source/commands/select.txt:152 +#: ../../../source/commands/log_level.txt:22 msgid "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"するカラム名のリストをカンマ(',')区切りで指定します。" +"groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"するカラム名のリストをカンマ(',')区切りで指定します。" +"groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/select.txt:156 +#: ../../../source/commands/column_create.txt:17 +msgid "column_create table name flags type [source]" +msgstr "column_create table name flags type [source]" + +#: ../../../source/commands/table_create.txt:63 msgid "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。" -"drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetに" -"よって算出される値が指定されたものとみなされます。" +"値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が" +"必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベース" +"に定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルト" +"はvalueなし)" msgstr "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。" -"drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetに" -"よって算出される値が指定されたものとみなされます。" +"値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が" +"必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベース" +"に定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルト" +"はvalueなし)" -#: ../../../source/commands/select.txt:160 +#: ../../../source/commands/table_create.txt:43 msgid "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"を行うレコードの件数を指定します。デフォルト値は10です。実際には、" -"drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが" -"出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + " -"drilldown_limit + 1 によって算出される値が指定されたものとみなされます。" +"主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用した" +"テーブルでは、主キー値に完全一致するレコード、前方一致するレコード、および最" +"長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降" +"順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、" +"flagsの値に64を加えることによって、後方一致検索も可能となります。" msgstr "" -"drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力" -"を行うレコードの件数を指定します。デフォルト値は10です。実際には、" -"drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが" -"出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + " -"drilldown_limit + 1 によって算出される値が指定されたものとみなされます。" +"主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用した" +"テーブルでは、主キー値に完全一致するレコード、前方一致するレコード、および最" +"長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降" +"順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、" +"flagsの値に64を加えることによって、後方一致検索も可能となります。" -#: ../../../source/commands/select.txt:162 -msgid "``cache``" -msgstr "``cache``" +#: ../../../source/commands/table_create.txt:75 +msgid "unigram(1文字を1トークンとする)" +msgstr "unigram(1文字を1トークンとする)" -#: ../../../source/commands/select.txt:164 -msgid "クエリキャッシュに関する動作を設定します。" -msgstr "クエリキャッシュに関する動作を設定します。" +#: ../../../source/commands/define_selector.txt:49 +msgid "追加するselectorコマンドのfilter引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのfilter引数のデフォルト値を指定します。" -#: ../../../source/commands/select.txt:166 -msgid "``no``" -msgstr "``no``" +#: ../../../source/commands/cache_limit.txt:27 +#: ../../../source/commands/check.txt:27 +#: ../../../source/commands/clearlock.txt:27 +#: ../../../source/commands/column_create.txt:27 +#: ../../../source/commands/column_list.txt:27 +#: ../../../source/commands/column_remove.txt:28 +#: ../../../source/commands/define_selector.txt:29 +#: ../../../source/commands/defrag.txt:27 +#: ../../../source/commands/delete.txt:27 ../../../source/commands/dump.txt:33 +#: ../../../source/commands/load.txt:27 +#: ../../../source/commands/log_level.txt:27 +#: ../../../source/commands/log_put.txt:27 +#: ../../../source/commands/log_reopen.txt:29 +#: ../../../source/commands/quit.txt:27 ../../../source/commands/select.txt:30 +#: ../../../source/commands/shutdown.txt:27 +#: ../../../source/commands/status.txt:27 +#: ../../../source/commands/suggest.txt:29 +#: ../../../source/commands/table_create.txt:29 +#: ../../../source/commands/table_list.txt:27 +#: ../../../source/commands/table_remove.txt:27 +#: ../../../source/commands/view_add.txt:27 +msgid "引数" +msgstr "引数" + +#: ../../../source/commands/log_put.txt:44 +msgid "出力する文字列を指定します。" +msgstr "出力する文字列を指定します。" + +#: ../../../source/commands/select.txt:110 +msgid "" +"query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードの" +"みがヒットします。どちらも指定しない場合は全件がヒットします。" +msgstr "" +"query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードの" +"みがヒットします。どちらも指定しない場合は全件がヒットします。" #: ../../../source/commands/select.txt:168 msgid "" @@ -1947,753 +1947,754 @@ msgstr "" "いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多く" "ヒットするために、このパラメータは有効です。" -#: ../../../source/commands/select.txt:170 -msgid "``match_escalation_threshold``" -msgstr "``match_escalation_threshold``" +#: ../../../source/commands/view_add.txt:35 +msgid "view型のテーブルに追加されるテーブルの名前を指定します。" +msgstr "view型のテーブルに追加されるテーブルの名前を指定します。" -#: ../../../source/commands/select.txt:172 +#: ../../../source/commands/column_create.txt:60 +msgid "位置情報を格納するインデックス(完全転置インデックス)を作成します。" +msgstr "位置情報を格納するインデックス(完全転置インデックス)を作成します。" + +#: ../../../source/commands/clearlock.txt:29 +#: ../../../source/commands/defrag.txt:29 +msgid "``objname``" +msgstr "``objname``" + +#: ../../../source/commands/suggest.txt:33 msgid "" -"検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0で" -"す。デフォルト値は以下のいずれかの方法で設定できます。" +"補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定" +"します(例: correct|suggest)" msgstr "" -"検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0で" -"す。デフォルト値は以下のいずれかの方法で設定できます。" - -#: ../../../source/commands/select.txt:174 -msgid "configureの--with-match-escalation-thresholdオプション" -msgstr "configureの--with-match-escalation-thresholdオプション" +"補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定" +"します(例: correct|suggest)" -#: ../../../source/commands/select.txt:175 -msgid "groongaコマンド起動時の--match-escalation-thresholdオプション" -msgstr "groongaコマンド起動時の--match-escalation-thresholdオプション" +#: ../../../source/commands/table_create.txt:65 +msgid "``default_tokenizer``" +msgstr "``default_tokenizer``" -#: ../../../source/commands/select.txt:176 -msgid "設定ファイル中のmatch-escalation-threshold設定項目" -msgstr "設定ファイル中のmatch-escalation-threshold設定項目" +#: ../../../source/commands/define_selector.txt:59 +#: ../../../source/commands/select.txt:128 +msgid "``output_columns``" +msgstr "``output_columns``" -#: ../../../source/commands/select.txt:178 -#, fuzzy +#: ../../../source/commands/delete.txt:22 msgid "" -"クエリのヒット件数が閾値を越えない場合は :doc:`/spec/search` で説明している方" -"法で検索方法をエスカレーションしてきます。" +"groonga組込コマンドの一つであるdeleteについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"クエリのヒット件数が閾値を越えない場合は:ref:`spec_search` で説明している方法" -"で検索方法をエスカレーションしてきます。" +"groonga組込コマンドの一つであるdeleteについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/select.txt:183 -msgid "以下のようなjson形式で値が返却されます。" -msgstr "以下のようなjson形式で値が返却されます。" +#: ../../../source/commands/load.txt:57 +msgid "``ifexists``" +msgstr "``ifexists``" -#: ../../../source/commands/select.txt:187 +#: ../../../source/commands/status.txt:6 +#: ../../../source/commands/status.txt:17 +msgid "status" +msgstr "status" + +#: ../../../source/commands/select.txt:116 msgid "" -"[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]" +"scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従っ" +"て、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカ" +"スタマイズできるようになります。" msgstr "" -"[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]" +"scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従っ" +"て、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカ" +"スタマイズできるようになります。" -#: ../../../source/commands/select.txt:189 -msgid "``リターンコード``" -msgstr "``リターンコード``" +#: ../../../source/commands/load.txt:69 +msgid "JSON形式" +msgstr "JSON形式" -#: ../../../source/commands/select.txt:191 +#: ../../../source/commands/table_list.txt:83 msgid "" -"grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内" -"容を示す 文字列が返されます。" +"table_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " +"[\"path\",\"ShortText\"], [\"flags\",\"ShortText\"], [\"domain\", " +"\"ShortText\"], [\"range\",\"ShortText\"]], [256, \"Entry\", \"test." +"db.0000100\", \"TABLE_HASH_KEY|PERSISTENT\", \"ShortText\", \"null" +"\"], [257, \"Term\", \"test.db.0000101\", \"TABLE_PAT_KEY|" +"KEY_NORMALIZE|PERSISTENT\", \"ShortText\", \"null\"]]" msgstr "" -"grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内" -"容を示す 文字列が返されます。" - -#: ../../../source/commands/select.txt:194 -msgid "``処理開始時間``" -msgstr "``処理開始時間``" +"table_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " +"[\"path\",\"ShortText\"], [\"flags\",\"ShortText\"], [\"domain\", " +"\"ShortText\"], [\"range\",\"ShortText\"]], [256, \"Entry\", \"test." +"db.0000100\", \"TABLE_HASH_KEY|PERSISTENT\", \"ShortText\", \"null" +"\"], [257, \"Term\", \"test.db.0000101\", \"TABLE_PAT_KEY|" +"KEY_NORMALIZE|PERSISTENT\", \"ShortText\", \"null\"]]" -#: ../../../source/commands/select.txt:196 +#: ../../../source/commands/select.txt:38 msgid "" -"処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返し" -"ます。" +"query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定しま" +"す。" msgstr "" -"処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返し" -"ます。" - -#: ../../../source/commands/select.txt:198 -msgid "``処理時間``" -msgstr "``処理時間``" +"query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定しま" +"す。" -#: ../../../source/commands/select.txt:200 -msgid "処理にかかった秒数を返します。" -msgstr "処理にかかった秒数を返します。" +#: ../../../source/commands/table_create.txt:40 +msgid "" +"主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテー" +"ブルでは、主キー値に完全一致するレコードを高速に検索することができます。" +msgstr "" +"主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテー" +"ブルでは、主キー値に完全一致するレコードを高速に検索することができます。" #: ../../../source/commands/select.txt:202 msgid "``検索結果``" msgstr "``検索結果``" -#: ../../../source/commands/select.txt:204 -msgid "drilldown条件が実行される前の検索結果が以下のように出力されます。::" -msgstr "drilldown条件が実行される前の検索結果が以下のように出力されます。::" - -#: ../../../source/commands/select.txt:208 -msgid "``検索件数``" -msgstr "``検索件数``" +#: ../../../source/commands/table_create.txt:57 +msgid "``key_type``" +msgstr "``key_type``" -#: ../../../source/commands/select.txt:210 -msgid "検索件数が出力されます。" -msgstr "検索件数が出力されます。" +#: ../../../source/commands/check.txt:41 +msgid "インデックスカラムの場合::" +msgstr "インデックスカラムの場合::" -#: ../../../source/commands/select.txt:212 -#: ../../../source/commands/select.txt:234 -msgid "``カラム名n``" -msgstr "``カラム名n``" +#: ../../../source/commands/table_create.txt:6 +msgid "table_create" +msgstr "table_create" -#: ../../../source/commands/select.txt:214 -msgid "" -"output_columnsに指定された条件に従って、対象となるカラム名が出力されます。" -msgstr "" -"output_columnsに指定された条件に従って、対象となるカラム名が出力されます。" +#: ../../../source/commands/column_list.txt:61 +msgid "スカラ型、ベクタ型、インデックス型の種別" +msgstr "スカラ型、ベクタ型、インデックス型の種別" -#: ../../../source/commands/select.txt:216 -#: ../../../source/commands/select.txt:238 -msgid "``カラム型n``" -msgstr "``カラム型n``" +#: ../../../source/commands/view_add.txt:24 +msgid "view_addは、view型のテーブルに要素となるテーブルを定義します。" +msgstr "view_addは、view型のテーブルに要素となるテーブルを定義します。" -#: ../../../source/commands/select.txt:218 -msgid "" -"output_columnsに指定された条件に従って、対象となるカラム型が出力されます。" -msgstr "" -"output_columnsに指定された条件に従って、対象となるカラム型が出力されます。" +#: ../../../source/commands/column_create.txt:6 +msgid "column_create" +msgstr "column_create" -#: ../../../source/commands/select.txt:220 -msgid "``検索結果n``" -msgstr "``検索結果n``" +#: ../../../source/commands/log_level.txt:17 +msgid "log_level level" +msgstr "log_level level" -#: ../../../source/commands/select.txt:222 -msgid "" -"output_columns, offset, limitによって指定された条件に従って各レコードの値が出" -"力されます。" -msgstr "" -"output_columns, offset, limitによって指定された条件に従って各レコードの値が出" -"力されます。" +#: ../../../source/commands/define_selector.txt:45 +msgid "追加するselectorコマンドのquery引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのquery引数のデフォルト値を指定します。" -#: ../../../source/commands/select.txt:224 -msgid "``drilldown結果``" -msgstr "``drilldown結果``" +#: ../../../source/commands/select.txt:71 +msgid "不一致条件(カラム値 != 値)" +msgstr "不一致条件(カラム値 != 値)" #: ../../../source/commands/select.txt:226 msgid "drilldown処理の結果が以下のように出力されます。::" msgstr "drilldown処理の結果が以下のように出力されます。::" -#: ../../../source/commands/select.txt:230 -msgid "``件数``" -msgstr "``件数``" - -#: ../../../source/commands/select.txt:232 -msgid "drilldownに指定されたカラムの値の異なり数が出力されます。" -msgstr "drilldownに指定されたカラムの値の異なり数が出力されます。" - -#: ../../../source/commands/select.txt:236 +#: ../../../source/commands/load.txt:55 msgid "" -"drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力さ" -"れます。" +"テーブルに登録するレコードに値を設定するカラム名のリストを、カンマ区切りで指" +"定します。" msgstr "" -"drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力さ" -"れます。" +"テーブルに登録するレコードに値を設定するカラム名のリストを、カンマ区切りで指" +"定します。" -#: ../../../source/commands/select.txt:240 +#: ../../../source/commands/define_selector.txt:63 +#: ../../../source/commands/select.txt:134 +msgid "``offset``" +msgstr "``offset``" + +#: ../../../source/commands/load.txt:41 msgid "" -"drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力さ" -"れます。" +"形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効で" +"す。" msgstr "" -"drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力さ" -"れます。" +"形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効で" +"す。" -#: ../../../source/commands/select.txt:242 -msgid "``ドリルダウン結果n``" -msgstr "``ドリルダウン結果n``" +#: ../../../source/commands/select.txt:208 +msgid "``検索件数``" +msgstr "``検索件数``" -#: ../../../source/commands/select.txt:244 -msgid "" -"drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された" -"条件に従って各レコードの値が出力されます。" -msgstr "" -"drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された" -"条件に従って各レコードの値が出力されます。" +#: ../../../source/commands/defrag.txt:6 +msgid "defrag" +msgstr "defrag" -#: ../../../source/commands/select.txt:249 -msgid "テーブルEntryの全レコード・全カラムの値を出力します。::" -msgstr "テーブルEntryの全レコード・全カラムの値を出力します。::" +#: ../../../source/commands/suggest.txt:43 +msgid "``suggest``" +msgstr "``suggest``" -#: ../../../source/commands/select.txt:251 -msgid "" -"select Entry [[[2],[[\"_id\", \"UInt32\"],[\"_key\",\"ShortText\"],[\"body" -"\",\"ShortText\"]],[1,\"abandon\",\"放棄する\"],[2,\"abbreviate\",\"短縮する" -"\"]]]" -msgstr "" -"select Entry [[[2],[[\"_id\", \"UInt32\"],[\"_key\",\"ShortText\"],[\"body" -"\",\"ShortText\"]],[1,\"abandon\",\"放棄する\"],[2,\"abbreviate\",\"短縮する" -"\"]]]" +#: ../../../source/commands/suggest.txt:45 +msgid "提案を行います。" +msgstr "提案を行います。" -#: ../../../source/commands/shutdown.txt:6 -#: ../../../source/commands/shutdown.txt:17 -#: ../../../source/commands/shutdown.txt:40 -msgid "shutdown" -msgstr "shutdown" +#: ../../../source/commands/column_remove.txt:54 +#: ../../../source/commands/table_remove.txt:50 +msgid "column_remove Entry body [true]" +msgstr "column_remove Entry body [true]" -#: ../../../source/commands/shutdown.txt:11 -msgid "shutdown - サーバプロセスの停止" -msgstr "shutdown - サーバプロセスの停止" +#: ../../../source/commands/load.txt:11 +msgid "load - データのロード" +msgstr "load - データのロード" -#: ../../../source/commands/shutdown.txt:22 +#: ../../../source/commands/clearlock.txt:63 +#: ../../../source/commands/delete.txt:67 +msgid ":doc:`load`" +msgstr ":doc:`load`" + +#: ../../../source/commands/view_add.txt:54 +msgid "view_add Ventry Entry [true]" +msgstr "view_add Ventry Entry [true]" + +#: ../../../source/commands/column_create.txt:64 msgid "" -"groonga組込コマンドの一つであるshutdownについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"値の型を指定します。groongaの組込型か、同一データベースに定義済みのユーザ定義" +"型、定義済みのテーブルを指定することができます。" msgstr "" -"groonga組込コマンドの一つであるshutdownについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +"値の型を指定します。groongaの組込型か、同一データベースに定義済みのユーザ定義" +"型、定義済みのテーブルを指定することができます。" -#: ../../../source/commands/shutdown.txt:24 -msgid "shutdownは、接続しているgroongaサーバプロセスを停止します。" -msgstr "shutdownは、接続しているgroongaサーバプロセスを停止します。" +#: ../../../source/commands/select.txt:175 +msgid "groongaコマンド起動時の--match-escalation-thresholdオプション" +msgstr "groongaコマンド起動時の--match-escalation-thresholdオプション" -#: ../../../source/commands/status.txt:6 -#: ../../../source/commands/status.txt:17 -msgid "status" -msgstr "status" +#: ../../../source/commands/column_list.txt:79 +msgid "``カラム情報型n``" +msgstr "``カラム情報型n``" -#: ../../../source/commands/status.txt:11 -msgid "status - groongaプロセスの状態表示" -msgstr "status - groongaプロセスの状態表示" +#: ../../../source/commands/suggest.txt:37 +msgid "補完を行います。" +msgstr "補完を行います。" -#: ../../../source/commands/status.txt:22 -msgid "" -"groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、" -"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" -"エストを送信することによって実行します。" +#: ../../../source/commands/define_selector.txt:83 +#: ../../../source/commands/select.txt:154 +msgid "``drilldown_offset``" +msgstr "``drilldown_offset``" -#: ../../../source/commands/status.txt:24 +#: ../../../source/commands/load.txt:45 msgid "" -"statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセ" -"スに対して使用することを想定しています。" +"values引数が省略された場合には、括弧の対応が取れるまで標準入力からvaluesの値" +"を読み取ります。引数として値を指定する場合は、文字列のエスケープが必要です" +"が、標準入力から与える文字列はエスケープする必要がありません。" msgstr "" -"statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセ" -"スに対して使用することを想定しています。" +"values引数が省略された場合には、括弧の対応が取れるまで標準入力からvaluesの値" +"を読み取ります。引数として値を指定する場合は、文字列のエスケープが必要です" +"が、標準入力から与える文字列はエスケープする必要がありません。" -#: ../../../source/commands/status.txt:39 -msgid "" -"下記の項目がハッシュ形式で出力されます。 ``alloc_count`` groongaプロセス" -"の内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。" -"groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指" -"定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合" -"があります。 ``starttime`` groongaプロセスが起動した時刻のtvsec値を返しま" -"す。 ``uptime`` groongaプロセスが起動してから経過した秒数を返します。" -msgstr "" -"下記の項目がハッシュ形式で出力されます。 ``alloc_count`` groongaプロセス" -"の内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。" -"groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指" -"定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合" -"があります。 ``starttime`` groongaプロセスが起動した時刻のtvsec値を返しま" -"す。 ``uptime`` groongaプロセスが起動してから経過した秒数を返します。" +#: ../../../source/commands/check.txt:39 +msgid "チェックするオブジェクトにより返される値が変わります。" +msgstr "チェックするオブジェクトにより返される値が変わります。" + +#: ../../../source/commands/log_reopen.txt:11 +msgid "log_reopen - ログファイルの再読み込み" +msgstr "log_reopen - ログファイルの再読み込み" + +#: ../../../source/commands/load.txt:88 +msgid "標準入力からvaluesの値を与えます。::" +msgstr "標準入力からvaluesの値を与えます。::" + +#: ../../../source/commands/table_list.txt:68 +msgid "valueが属する型" +msgstr "valueが属する型" + +#: ../../../source/commands/select.txt:120 +msgid "ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。::" +msgstr "ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。::" -#: ../../../source/commands/status.txt:58 -msgid "status {\"alloc_count\":104, \"starttime\":1268213679, \"uptime\":1}" -msgstr "status {\"alloc_count\":104, \"starttime\":1268213679, \"uptime\":1}" +#: ../../../source/commands/log_reopen.txt:6 +#: ../../../source/commands/log_reopen.txt:17 +msgid "log_reopen" +msgstr "log_reopen" -#: ../../../source/commands/suggest.txt:6 -msgid "suggest" -msgstr "suggest" +#: ../../../source/commands/dump.txt:35 +msgid "``tables``" +msgstr "``tables``" -#: ../../../source/commands/suggest.txt:8 +#: ../../../source/commands/table_create.txt:107 +msgid "table_create Entry --key_type ShortText [true]" +msgstr "table_create Entry --key_type ShortText [true]" + +#: ../../../source/commands/defrag.txt:11 +msgid "defrag - オブジェクトにセットされたロックを解除する" +msgstr "defrag - オブジェクトにセットされたロックを解除する" + +#: ../../../source/commands/select.txt:251 msgid "" -"** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必" -"要となります。 **" +"select Entry [[[2],[[\"_id\", \"UInt32\"],[\"_key\",\"ShortText\"],[\"body" +"\",\"ShortText\"]],[1,\"abandon\",\"放棄する\"],[2,\"abbreviate\",\"短縮する" +"\"]]]" msgstr "" -"** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必" -"要となります。 **" - -#: ../../../source/commands/suggest.txt:13 -msgid "suggest - 指定したクエリに対する補完・修正・提案を行う。" -msgstr "suggest - 指定したクエリに対する補完・修正・提案を行う。" +"select Entry [[[2],[[\"_id\", \"UInt32\"],[\"_key\",\"ShortText\"],[\"body" +"\",\"ShortText\"]],[1,\"abandon\",\"放棄する\"],[2,\"abbreviate\",\"短縮する" +"\"]]]" -#: ../../../source/commands/suggest.txt:19 -msgid "suggest types table column query" -msgstr "suggest types table column query" +#: ../../../source/commands/table_create.txt:105 +msgid "ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。::" +msgstr "ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。::" -#: ../../../source/commands/suggest.txt:24 -msgid "suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。" -msgstr "suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。" +#: ../../../source/commands/column_create.txt:39 +#: ../../../source/commands/column_list.txt:63 +#: ../../../source/commands/table_create.txt:35 +#: ../../../source/commands/table_list.txt:58 +msgid "``flags``" +msgstr "``flags``" -#: ../../../source/commands/suggest.txt:26 +#: ../../../source/commands/cache_limit.txt:43 msgid "" -"補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミス" -"タイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補と" -"なるクエリを提案することです。" +"[以前の設定値] ``以前の設定値`` すでに設定されていたクエリキャッシュの最" +"大件数を返す。" msgstr "" -"補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミス" -"タイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補と" -"なるクエリを提案することです。" +"[以前の設定値] ``以前の設定値`` すでに設定されていたクエリキャッシュの最" +"大件数を返す。" -#: ../../../source/commands/suggest.txt:31 -msgid "``types``" -msgstr "``types``" +#: ../../../source/commands/select.txt:6 +msgid "select" +msgstr "select" -#: ../../../source/commands/suggest.txt:33 +#: ../../../source/commands/table_create.txt:52 msgid "" -"補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定" -"します(例: correct|suggest)" +"語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。" msgstr "" -"補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定" -"します(例: correct|suggest)" - -#: ../../../source/commands/suggest.txt:35 -msgid "``complete``" -msgstr "``complete``" +"語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。" -#: ../../../source/commands/suggest.txt:37 -msgid "補完を行います。" -msgstr "補完を行います。" +#: ../../../source/commands/column_create.txt:89 +msgid "column_create Entry body --type ShortText [true]" +msgstr "column_create Entry body --type ShortText [true]" -#: ../../../source/commands/suggest.txt:39 -msgid "``correct``" -msgstr "``correct``" +#: ../../../source/commands/select.txt:62 +msgid "" +"全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)" +msgstr "" +"全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)" -#: ../../../source/commands/suggest.txt:41 -msgid "修正を行います。" -msgstr "修正を行います。" +#: ../../../source/commands/select.txt:204 +msgid "drilldown条件が実行される前の検索結果が以下のように出力されます。::" +msgstr "drilldown条件が実行される前の検索結果が以下のように出力されます。::" -#: ../../../source/commands/suggest.txt:43 -msgid "``suggest``" -msgstr "``suggest``" +#: ../../../source/commands/load.txt:82 +msgid "テーブルEntryにレコードを登録します。::" +msgstr "テーブルEntryにレコードを登録します。::" -#: ../../../source/commands/suggest.txt:45 -msgid "提案を行います。" -msgstr "提案を行います。" +#: ../../../source/commands/select.txt:196 +msgid "" +"処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返し" +"ます。" +msgstr "" +"処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返し" +"ます。" -#: ../../../source/commands/suggest.txt:49 -msgid "基礎となるデータが格納されているテーブル名を指定します。" -msgstr "基礎となるデータが格納されているテーブル名を指定します。" +#: ../../../source/commands/log_level.txt:66 +msgid ":doc:`log_put` :doc:`log_reopen`" +msgstr ":doc:`log_put` :doc:`log_reopen`" -#: ../../../source/commands/suggest.txt:51 -msgid "``column``" -msgstr "``column``" +#: ../../../source/commands/log_put.txt:70 +msgid ":doc:`log_level` :doc:`log_reopen`" +msgstr ":doc:`log_level` :doc:`log_reopen`" -#: ../../../source/commands/suggest.txt:53 +#: ../../../source/commands/table_create.txt:110 msgid "" -"基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されてい" -"るカラム名を指定します。" +"ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値" +"は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場" +"合には、バイグラムの索引を作成します。::" msgstr "" -"基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されてい" -"るカラム名を指定します。" +"ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値" +"は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場" +"合には、バイグラムの索引を作成します。::" -#: ../../../source/commands/suggest.txt:57 -msgid "補完・修正・提案の対象となるクエリを指定します。" -msgstr "補完・修正・提案の対象となるクエリを指定します。" +#: ../../../source/commands/column_list.txt:67 +#: ../../../source/commands/table_list.txt:62 +msgid "``domain``" +msgstr "``domain``" -#: ../../../source/commands/suggest.txt:67 +#: ../../../source/commands/select.txt:11 +msgid "select - テーブルの中から条件にマッチするレコードを検索して出力する" +msgstr "select - テーブルの中から条件にマッチするレコードを検索して出力する" + +#: ../../../source/commands/check.txt:43 msgid "" -"{\"タイプ1\":[[\"候補1\", 候補1のスコア], [\"候補2\", 候補2のスコ" -"ア], ...], ...} ``タイプ`` types引数に指定した値。 ``候補`` 補完・修" -"正・提案の候補。 ``候補のスコア`` 補完・修正・提案として優れたものほど高" -"くなる数値。結果は、スコア順にソートされている。" +"下記のような配列が出力されます。 [インデックスの状態, バッファの状態1, " +"バッファの状態2, ...] ``インデックスの状態``には下記の項目がハッシュ形式で出" +"力されます。 ``flags`` 指定されているフラグ値です。16進数で表現されていま" +"す。 ``max sid`` セグメントのうち最も大きなIDです。 ``number of garbage " +"segments`` ゴミセグメントの数です。 ``number of array segments`` 配列" +"セグメントの数です。 ``max id of array segment`` 配列セグメントのうち最も" +"大きなIDです。 ``number of buffer segments`` バッファセグメントの数で" +"す。 ``max id of buffer segment`` バッファセグメントのうち最も大きなIDで" +"す。 ``max id of physical segment in use`` 使用中の論理セグメントのうち最" +"も大きなIDです。 ``number of unmanaged segments`` 管理されていないセグメ" +"ントの数です。 ``total chunk size`` チャンクサイズの合計です。 ``max id " +"of chunk segments in use`` 使用中のチャンクセグメントのうち最も大きなIDで" +"す。 ``number of garbage chunk`` 各チャンク毎のゴミの数です。 ``バッファ" +"の状態``には下記の項目がハッシュ形式で出力されます。 ``buffer id`` バッ" +"ファIDです。 ``chunk size`` チャンクのサイズです。 ``buffer term`` " +"バッファ内にある語の一覧です。各語の状態は以下のような配列となっていま" +"す。 [語, バッファに登録されている語のID, 用語集に登録されている語のID, " +"バッファ内でのサイズ, チャンク内でのサイズ] ``buffer free`` バッファの空" +"き容量です。 ``size in buffer`` バッファの使用量です。 ``nterms`` " +"バッファ内にある語の数です。 ``nterms with chunk`` バッファ内にある語のう" +"ち、チャンクを使っている語の数です。" msgstr "" -"{\"タイプ1\":[[\"候補1\", 候補1のスコア], [\"候補2\", 候補2のスコ" -"ア], ...], ...} ``タイプ`` types引数に指定した値。 ``候補`` 補完・修" -"正・提案の候補。 ``候補のスコア`` 補完・修正・提案として優れたものほど高" -"くなる数値。結果は、スコア順にソートされている。" +"下記のような配列が出力されます。 [インデックスの状態, バッファの状態1, " +"バッファの状態2, ...] ``インデックスの状態``には下記の項目がハッシュ形式で出" +"力されます。 ``flags`` 指定されているフラグ値です。16進数で表現されていま" +"す。 ``max sid`` セグメントのうち最も大きなIDです。 ``number of garbage " +"segments`` ゴミセグメントの数です。 ``number of array segments`` 配列" +"セグメントの数です。 ``max id of array segment`` 配列セグメントのうち最も" +"大きなIDです。 ``number of buffer segments`` バッファセグメントの数で" +"す。 ``max id of buffer segment`` バッファセグメントのうち最も大きなIDで" +"す。 ``max id of physical segment in use`` 使用中の論理セグメントのうち最" +"も大きなIDです。 ``number of unmanaged segments`` 管理されていないセグメ" +"ントの数です。 ``total chunk size`` チャンクサイズの合計です。 ``max id " +"of chunk segments in use`` 使用中のチャンクセグメントのうち最も大きなIDで" +"す。 ``number of garbage chunk`` 各チャンク毎のゴミの数です。 ``バッファ" +"の状態``には下記の項目がハッシュ形式で出力されます。 ``buffer id`` バッ" +"ファIDです。 ``chunk size`` チャンクのサイズです。 ``buffer term`` " +"バッファ内にある語の一覧です。各語の状態は以下のような配列となっていま" +"す。 [語, バッファに登録されている語のID, 用語集に登録されている語のID, " +"バッファ内でのサイズ, チャンク内でのサイズ] ``buffer free`` バッファの空" +"き容量です。 ``size in buffer`` バッファの使用量です。 ``nterms`` " +"バッファ内にある語の数です。 ``nterms with chunk`` バッファ内にある語のう" +"ち、チャンクを使っている語の数です。" -#: ../../../source/commands/table_create.txt:6 -msgid "table_create" -msgstr "table_create" +#: ../../../source/commands/define_selector.txt:69 +msgid "追加するselectorコマンドのlimit引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのlimit引数のデフォルト値を指定します。" -#: ../../../source/commands/table_create.txt:11 -msgid "table_create - テーブルの追加" -msgstr "table_create - テーブルの追加" +#: ../../../source/commands/column_remove.txt:17 +msgid "column_remove table name" +msgstr "column_remove table name" -#: ../../../source/commands/table_create.txt:17 -msgid "table_create name [flags [key_type [value_type [default_tokenizer]]]]" -msgstr "table_create name [flags [key_type [value_type [default_tokenizer]]]]" +#: ../../../source/commands/cache_limit.txt:50 +#: ../../../source/commands/check.txt:130 +#: ../../../source/commands/clearlock.txt:48 +#: ../../../source/commands/column_create.txt:85 +#: ../../../source/commands/column_list.txt:89 +#: ../../../source/commands/column_remove.txt:51 +#: ../../../source/commands/define_selector.txt:106 +#: ../../../source/commands/defrag.txt:48 +#: ../../../source/commands/delete.txt:56 ../../../source/commands/dump.txt:45 +#: ../../../source/commands/load.txt:80 +#: ../../../source/commands/log_level.txt:57 +#: ../../../source/commands/log_put.txt:61 +#: ../../../source/commands/log_reopen.txt:48 +#: ../../../source/commands/quit.txt:37 +#: ../../../source/commands/select.txt:247 +#: ../../../source/commands/shutdown.txt:37 +#: ../../../source/commands/status.txt:54 +#: ../../../source/commands/table_create.txt:103 +#: ../../../source/commands/table_list.txt:80 +#: ../../../source/commands/table_remove.txt:47 +#: ../../../source/commands/view_add.txt:52 +msgid "例" +msgstr "例" -#: ../../../source/commands/table_create.txt:22 -msgid "" -"groonga組込コマンドの一つであるtable_createについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" -msgstr "" -"groonga組込コマンドの一つであるtable_createについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +#: ../../../source/commands/column_create.txt:87 +msgid "テーブルEntryに、ShortText型の値を格納するカラム、bodyを作成します。::" +msgstr "テーブルEntryに、ShortText型の値を格納するカラム、bodyを作成します。::" + +#: ../../../source/commands/log_reopen.txt:26 +msgid "現在、デフォルトのログ関数を用いている場合のみに対応しています。" +msgstr "現在、デフォルトのログ関数を用いている場合のみに対応しています。" -#: ../../../source/commands/table_create.txt:24 +#: ../../../source/commands/table_list.txt:22 msgid "" -"table_createコマンドは、使用しているデータベースに対してテーブルを追加しま" -"す。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブル" -"がありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成でき" -"ます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。ID" -"はレコードを追加した順序に従って自動的に付与されます。" +"groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" msgstr "" -"table_createコマンドは、使用しているデータベースに対してテーブルを追加しま" -"す。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブル" -"がありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成でき" -"ます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。ID" -"はレコードを追加した順序に従って自動的に付与されます。" +"groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、" +"groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" +"エストを送信することによって実行します。" -#: ../../../source/commands/table_create.txt:26 -msgid "" -"テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テー" -"ブルを作成した時点でいくつかの疑似カラムが使用可能になっています。" -msgstr "" -"テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テー" -"ブルを作成した時点でいくつかの疑似カラムが使用可能になっています。" +#: ../../../source/commands/define_selector.txt:57 +msgid "追加するselectorコマンドのsortby引数のデフォルト値を指定します。" +msgstr "追加するselectorコマンドのsortby引数のデフォルト値を指定します。" -#: ../../../source/commands/table_create.txt:33 -msgid "" -"作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名" -"前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであ" -"り、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前" -"のテーブルは作成できません。" -msgstr "" -"作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名" -"前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであ" -"り、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前" -"のテーブルは作成できません。" +#: ../../../source/commands/define_selector.txt:51 +#: ../../../source/commands/select.txt:112 +msgid "``scorer``" +msgstr "``scorer``" -#: ../../../source/commands/table_create.txt:37 +#: ../../../source/commands/column_create.txt:94 msgid "" -"作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定" -"します。(デフォルト値は0(=\"TABLE_HASH_KEY\"))" +"column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body [true]" msgstr "" -"作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定" -"します。(デフォルト値は0(=\"TABLE_HASH_KEY\"))" +"column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body [true]" -#: ../../../source/commands/table_create.txt:40 -msgid "" -"主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテー" -"ブルでは、主キー値に完全一致するレコードを高速に検索することができます。" -msgstr "" -"主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテー" -"ブルでは、主キー値に完全一致するレコードを高速に検索することができます。" +#: ../../../source/commands/log_reopen.txt:51 +msgid "log_reopen [true]" +msgstr "log_reopen [true]" -#: ../../../source/commands/table_create.txt:43 -msgid "" -"主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用した" -"テーブルでは、主キー値に完全一致するレコード、前方一致するレコード、および最" -"長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降" -"順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、" -"flagsの値に64を加えることによって、後方一致検索も可能となります。" -msgstr "" -"主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用した" -"テーブルでは、主キー値に完全一致するレコード、前方一致するレコード、および最" -"長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降" -"順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、" -"flagsの値に64を加えることによって、後方一致検索も可能となります。" +#: ../../../source/commands/table_create.txt:81 +msgid "trigram(3文字の文字列要素をトークンとする)" +msgstr "trigram(3文字の文字列要素をトークンとする)" -#: ../../../source/commands/table_create.txt:46 -msgid "" -"主キーを持たないテーブルを作成します。各レコードはIDのみによって特定すること" -"ができます。" -msgstr "" -"主キーを持たないテーブルを作成します。各レコードはIDのみによって特定すること" -"ができます。" +#: ../../../source/commands/table_list.txt:11 +msgid "table_list - DBに定義されているテーブルをリスト表示" +msgstr "table_list - DBに定義されているテーブルをリスト表示" -#: ../../../source/commands/table_create.txt:49 +#: ../../../source/commands/define_selector.txt:24 msgid "" -"複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。" +"groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマン" +"ドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバ" +"にリクエストを送信することによって実行します。" msgstr "" -"複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。" +"groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマン" +"ドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバ" +"にリクエストを送信することによって実行します。" -#: ../../../source/commands/table_create.txt:52 -msgid "" -"語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。" -msgstr "" -"語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。" +#: ../../../source/commands/defrag.txt:52 +msgid "defrag [300]" +msgstr "defrag [300]" -#: ../../../source/commands/table_create.txt:55 -msgid "" -"ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登" -"録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一" -"のレコードに対応するものとみなされます。" -msgstr "" -"ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登" -"録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一" -"のレコードに対応するものとみなされます。" +#: ../../../source/commands/column_list.txt:24 +msgid "column_listはテーブルに定義されているカラムをリスト表示します。" +msgstr "column_listはテーブルに定義されているカラムをリスト表示します。" -#: ../../../source/commands/table_create.txt:57 -msgid "``key_type``" -msgstr "``key_type``" +#: ../../../source/commands/define_selector.txt:37 +msgid "検索対象のテーブルを指定します。" +msgstr "検索対象のテーブルを指定します。" -#: ../../../source/commands/table_create.txt:59 +#: ../../../source/commands/define_selector.txt:85 msgid "" -"主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroonga" -"の組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指" -"定することができます。" +"追加するselectorコマンドのdrilldown_offset引数のデフォルト値を指定します。" msgstr "" -"主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroonga" -"の組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指" -"定することができます。" +"追加するselectorコマンドのdrilldown_offset引数のデフォルト値を指定します。" -#: ../../../source/commands/table_create.txt:61 -msgid "``value_type``" -msgstr "``value_type``" +#: ../../../source/commands/suggest.txt:39 +msgid "``correct``" +msgstr "``correct``" -#: ../../../source/commands/table_create.txt:63 +#: ../../../source/commands/defrag.txt:17 +msgid "defrag objname threshold" +msgstr "defrag objname threshold" + +#: ../../../source/commands/suggest.txt:67 msgid "" -"値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が" -"必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベース" -"に定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルト" -"はvalueなし)" +"{\"タイプ1\":[[\"候補1\", 候補1のスコア], [\"候補2\", 候補2のスコ" +"ア], ...], ...} ``タイプ`` types引数に指定した値。 ``候補`` 補完・修" +"正・提案の候補。 ``候補のスコア`` 補完・修正・提案として優れたものほど高" +"くなる数値。結果は、スコア順にソートされている。" msgstr "" -"値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が" -"必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベース" -"に定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルト" -"はvalueなし)" - -#: ../../../source/commands/table_create.txt:65 -msgid "``default_tokenizer``" -msgstr "``default_tokenizer``" +"{\"タイプ1\":[[\"候補1\", 候補1のスコア], [\"候補2\", 候補2のスコ" +"ア], ...], ...} ``タイプ`` types引数に指定した値。 ``候補`` 補完・修" +"正・提案の候補。 ``候補のスコア`` 補完・修正・提案として優れたものほど高" +"くなる数値。結果は、スコア順にソートされている。" -#: ../../../source/commands/table_create.txt:67 +#: ../../../source/commands/column_create.txt:24 msgid "" -"作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指" -"定します。" +"column_createは、使用しているデータベースのテーブルに対してカラムを追加しま" +"す。" msgstr "" -"作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指" -"定します。" - -#: ../../../source/commands/table_create.txt:69 -msgid "組込のトークナイザとして、以下が準備されています。" -msgstr "組込のトークナイザとして、以下が準備されています。" - -#: ../../../source/commands/table_create.txt:72 -msgid "空白で区切られた文字列をトークンとする" -msgstr "空白で区切られた文字列をトークンとする" - -#: ../../../source/commands/table_create.txt:75 -msgid "unigram(1文字を1トークンとする)" -msgstr "unigram(1文字を1トークンとする)" +"column_createは、使用しているデータベースのテーブルに対してカラムを追加しま" +"す。" -#: ../../../source/commands/table_create.txt:78 -msgid "bigram(2文字の文字列要素をトークンとする)" -msgstr "bigram(2文字の文字列要素をトークンとする)" +#: ../../../source/commands/select.txt:100 +msgid "aにマッチし、bにはマッチしない" +msgstr "aにマッチし、bにはマッチしない" -#: ../../../source/commands/table_create.txt:81 -msgid "trigram(3文字の文字列要素をトークンとする)" -msgstr "trigram(3文字の文字列要素をトークンとする)" +#: ../../../source/commands/delete.txt:60 +msgid "delete Entry abandon [true]" +msgstr "delete Entry abandon [true]" -#: ../../../source/commands/table_create.txt:84 +#: ../../../source/commands/select.txt:240 msgid "" -"形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ" -"有効)" +"drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力さ" +"れます。" msgstr "" -"形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ" -"有効)" +"drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力さ" +"れます。" -#: ../../../source/commands/table_create.txt:86 +#: ../../../source/commands/clearlock.txt:55 +msgid "テーブル名 Entry のカラム body のロックを解除する::" +msgstr "テーブル名 Entry のカラム body のロックを解除する::" + +#: ../../../source/commands/column_list.txt:92 msgid "" -"トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録し" -"ます。" +"column_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " +"[\"path\",\"ShortText\"], [\"type\",\"ShortText\"], [\"flags\"," +"\"ShortText\"], [\"domain\", \"ShortText\"], [\"range\", \"ShortText" +"\"], [\"source\",\"ShortText\"]], [258, \"Entry.body\", \"test." +"db.0000102\", \"var\", \"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\", " +"\"Entry\", \"ShortText\", []]]" msgstr "" -"トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録し" -"ます。" - -#: ../../../source/commands/table_create.txt:105 -msgid "ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。::" -msgstr "ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。::" +"column_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " +"[\"path\",\"ShortText\"], [\"type\",\"ShortText\"], [\"flags\"," +"\"ShortText\"], [\"domain\", \"ShortText\"], [\"range\", \"ShortText" +"\"], [\"source\",\"ShortText\"]], [258, \"Entry.body\", \"test." +"db.0000102\", \"var\", \"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT\", " +"\"Entry\", \"ShortText\", []]]" -#: ../../../source/commands/table_create.txt:107 -msgid "table_create Entry --key_type ShortText [true]" -msgstr "table_create Entry --key_type ShortText [true]" +#: ../../../source/commands/log_level.txt:33 +#: ../../../source/commands/log_put.txt:33 +msgid "EMERG ALERT CRIT error warning notice info debug" +msgstr "EMERG ALERT CRIT error warning notice info debug" -#: ../../../source/commands/table_create.txt:110 -msgid "" -"ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値" -"は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場" -"合には、バイグラムの索引を作成します。::" -msgstr "" -"ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値" -"は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場" -"合には、バイグラムの索引を作成します。::" +#: ../../../source/commands/select.txt:86 +msgid "全文検索条件(カラム値が指定された文字列を含んでいる)" +msgstr "全文検索条件(カラム値が指定された文字列を含んでいる)" -#: ../../../source/commands/table_create.txt:112 +#: ../../../source/commands/select.txt:176 +msgid "設定ファイル中のmatch-escalation-threshold設定項目" +msgstr "設定ファイル中のmatch-escalation-threshold設定項目" + +#: ../../../source/commands/select.txt:214 msgid "" -"table_create Term --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --" -"default_tokenizer TokenBigram [true]" +"output_columnsに指定された条件に従って、対象となるカラム名が出力されます。" msgstr "" -"table_create Term --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --" -"default_tokenizer TokenBigram [true]" +"output_columnsに指定された条件に従って、対象となるカラム名が出力されます。" -#: ../../../source/commands/table_list.txt:6 -#: ../../../source/commands/table_list.txt:17 -msgid "table_list" -msgstr "table_list" +#: ../../../source/commands/delete.txt:6 +msgid "delete" +msgstr "delete" -#: ../../../source/commands/table_list.txt:11 -msgid "table_list - DBに定義されているテーブルをリスト表示" -msgstr "table_list - DBに定義されているテーブルをリスト表示" +#: ../../../source/commands/view_add.txt:17 +msgid "view_add view table" +msgstr "view_add view table" -#: ../../../source/commands/table_list.txt:22 +#: ../../../source/commands/table_list.txt:74 +msgid "``テーブル情報n``" +msgstr "``テーブル情報n``" + +#: ../../../source/commands/select.txt:68 +msgid "一致条件(カラム値 == 値)" +msgstr "一致条件(カラム値 == 値)" + +#: ../../../source/commands/log_put.txt:22 msgid "" -"groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" -#: ../../../source/commands/table_list.txt:24 -msgid "table_listは、DBに定義されているテーブルのリストを表示します。" -msgstr "table_listは、DBに定義されているテーブルのリストを表示します。" - -#: ../../../source/commands/table_list.txt:37 -msgid "テーブル名一覧が以下の形式で返却されます。::" -msgstr "テーブル名一覧が以下の形式で返却されます。::" - -#: ../../../source/commands/table_list.txt:39 -msgid "[[[テーブル情報名1,テーブル情報型1],...], テーブル情報1,...]" -msgstr "[[[テーブル情報名1,テーブル情報型1],...], テーブル情報1,...]" - -#: ../../../source/commands/table_list.txt:41 -msgid "``テーブル情報名n``" -msgstr "``テーブル情報名n``" +#: ../../../source/commands/log_put.txt:6 +msgid "log_put" +msgstr "log_put" -#: ../../../source/commands/table_list.txt:43 +#: ../../../source/commands/table_create.txt:37 msgid "" -"``テーブル情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容か" -"を示す名前を出力します。 情報名は以下の通りです。" +"作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定" +"します。(デフォルト値は0(=\"TABLE_HASH_KEY\"))" msgstr "" -"``テーブル情報n`` には複数の情報が含まれますが、そこに入る情報がどんな内容か" -"を示す名前を出力します。 情報名は以下の通りです。" +"作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定" +"します。(デフォルト値は0(=\"TABLE_HASH_KEY\"))" -#: ../../../source/commands/table_list.txt:48 -msgid "テーブルオブジェクトに割り当てられたID" -msgstr "テーブルオブジェクトに割り当てられたID" +#: ../../../source/commands/view_add.txt:29 +msgid "``view``" +msgstr "``view``" -#: ../../../source/commands/table_list.txt:52 -msgid "テーブル名" -msgstr "テーブル名" +#: ../../../source/commands/check.txt:6 +msgid "check" +msgstr "check" -#: ../../../source/commands/table_list.txt:56 -msgid "テーブルのレコードを格納するファイル名" -msgstr "テーブルのレコードを格納するファイル名" +#: ../../../source/commands/select.txt:44 +msgid "カラム名 * 重み" +msgstr "カラム名 * 重み" -#: ../../../source/commands/table_list.txt:60 -msgid "テーブルのflags属性" -msgstr "テーブルのflags属性" +#: ../../../source/commands/select.txt:194 +msgid "``処理開始時間``" +msgstr "``処理開始時間``" -#: ../../../source/commands/table_list.txt:64 -msgid "主キー値の属する型" -msgstr "主キー値の属する型" +#: ../../../source/commands/select.txt:130 +msgid "出力するカラム名のリストをカンマ(',')区切りで指定します。" +msgstr "出力するカラム名のリストをカンマ(',')区切りで指定します。" -#: ../../../source/commands/table_list.txt:68 -msgid "valueが属する型" -msgstr "valueが属する型" +#: ../../../source/commands/table_create.txt:11 +msgid "table_create - テーブルの追加" +msgstr "table_create - テーブルの追加" -#: ../../../source/commands/table_list.txt:70 -msgid "``テーブル情報型n``" -msgstr "``テーブル情報型n``" +#: ../../../source/commands/load.txt:77 +msgid "テーブルに登録されたレコードの件数が返されます。" +msgstr "テーブルに登録されたレコードの件数が返されます。" -#: ../../../source/commands/table_list.txt:72 -msgid "テーブル情報の型を出力します。" -msgstr "テーブル情報の型を出力します。" +#: ../../../source/commands/select.txt:54 +msgid "以下の形式の文字列によって検索条件を指定します。" +msgstr "以下の形式の文字列によって検索条件を指定します。" -#: ../../../source/commands/table_list.txt:74 -msgid "``テーブル情報n``" -msgstr "``テーブル情報n``" +#: ../../../source/commands/define_selector.txt:43 +#: ../../../source/commands/select.txt:52 +#: ../../../source/commands/suggest.txt:55 +msgid "``query``" +msgstr "``query``" -#: ../../../source/commands/table_list.txt:76 +#: ../../../source/commands/table_create.txt:26 msgid "" -"``テーブル情報名n`` で示された情報の配列を出力します。 情報の順序は ``テーブ" -"ル情報名n`` の順序と同じです。" +"テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テー" +"ブルを作成した時点でいくつかの疑似カラムが使用可能になっています。" msgstr "" -"``テーブル情報名n`` で示された情報の配列を出力します。 情報の順序は ``テーブ" -"ル情報名n`` の順序と同じです。" +"テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テー" +"ブルを作成した時点でいくつかの疑似カラムが使用可能になっています。" -#: ../../../source/commands/table_list.txt:83 +#: ../../../source/commands/table_create.txt:86 msgid "" -"table_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " -"[\"path\",\"ShortText\"], [\"flags\",\"ShortText\"], [\"domain\", " -"\"ShortText\"], [\"range\",\"ShortText\"]], [256, \"Entry\", \"test." -"db.0000100\", \"TABLE_HASH_KEY|PERSISTENT\", \"ShortText\", \"null" -"\"], [257, \"Term\", \"test.db.0000101\", \"TABLE_PAT_KEY|" -"KEY_NORMALIZE|PERSISTENT\", \"ShortText\", \"null\"]]" +"トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録し" +"ます。" msgstr "" -"table_list Entry [[[\"id\", \"UInt32\"], [\"name\",\"ShortText\"], " -"[\"path\",\"ShortText\"], [\"flags\",\"ShortText\"], [\"domain\", " -"\"ShortText\"], [\"range\",\"ShortText\"]], [256, \"Entry\", \"test." -"db.0000100\", \"TABLE_HASH_KEY|PERSISTENT\", \"ShortText\", \"null" -"\"], [257, \"Term\", \"test.db.0000101\", \"TABLE_PAT_KEY|" -"KEY_NORMALIZE|PERSISTENT\", \"ShortText\", \"null\"]]" - -#: ../../../source/commands/table_remove.txt:6 -msgid "table_remove" -msgstr "table_remove" - -#: ../../../source/commands/table_remove.txt:11 -msgid "table_remove - テーブルの削除" -msgstr "table_remove - テーブルの削除" +"トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録し" +"ます。" -#: ../../../source/commands/table_remove.txt:17 -msgid "table_remove table" -msgstr "table_remove table" +#: ../../../source/commands/column_list.txt:49 +msgid "カラムオブジェクトに割り当てられたID" +msgstr "カラムオブジェクトに割り当てられたID" -#: ../../../source/commands/table_remove.txt:22 +#: ../../../source/commands/define_selector.txt:81 msgid "" -"groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +"追加するselectorコマンドのdrilldown_output_columns引数のデフォルト値を指定し" +"ます。" msgstr "" -"groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンド" -"は、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバに" -"リクエストを送信することによって実行します。" +"追加するselectorコマンドのdrilldown_output_columns引数のデフォルト値を指定し" +"ます。" -#: ../../../source/commands/table_remove.txt:24 +#: ../../../source/commands/dump.txt:42 msgid "" -"table_removeはテーブルと定義されているカラムを削除します。カラムに付随するイ" -"ンデックスも再帰的に削除されます。" +"データベースのスキーマとデータをgroongaの組み込みコマンド呼び出し形式で出力し" +"ます。output_type指定は無視されます。" msgstr "" -"table_removeはテーブルと定義されているカラムを削除します。カラムに付随するイ" -"ンデックスも再帰的に削除されます。" +"データベースのスキーマとデータをgroongaの組み込みコマンド呼び出し形式で出力し" +"ます。output_type指定は無視されます。" -#: ../../../source/commands/view_add.txt:6 -msgid "view_add" -msgstr "view_add" +#: ../../../source/commands/clearlock.txt:24 +msgid "" +"clearlockは、対象となるオブジェクト(データベース,テーブル,インデックス等)を指" +"定し、オブジェクトにかけられたロックを再帰的に解除します。" +msgstr "" +"clearlockは、対象となるオブジェクト(データベース,テーブル,インデックス等)を指" +"定し、オブジェクトにかけられたロックを再帰的に解除します。" -#: ../../../source/commands/view_add.txt:11 -msgid "view_add - view型のテーブルに要素となるテーブルを追加" -msgstr "view_add - view型のテーブルに要素となるテーブルを追加" +#: ../../../source/commands/select.txt:136 +msgid "" +"検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベー" +"スで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットし" +"た件数 + offset によって算出される値が指定されたものとみなされます。" +msgstr "" +"検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベー" +"スで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットし" +"た件数 + offset によって算出される値が指定されたものとみなされます。" -#: ../../../source/commands/view_add.txt:17 -msgid "view_add view table" -msgstr "view_add view table" +#: ../../../source/commands/select.txt:198 +msgid "``処理時間``" +msgstr "``処理時間``" -#: ../../../source/commands/view_add.txt:22 +#: ../../../source/commands/status.txt:22 msgid "" -"groonga組込コマンドの一つであるview_addについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" msgstr "" -"groonga組込コマンドの一つであるview_addについて説明します。組込コマンドは、" +"groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、" "groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリク" "エストを送信することによって実行します。" -#: ../../../source/commands/view_add.txt:24 -msgid "view_addは、view型のテーブルに要素となるテーブルを定義します。" -msgstr "view_addは、view型のテーブルに要素となるテーブルを定義します。" - -#: ../../../source/commands/view_add.txt:29 -msgid "``view``" -msgstr "``view``" - -#: ../../../source/commands/view_add.txt:31 -msgid "テーブルを追加するview型のテーブルの名前を指定します。" -msgstr "テーブルを追加するview型のテーブルの名前を指定します。" - -#: ../../../source/commands/view_add.txt:35 -msgid "view型のテーブルに追加されるテーブルの名前を指定します。" -msgstr "view型のテーブルに追加されるテーブルの名前を指定します。" - -#: ../../../source/commands/view_add.txt:54 -msgid "view_add Ventry Entry [true]" -msgstr "view_add Ventry Entry [true]" +#: ../../../source/commands/status.txt:39 +msgid "" +"下記の項目がハッシュ形式で出力されます。 ``alloc_count`` groongaプロセス" +"の内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。" +"groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指" +"定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合" +"があります。 ``starttime`` groongaプロセスが起動した時刻のtvsec値を返しま" +"す。 ``uptime`` groongaプロセスが起動してから経過した秒数を返します。" +msgstr "" +"下記の項目がハッシュ形式で出力されます。 ``alloc_count`` groongaプロセス" +"の内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。" +"groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指" +"定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合" +"があります。 ``starttime`` groongaプロセスが起動した時刻のtvsec値を返しま" +"す。 ``uptime`` groongaプロセスが起動してから経過した秒数を返します。" Modified: doc/locale/en/LC_MESSAGES/community.po (+16 -16) =================================================================== --- doc/locale/en/LC_MESSAGES/community.po 2011-06-28 14:48:48 +0000 (f7ef758) +++ doc/locale/en/LC_MESSAGES/community.po 2011-06-28 15:04:00 +0000 (04ab651) @@ -1,25 +1,29 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 00:56\n" -"PO-Revision-Date: 2011-05-24 18:19+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/community.txt:6 -msgid "Community" -msgstr "Community" +#: ../../../source/community.txt:14 +msgid "There are mailing lists for discussion about groonga." +msgstr "There are mailing lists for discussion about groonga." + +#: ../../../source/community.txt:17 +msgid "`groon****@lists*****`_" +msgstr "`groon****@lists*****`_" #: ../../../source/community.txt:8 msgid "" @@ -29,14 +33,10 @@ msgstr "" "There are some places for sharing groonga information. We welcome you to " "join our community." +#: ../../../source/community.txt:6 +msgid "Community" +msgstr "Community" + #: ../../../source/community.txt:12 msgid "Mailing List" msgstr "Mailing List" - -#: ../../../source/community.txt:14 -msgid "There are mailing lists for discussion about groonga." -msgstr "There are mailing lists for discussion about groonga." - -#: ../../../source/community.txt:17 -msgid "`groon****@lists*****`_" -msgstr "`groon****@lists*****`_" Modified: doc/locale/en/LC_MESSAGES/conf.po (+5 -5) =================================================================== --- doc/locale/en/LC_MESSAGES/conf.po 2011-06-28 14:48:48 +0000 (c2994a9) +++ doc/locale/en/LC_MESSAGES/conf.po 2011-06-28 15:04:00 +0000 (66e6f37) @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: groonga 1.2.1\n" +"Project-Id-Version: groonga 1.2.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-22 22:56+0900\n" -"PO-Revision-Date: 2011-05-22 22:49+0900\n" +"POT-Creation-Date: 2011-06-28 23:53+0900\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" "Language: en\n" @@ -22,10 +22,10 @@ msgstr "" msgid "%(project)s v%(release)s documentation" msgstr "%(project)s v%(release)s documentation" -#: ../../../source/conf.py:237 ../../../source/conf.py:280 +#: ../../../source/conf.py:240 ../../../source/conf.py:283 msgid "groonga documentation" msgstr "groonga documentation" -#: ../../../source/conf.py:263 +#: ../../../source/conf.py:266 msgid "groonga project" msgstr "groonga project" Modified: doc/locale/en/LC_MESSAGES/contribution.po (+915 -876) =================================================================== --- doc/locale/en/LC_MESSAGES/contribution.po 2011-06-28 14:48:48 +0000 (5f3c397) +++ doc/locale/en/LC_MESSAGES/contribution.po 2011-06-28 15:04:00 +0000 (724e4be) @@ -1,246 +1,297 @@ -msgid "See also" -msgstr "" - -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 12:26\n" -"PO-Revision-Date: 2011-05-29 00:56+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/contribution.txt:6 -msgid "How to contribute to groonga" -msgstr "How to contribute to groonga" - -#: ../../../source/contribution.txt:8 +#: ../../../source/contribution/documentation/i18n.txt:42 msgid "" -"There are some topics for contributing to groonga. They are use, " -"introduction, bug report, development and documentation." +"# Please fork https://github.com/groonga/groonga on GitHub % git clone " +"https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git % ./autogen.sh % ./" +"configure % cd doc/locale/${LANGUAGE}/LC_MESSAGES # ${LANGUAGE} is language " +"code such as 'ja'. % make update # *.po are updated % editor *.po # " +"translate *.po # you can use your favorite editor % cd .. % make html % " +"browser html/index.html # confirm translation % git add LC_MESSAGES/*.po % " +"git commit % git push" msgstr "" -"There are some topics for contributing to groonga. They are use, " -"introduction, bug report, development and documentation." - -#: ../../../source/contribution.txt:13 -msgid "Please read this document." -msgstr "Please read this document." - -#: ../../../source/contribution.txt:15 -msgid "Please talk your friends about groonga." -msgstr "Please talk your friends about groonga." +"# Please fork https://github.com/groonga/groonga on GitHub % git clone " +"https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git % ./autogen.sh % ./" +"configure % cd doc/locale/${LANGUAGE}/LC_MESSAGES # ${LANGUAGE} is language " +"code such as 'ja'. % make update # *.po are updated % editor *.po # " +"translate *.po # you can use your favorite editor % cd .. % make html % " +"browser html/index.html # confirm translation % git add LC_MESSAGES/*.po % " +"git commit % git push" -#: ../../../source/contribution.txt:17 -#, fuzzy -msgid "We describe about them in this section." -msgstr "We describe about them in section." +#: ../../../source/contribution/development/com.txt:15 +msgid "workerは上限が個定数。" +msgstr "workerは上限が個定数。" -#: ../../../source/contribution/development.txt:6 -msgid "groonga開発者向け情報" -msgstr "groonga開発者向け情報" +#: ../../../source/contribution/development/query.txt:93 +msgid "v1の値がv2の値よりも大きいことを表します。" +msgstr "v1の値がv2の値よりも大きいことを表します。" -#: ../../../source/contribution/development/com.txt:4 -msgid "groonga 通信アーキテクチャ" -msgstr "groonga 通信アーキテクチャ" +#: ../../../source/contribution/development/com.txt:14 +msgid "workerはthreadと1対1対応。" +msgstr "workerはthreadと1対1対応。" -#: ../../../source/contribution/development/com.txt:7 -msgid "gqtpでのアーキテクチャ" -msgstr "gqtpでのアーキテクチャ" +#: ../../../source/contribution/development/document.txt:29 +msgid "rst2pdfのインストール" +msgstr "rst2pdfのインストール" -#: ../../../source/contribution/development/com.txt:9 -msgid "comが外部からの接続を受け付ける。" -msgstr "comが外部からの接続を受け付ける。" +#: ../../../source/contribution/documentation/i18n.txt:27 +msgid "Here is a translation flow:" +msgstr "Here is a translation flow:" -#: ../../../source/contribution/development/com.txt:10 -msgid "comは1スレッド。" -msgstr "comは1スレッド。" +#: ../../../source/contribution/documentation/i18n.txt:97 +msgid "It is a .po editor and works on many platform." +msgstr "It is a .po editor and works on many platform." #: ../../../source/contribution/development/com.txt:11 msgid "comがedgeを作る。" msgstr "comがedgeを作る。" -#: ../../../source/contribution/development/com.txt:12 -msgid "edgeは接続と1対1対応。" -msgstr "edgeは接続と1対1対応。" - -#: ../../../source/contribution/development/com.txt:13 -msgid "edgeはctxを含む。" -msgstr "edgeはctxを含む。" +#: ../../../source/contribution/development/query.txt:154 +msgid "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " +"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " +"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " +"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " +"GRN_OP_ADJUST); grn_obj_close(ctx, query);" +msgstr "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " +"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " +"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " +"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " +"GRN_OP_ADJUST); grn_obj_close(ctx, query);" -#: ../../../source/contribution/development/com.txt:14 -msgid "workerはthreadと1対1対応。" -msgstr "workerはthreadと1対1対応。" +#: ../../../source/contribution/development/query.txt:105 +msgid "" +"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" +"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" +"かを指定することができます。" +msgstr "" +"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" +"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" +"かを指定することができます。" -#: ../../../source/contribution/development/com.txt:15 -msgid "workerは上限が個定数。" -msgstr "workerは上限が個定数。" +#: ../../../source/contribution/development/test.txt:29 +msgid "clangのインストール" +msgstr "clangのインストール" -#: ../../../source/contribution/development/com.txt:16 -msgid "workerは、1つのedgeと結びつくことができる。" -msgstr "workerは、1つのedgeと結びつくことができる。" +#: ../../../source/contribution/development/test.txt:14 +msgid "groongaは、テストのフレームワークとして Cutter_ を用いています。" +msgstr "groongaは、テストのフレームワークとして Cutter_ を用いています。" -#: ../../../source/contribution/development/com.txt:18 -msgid "edgeごとにqueueを持つ。" -msgstr "edgeごとにqueueを持つ。" +#: ../../../source/contribution/development/document.txt:38 +msgid "以下のコマンドでpdfが作成されます。::" +msgstr "以下のコマンドでpdfが作成されます。::" -#: ../../../source/contribution/development/com.txt:19 +#: ../../../source/contribution/development/query.txt:77 msgid "" -"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" -"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" -"る。" +"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" +"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" +"callback、コールバック関数に渡されるargとを引数として指定することができます。" +"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" +"ます。主な関係式について説明します。" msgstr "" -"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" -"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" -"る。" +"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" +"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" +"callback、コールバック関数に渡されるargとを引数として指定することができます。" +"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" +"ます。主な関係式について説明します。" -#: ../../../source/contribution/development/document.txt:6 -msgid "ドキュメント作成" -msgstr "ドキュメント作成" +#: ../../../source/contribution/development/test.txt:77 +msgid "特定のテストファイルのみテストする" +msgstr "特定のテストファイルのみテストする" -#: ../../../source/contribution/development/document.txt:9 -msgid "Sphinxのインストール" -msgstr "Sphinxのインストール" +#: ../../../source/contribution/development/query.txt:47 +msgid "" +"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " +"contain() near() similar() prefix() suffix()" +msgstr "" +"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " +"contain() near() similar() prefix() suffix()" -#: ../../../source/contribution/development/document.txt:11 +#: ../../../source/contribution/development/test.txt:112 msgid "" -"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" -"以下のように導入します。::" +"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" +"scan_build make -j4" msgstr "" -"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" -"以下のように導入します。::" +"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" +"scan_build make -j4" -#: ../../../source/contribution/development/document.txt:13 -msgid "# aptitude install python-setuptools # easy_install -U sphinx" -msgstr "# aptitude install python-setuptools # easy_install -U sphinx" +#: ../../../source/contribution/development/com.txt:16 +msgid "workerは、1つのedgeと結びつくことができる。" +msgstr "workerは、1つのedgeと結びつくことができる。" -#: ../../../source/contribution/development/document.txt:17 -msgid "htmlの作成" -msgstr "htmlの作成" +#: ../../../source/contribution/development/test.txt:33 +msgid "% sudo aptitude install -y clang" +msgstr "% sudo aptitude install -y clang" -#: ../../../source/contribution/development/document.txt:19 -msgid "以下のコマンドでhtmlが作成されます。::" -msgstr "以下のコマンドでhtmlが作成されます。::" +#: ../../../source/contribution/development/query.txt:128 +msgid "suffix(v1, v2, arg, callback)" +msgstr "suffix(v1, v2, arg, callback)" -#: ../../../source/contribution/development/document.txt:21 -msgid "% make html" -msgstr "% make html" +#: ../../../source/contribution/documentation/i18n.txt:156 +msgid "How to send patch" +msgstr "How to send patch" -#: ../../../source/contribution/development/document.txt:24 -#: ../../../source/contribution/development/document.txt:36 -msgid "pdfの作成" -msgstr "pdfの作成" +#: ../../../source/contribution/documentation/i18n.txt:67 +msgid "% cd groonga % ./autogen.sh % ./configure" +msgstr "% cd groonga % ./autogen.sh % ./configure" -#: ../../../source/contribution/development/document.txt:26 +#: ../../../source/contribution/documentation/i18n.txt:164 msgid "" -"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" -"(IPA Gothic/IPAexGothic)が必要となります。" +"You can find 000X-YYY.patch files in the current directory. Please send " +"those files to us!" msgstr "" -"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" -"(IPA Gothic/IPAexGothic)が必要となります。" +"You can find 000X-YYY.patch files in the current directory. Please send " +"those files to us!" -#: ../../../source/contribution/development/document.txt:29 -msgid "rst2pdfのインストール" -msgstr "rst2pdfのインストール" +#: ../../../source/contribution/documentation/i18n.txt:139 +msgid "How to send pull request" +msgstr "How to send pull request" -#: ../../../source/contribution/development/document.txt:31 -msgid "以下のようにしてインストールできます。::" -msgstr "以下のようにしてインストールできます。::" +#: ../../../source/contribution/development/query.txt:200 +msgid "" +"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" +"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" +"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" +"ア値にscore2を積算してresultに追加します。" +msgstr "" +"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" +"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" +"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" +"ア値にscore2を積算してresultに追加します。" -#: ../../../source/contribution/development/document.txt:33 -msgid "# easy_install rst2pdf" -msgstr "# easy_install rst2pdf" +#: ../../../source/contribution/documentation/i18n.txt:187 +msgid "Please substitute `${LANGUAGE}` with your language code such as 'ja'." +msgstr "Please substitute `${LANGUAGE}` with your language code such as 'ja'." -#: ../../../source/contribution/development/document.txt:38 -msgid "以下のコマンドでpdfが作成されます。::" -msgstr "以下のコマンドでpdfが作成されます。::" +#: ../../../source/contribution/documentation/i18n.txt:30 +msgid "Update .po files." +msgstr "Update .po files." -#: ../../../source/contribution/development/document.txt:40 -msgid "% make pdf" -msgstr "% make pdf" +#: ../../../source/contribution/documentation/i18n.txt:170 +msgid "How to send .po files" +msgstr "How to send .po files" -#: ../../../source/contribution/development/query.txt:6 -msgid "クエリの実現" -msgstr "クエリの実現" +#: ../../../source/contribution/development/test.txt:97 +msgid "デバッガ上でのテスト実行" +msgstr "デバッガ上でのテスト実行" -#: ../../../source/contribution/development/query.txt:8 +#: ../../../source/contribution/documentation/i18n.txt:172 msgid "" -"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" -"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" -"エリの表現と実行に関して、groongaは複数の手段を用意しています。" +"Please archive doc/locale/${LANGUAGE}/LC_MESSAGES/ (Please substitute `" +"${LANGUAGE}` with your language code such as 'ja'.) and send it to us! We " +"extract and merge them to the groonga repository." msgstr "" -"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" -"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" -"エリの表現と実行に関して、groongaは複数の手段を用意しています。" - -#: ../../../source/contribution/development/query.txt:11 -msgid "クエリ実行のためのインタフェース" -msgstr "クエリ実行のためのインタフェース" +"Please archive doc/locale/${LANGUAGE}/LC_MESSAGES/ (Please substitute `" +"${LANGUAGE}` with your language code such as 'ja'.) and send it to us! We " +"extract and merge them to the groonga repository." -#: ../../../source/contribution/development/query.txt:13 +#: ../../../source/contribution/documentation/c-api.txt:8 msgid "" -"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" -"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" -"います。" +"We still have C API documentation in include/groonga.h. But we want to move " +"them into doc/source/c-api/\\*.txt. We welcome to you help us by moving C " +"API documentation." msgstr "" -"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" -"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" -"います。" +"We still have C API documentation in include/groonga.h. But we want to move " +"them into doc/source/c-api/\\*.txt. We welcome to you help us by moving C " +"API documentation." -#: ../../../source/contribution/development/query.txt:15 -msgid "" -"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" -"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" -msgstr "" -"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" -"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" +#: ../../../source/contribution/development/test.txt:54 +msgid "make coverage" +msgstr "make coverage" + +#: ../../../source/contribution/development/com.txt:13 +msgid "edgeはctxを含む。" +msgstr "edgeはctxを含む。" #: ../../../source/contribution/development/query.txt:18 msgid "DB_API" msgstr "DB_API" -#: ../../../source/contribution/development/query.txt:20 +#: ../../../source/contribution/documentation/i18n.txt:33 +msgid "Confirm HTML output." +msgstr "Confirm HTML output." + +#: ../../../source/contribution/development/query.txt:72 msgid "" -"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" -"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" -"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" -"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" -"て実現されています。" +"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" +"せて可能な限り高速に指定されたクエリを実行しようとします。" msgstr "" -"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" -"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" -"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" -"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" -"て実現されています。" +"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" +"せて可能な限り高速に指定されたクエリを実行しようとします。" -#: ../../../source/contribution/development/query.txt:23 -msgid "grn_expr" -msgstr "grn_expr" +#: ../../../source/contribution/development/query.txt:40 +msgid "&& (論理積) || (論理和) ! (否定)" +msgstr "&& (論理積) || (論理和) ! (否定)" -#: ../../../source/contribution/development/query.txt:25 +#: ../../../source/contribution/development.txt:6 +msgid "groonga開発者向け情報" +msgstr "groonga開発者向け情報" + +#: ../../../source/contribution/documentation/c-api.txt:6 +msgid "C API" +msgstr "C API" + +#: ../../../source/contribution/development/query.txt:13 msgid "" -"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" -"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" -"ることができます。grn_exprによって表現されたクエリを実行するためには、" -"grn_table_select()関数を使用します。" +"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" +"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" +"います。" msgstr "" -"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" -"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" -"ることができます。grn_exprによって表現されたクエリを実行するためには、" -"grn_table_select()関数を使用します。" +"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" +"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" +"います。" -#: ../../../source/contribution/development/query.txt:28 -msgid "groonga実行ファイル" -msgstr "groonga実行ファイル" +#: ../../../source/contribution/development/document.txt:31 +msgid "以下のようにしてインストールできます。::" +msgstr "以下のようにしてインストールできます。::" + +#: ../../../source/contribution/documentation/i18n.txt:123 +msgid "How to confirm HTML output" +msgstr "How to confirm HTML output" + +#: ../../../source/contribution/development/document.txt:13 +msgid "# aptitude install python-setuptools # easy_install -U sphinx" +msgstr "# aptitude install python-setuptools # easy_install -U sphinx" + +#: ../../../source/contribution/development/document.txt:9 +msgid "Sphinxのインストール" +msgstr "Sphinxのインストール" #: ../../../source/contribution/development/query.txt:30 msgid "" @@ -260,486 +311,385 @@ msgstr "" "DB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができま" "す。" -#: ../../../source/contribution/development/query.txt:33 -msgid "grn_exprで表現できるクエリ" -msgstr "grn_exprで表現できるクエリ" +#: ../../../source/contribution/documentation/i18n.txt:6 +msgid "I18N" +msgstr "I18N" -#: ../../../source/contribution/development/query.txt:35 -msgid "" -"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" -"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" -"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" -"子で結合したものです。" -msgstr "" -"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" -"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" -"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" -"子で結合したものです。" +#: ../../../source/contribution/documentation/i18n.txt:133 +msgid "How to send your works" +msgstr "How to send your works" -#: ../../../source/contribution/development/query.txt:37 -msgid "論理演算子は、以下の3種類があります。 ::" -msgstr "論理演算子は、以下の3種類があります。 ::" +#: ../../../source/contribution/development/test.txt:94 +msgid "% CUTTER_CHECK_LEAK=yes make check" +msgstr "% CUTTER_CHECK_LEAK=yes make check" -#: ../../../source/contribution/development/query.txt:40 -msgid "&& (論理積) || (論理和) ! (否定)" -msgstr "&& (論理積) || (論理和) ! (否定)" +#: ../../../source/contribution/development/query.txt:104 +msgid "contain(v1, v2, mode, arg, callback)" +msgstr "contain(v1, v2, mode, arg, callback)" -#: ../../../source/contribution/development/query.txt:44 +#: ../../../source/contribution/development/test.txt:22 +msgid "lcovのインストール" +msgstr "lcovのインストール" + +#: ../../../source/contribution/development/query.txt:100 +msgid "greater_equal(v1, v2, arg, callback)" +msgstr "greater_equal(v1, v2, arg, callback)" + +#: ../../../source/contribution/documentation/i18n.txt:143 +msgid "% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git push" +msgstr "% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git push" + +#: ../../../source/contribution/development/test.txt:12 +msgid "Cutterのインストール" +msgstr "Cutterのインストール" + +#: ../../../source/contribution/development/document.txt:33 +msgid "# easy_install rst2pdf" +msgstr "# easy_install rst2pdf" + +#: ../../../source/contribution/documentation/i18n.txt:141 +msgid "Here are command lines to send pull request::" +msgstr "Here are command lines to send pull request::" + +#: ../../../source/contribution/development/query.txt:109 msgid "" -"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" -"関係式として使うこともできます。 ::" +"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" +"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" +"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" +"素がv2の値に中間一致する" msgstr "" -"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" -"関係式として使うこともできます。 ::" +"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" +"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" +"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" +"素がv2の値に中間一致する" -#: ../../../source/contribution/development/query.txt:47 +#: ../../../source/contribution/development/query.txt:89 +msgid "v1の値がv2の値よりも小さいことを表します。" +msgstr "v1の値がv2の値よりも小さいことを表します。" + +#: ../../../source/contribution/development/query.txt:173 msgid "" -"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " -"contain() near() similar() prefix() suffix()" +"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" +"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" +"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" +"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" msgstr "" -"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " -"contain() near() similar() prefix() suffix()" +"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" +"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" +"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" +"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" -#: ../../../source/contribution/development/query.txt:60 -msgid "grn_table_select()" -msgstr "grn_table_select()" +#: ../../../source/contribution/documentation/c-api.txt:12 +msgid "We will use `the C domain markup`_ of Sphinx." +msgstr "We will use `the C domain markup`_ of Sphinx." -#: ../../../source/contribution/development/query.txt:62 +#: ../../../source/contribution/documentation/i18n.txt:182 +msgid "Here are command lines to add new translation language::" +msgstr "Here are command lines to add new translation language::" + +#: ../../../source/contribution/development/query.txt:8 msgid "" -"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" -"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" -"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" -"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" +"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" +"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" +"エリの表現と実行に関して、groongaは複数の手段を用意しています。" msgstr "" -"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" -"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" -"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" -"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" +"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" +"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" +"エリの表現と実行に関して、groongaは複数の手段を用意しています。" -#: ../../../source/contribution/development/query.txt:65 -msgid "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" -msgstr "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" +#: ../../../source/contribution/development/test.txt:116 +msgid "configureは1度のみ実行する必要があります。" +msgstr "configureは1度のみ実行する必要があります。" -#: ../../../source/contribution/development/query.txt:70 +#: ../../../source/contribution/development/test.txt:83 +msgid "% ./run-test.sh -t test_string" +msgstr "% ./run-test.sh -t test_string" + +#: ../../../source/contribution/documentation/i18n.txt:107 +msgid "How to generate HTML files" +msgstr "How to generate HTML files" + +#: ../../../source/contribution/documentation/i18n.txt:147 msgid "" -"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" -"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" -"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" -"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" -"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" -"チするレコードに対してスコア値の更新のみを行います。" +"Now you can send pull request on GitHub. You just access your repository " +"page on GitHub and press `Pull Request` button." msgstr "" -"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" -"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" -"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" -"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" -"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" -"チするレコードに対してスコア値の更新のみを行います。" +"Now you can send pull request on GitHub. You just access your repository " +"page on GitHub and press `Pull Request` button." -#: ../../../source/contribution/development/query.txt:72 +#: ../../../source/contribution/documentation/i18n.txt:109 msgid "" -"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" -"せて可能な限り高速に指定されたクエリを実行しようとします。" +"You can generate HTML files with updated .po files by running `make html` on " +"doc/locale/${LANGUAGE}. (Please substitute `${LANGUAGE}` with your language " +"code such as 'ja'.)::" msgstr "" -"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" -"せて可能な限り高速に指定されたクエリを実行しようとします。" - -#: ../../../source/contribution/development/query.txt:75 -msgid "関係式" -msgstr "関係式" +"You can generate HTML files with updated .po files by running `make html` on " +"doc/locale/${LANGUAGE}. (Please substitute `${LANGUAGE}` with your language " +"code such as 'ja'.)::" -#: ../../../source/contribution/development/query.txt:77 +#: ../../../source/contribution/documentation/i18n.txt:8 msgid "" -"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" -"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" -"callback、コールバック関数に渡されるargとを引数として指定することができます。" -"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" -"ます。主な関係式について説明します。" +"We only had documentation in Japanese. We start to support I18N " +"documentation by gettext based `Sphinx I18N feature`_. We'll use English as " +"base language and translate English into other languages such as Japanese. " +"We'll put all documentations into doc/source/ and process them by Sphinx." msgstr "" -"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" -"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" -"callback、コールバック関数に渡されるargとを引数として指定することができます。" -"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" -"ます。主な関係式について説明します。" - -#: ../../../source/contribution/development/query.txt:80 -msgid "equal(v1, v2, arg, callback)" -msgstr "equal(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:81 -msgid "v1の値とv2の値が等しいことを表します。" -msgstr "v1の値とv2の値が等しいことを表します。" - -#: ../../../source/contribution/development/query.txt:84 -msgid "not_equal(v1, v2, arg, callback)" -msgstr "not_equal(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:85 -msgid "v1の値とv2の値が等しくないことを表します。" -msgstr "v1の値とv2の値が等しくないことを表します。" - -#: ../../../source/contribution/development/query.txt:88 -msgid "less(v1, v2, arg, callback)" -msgstr "less(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:89 -msgid "v1の値がv2の値よりも小さいことを表します。" -msgstr "v1の値がv2の値よりも小さいことを表します。" - -#: ../../../source/contribution/development/query.txt:92 -msgid "greater(v1, v2, arg, callback)" -msgstr "greater(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:93 -msgid "v1の値がv2の値よりも大きいことを表します。" -msgstr "v1の値がv2の値よりも大きいことを表します。" - -#: ../../../source/contribution/development/query.txt:96 -msgid "less_equal(v1, v2, arg, callback)" -msgstr "less_equal(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:97 -msgid "v1の値がv2の値と等しいか小さいことを表します。" -msgstr "v1の値がv2の値と等しいか小さいことを表します。" - -#: ../../../source/contribution/development/query.txt:100 -msgid "greater_equal(v1, v2, arg, callback)" -msgstr "greater_equal(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:101 -msgid "v1の値がv2の値と等しいか大きいことを表します。" -msgstr "v1の値がv2の値と等しいか大きいことを表します。" - -#: ../../../source/contribution/development/query.txt:104 -msgid "contain(v1, v2, mode, arg, callback)" -msgstr "contain(v1, v2, mode, arg, callback)" +"We only had documentation in Japanese. We start to support I18N " +"documentation by gettext based `Sphinx I18N feature`_. We'll use English as " +"base language and translate English into other languages such as Japanese. " +"We'll put all documentations into doc/source/ and process them by Sphinx." -#: ../../../source/contribution/development/query.txt:105 +#: ../../../source/contribution/documentation/i18n.txt:37 msgid "" -"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" -"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" -"かを指定することができます。" +"Here are command lines to do the above flow. Following sections describes " +"details." msgstr "" -"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" -"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" -"かを指定することができます。" +"Here are command lines to do the above flow. Following sections describes " +"details." -#: ../../../source/contribution/development/query.txt:109 +#: ../../../source/contribution/development/query.txt:20 msgid "" -"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" -"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" -"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" -"素がv2の値に中間一致する" +"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" +"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" +"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" +"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" +"て実現されています。" msgstr "" -"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" -"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" -"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" -"素がv2の値に中間一致する" +"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" +"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" +"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" +"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" +"て実現されています。" -#: ../../../source/contribution/development/query.txt:116 -msgid "near(v1, v2, arg, callback)" -msgstr "near(v1, v2, arg, callback)" +#: ../../../source/contribution.txt:13 +msgid "Please read this document." +msgstr "Please read this document." -#: ../../../source/contribution/development/query.txt:117 +#: ../../../source/contribution/documentation/i18n.txt:89 msgid "" -"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" -"列を渡します)" +"There are some tools to edit .po files. .po files are just text. So you can " +"use your favorite editor. Here is a specialized editor for .po file edit " +"list." msgstr "" -"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" -"列を渡します)" - -#: ../../../source/contribution/development/query.txt:120 -msgid "similar(v1, v2, arg, callback)" -msgstr "similar(v1, v2, arg, callback)" - -#: ../../../source/contribution/development/query.txt:121 -msgid "v1の値とv2の値が類似していることを表します。" -msgstr "v1の値とv2の値が類似していることを表します。" +"There are some tools to edit .po files. .po files are just text. So you can " +"use your favorite editor. Here is a specialized editor for .po file edit " +"list." -#: ../../../source/contribution/development/query.txt:124 -msgid "prefix(v1, v2, arg, callback)" -msgstr "prefix(v1, v2, arg, callback)" +#: ../../../source/contribution/development/com.txt:19 +msgid "" +"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" +"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" +"る。" +msgstr "" +"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" +"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" +"る。" -#: ../../../source/contribution/development/query.txt:125 -msgid "v1の値がv2の値に対して前方一致することを表します。" -msgstr "v1の値がv2の値に対して前方一致することを表します。" +#: ../../../source/contribution/development/query.txt:101 +msgid "v1の値がv2の値と等しいか大きいことを表します。" +msgstr "v1の値がv2の値と等しいか大きいことを表します。" -#: ../../../source/contribution/development/query.txt:128 -msgid "suffix(v1, v2, arg, callback)" -msgstr "suffix(v1, v2, arg, callback)" +#: ../../../source/contribution/documentation/i18n.txt:184 +msgid "" +"% cd doc/locale % make add LOCALE=${LANGUAGE} # specify your language code " +"such as 'de'." +msgstr "" +"% cd doc/locale % make add LOCALE=${LANGUAGE} # specify your language code " +"such as 'de'." -#: ../../../source/contribution/development/query.txt:129 -msgid "v1の値がv2の値に対して後方一致することを表します。" -msgstr "v1の値がv2の値に対して後方一致することを表します。" +#: ../../../source/contribution/development/document.txt:40 +msgid "% make pdf" +msgstr "% make pdf" -#: ../../../source/contribution/development/query.txt:132 -msgid "クエリの実例" -msgstr "クエリの実例" +#: ../../../source/contribution/development/query.txt:84 +msgid "not_equal(v1, v2, arg, callback)" +msgstr "not_equal(v1, v2, arg, callback)" -#: ../../../source/contribution/development/query.txt:134 -msgid "grn_exprを使って様々な検索クエリを表現することができます。" -msgstr "grn_exprを使って様々な検索クエリを表現することができます。" +#: ../../../source/contribution/development/query.txt:75 +msgid "関係式" +msgstr "関係式" -#: ../../../source/contribution/development/query.txt:137 -msgid "検索例1" -msgstr "検索例1" +#: ../../../source/contribution/development/document.txt:6 +msgid "ドキュメント作成" +msgstr "ドキュメント作成" -#: ../../../source/contribution/development/query.txt:140 +#: ../../../source/contribution/development/query.txt:213 msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" +"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" +"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" +"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" +"ヒットします。" msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" +"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" +"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" +"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" +"ヒットします。" -#: ../../../source/contribution/development/query.txt:147 -msgid "" -"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" -"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" -"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" -"みがヒットします。" -msgstr "" -"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" -"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" -"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" -"みがヒットします。" +#: ../../../source/contribution/documentation/i18n.txt:57 +msgid "How to clone groonga repository" +msgstr "How to clone groonga repository" -#: ../../../source/contribution/development/query.txt:151 -msgid "検索例2" -msgstr "検索例2" +#: ../../../source/contribution/development/document.txt:19 +msgid "以下のコマンドでhtmlが作成されます。::" +msgstr "以下のコマンドでhtmlが作成されます。::" -#: ../../../source/contribution/development/query.txt:154 +#: ../../../source/contribution/documentation/i18n.txt:79 msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " -"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " -"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " -"GRN_OP_ADJUST); grn_obj_close(ctx, query);" +"You can update .po files by running `make update` on doc/locale/${LANGUAGE}/" +"LC_MESSAGES. (Please substitute `${LANGUAGE}` with your language code such " +"as 'ja'.)::" msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " -"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " -"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " -"GRN_OP_ADJUST); grn_obj_close(ctx, query);" +"You can update .po files by running `make update` on doc/locale/${LANGUAGE}/" +"LC_MESSAGES. (Please substitute `${LANGUAGE}` with your language code such " +"as 'ja'.)::" -#: ../../../source/contribution/development/query.txt:173 -msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" -"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" -"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" -msgstr "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" -"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" -"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" +#: ../../../source/contribution/development/test.txt:68 +msgid "特定のテスト関数のみテストする" +msgstr "特定のテスト関数のみテストする" -#: ../../../source/contribution/development/query.txt:176 -msgid "検索例3" -msgstr "検索例3" +#: ../../../source/contribution/development/document.txt:24 +#: ../../../source/contribution/development/document.txt:36 +msgid "pdfの作成" +msgstr "pdfの作成" -#: ../../../source/contribution/development/query.txt:179 +#: ../../../source/contribution/documentation/i18n.txt:23 +msgid "Translation flow" +msgstr "Translation flow" + +#: ../../../source/contribution/development/query.txt:117 msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " -"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " -"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " -"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " -"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" +"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" +"列を渡します)" msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " -"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " -"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " -"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " -"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" +"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" +"列を渡します)" -#: ../../../source/contribution/development/query.txt:200 +#: ../../../source/contribution/development/test.txt:105 +msgid "% CUTTER_DEBUG=yes make check" +msgstr "% CUTTER_DEBUG=yes make check" + +#: ../../../source/contribution/development/query.txt:35 msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" -"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" -"ア値にscore2を積算してresultに追加します。" +"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" +"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" +"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" +"子で結合したものです。" msgstr "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" -"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" -"ア値にscore2を積算してresultに追加します。" +"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" +"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" +"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" +"子で結合したものです。" -#: ../../../source/contribution/development/query.txt:203 -msgid "検索例4" -msgstr "検索例4" +#: ../../../source/contribution/development/query.txt:92 +msgid "greater(v1, v2, arg, callback)" +msgstr "greater(v1, v2, arg, callback)" -#: ../../../source/contribution/development/query.txt:206 +#: ../../../source/contribution/documentation/i18n.txt:73 msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " -"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" +"If you have troubles on the above steps, you can use source files available " +"on http://packages.groonga.org/source/groonga/ ." msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " -"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" +"If you have troubles on the above steps, you can use source files available " +"on http://packages.groonga.org/source/groonga/ ." -#: ../../../source/contribution/development/query.txt:213 +#: ../../../source/contribution/documentation/i18n.txt:125 msgid "" -"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" -"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" -"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" -"ヒットします。" +"HTML files are generated in doc/locale/${LANGUAGE}/html/. (Please substitute " +"`${LANGUAGE}` with your language code such as 'ja'.) You can confirm HTML " +"output by your favorite browser::" msgstr "" -"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" -"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" -"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" -"ヒットします。" - -#: ../../../source/contribution/development/test.txt:6 -msgid "テスト方法" -msgstr "テスト方法" - -#: ../../../source/contribution/development/test.txt:9 -msgid "テスト環境の構築" -msgstr "テスト環境の構築" - -#: ../../../source/contribution/development/test.txt:12 -msgid "Cutterのインストール" -msgstr "Cutterのインストール" - -#: ../../../source/contribution/development/test.txt:14 -msgid "groongaは、テストのフレームワークとして Cutter_ を用いています。" -msgstr "groongaは、テストのフレームワークとして Cutter_ を用いています。" +"HTML files are generated in doc/locale/${LANGUAGE}/html/. (Please substitute " +"`${LANGUAGE}` with your language code such as 'ja'.) You can confirm HTML " +"output by your favorite browser::" -#: ../../../source/contribution/development/test.txt:16 +#: ../../../source/contribution/development/query.txt:44 msgid "" -"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" -"覧下さい。" +"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" +"関係式として使うこともできます。 ::" msgstr "" -"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" -"覧下さい。" +"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" +"関係式として使うこともできます。 ::" -#: ../../../source/contribution/development/test.txt:22 -msgid "lcovのインストール" -msgstr "lcovのインストール" +#: ../../../source/contribution/development/test.txt:63 +msgid "様々なテスト" +msgstr "様々なテスト" -#: ../../../source/contribution/development/test.txt:24 +#: ../../../source/contribution/development/test.txt:79 msgid "" -"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" -"以下のようにしてインストールできます。::" +"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" +"す。" msgstr "" -"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" -"以下のようにしてインストールできます。::" +"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" +"す。" -#: ../../../source/contribution/development/test.txt:26 -msgid "% sudo aptitude install -y lcov" -msgstr "% sudo aptitude install -y lcov" +#: ../../../source/contribution/development/test.txt:74 +msgid "% ./run-test.sh -n test_text_otoj" +msgstr "% ./run-test.sh -n test_text_otoj" -#: ../../../source/contribution/development/test.txt:29 -msgid "clangのインストール" -msgstr "clangのインストール" +#: ../../../source/contribution/development/test.txt:90 +#: ../../../source/contribution/development/test.txt:101 +msgid "run-test.shのみならず、make checkでも利用可能です。" +msgstr "run-test.shのみならず、make checkでも利用可能です。" -#: ../../../source/contribution/development/test.txt:31 -msgid "" -"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" -"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" -msgstr "" -"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" -"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" +#: ../../../source/contribution.txt:15 +msgid "Please talk your friends about groonga." +msgstr "Please talk your friends about groonga." -#: ../../../source/contribution/development/test.txt:33 -msgid "% sudo aptitude install -y clang" -msgstr "% sudo aptitude install -y clang" +#: ../../../source/contribution/documentation/i18n.txt:94 +msgid "It is bundled in gettext." +msgstr "It is bundled in gettext." -#: ../../../source/contribution/development/test.txt:36 -msgid "libmemcachedのインストール" -msgstr "libmemcachedのインストール" +#: ../../../source/contribution/development/query.txt:11 +msgid "クエリ実行のためのインタフェース" +msgstr "クエリ実行のためのインタフェース" -#: ../../../source/contribution/development/test.txt:38 +#: ../../../source/contribution/development/query.txt:97 +msgid "v1の値がv2の値と等しいか小さいことを表します。" +msgstr "v1の値がv2の値と等しいか小さいことを表します。" + +#: ../../../source/contribution/development/query.txt:147 msgid "" -"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" -"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" -"トールできます。::" +"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" +"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" +"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" +"みがヒットします。" msgstr "" -"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" -"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" -"トールできます。::" +"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" +"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" +"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" +"みがヒットします。" -#: ../../../source/contribution/development/test.txt:40 -msgid "% sudo aptitude install -y libmemcached-dev" -msgstr "% sudo aptitude install -y libmemcached-dev" +#: ../../../source/contribution/development/test.txt:26 +msgid "% sudo aptitude install -y lcov" +msgstr "% sudo aptitude install -y lcov" -#: ../../../source/contribution/development/test.txt:43 -msgid "テストの動作" -msgstr "テストの動作" +#: ../../../source/contribution/development/com.txt:4 +msgid "groonga 通信アーキテクチャ" +msgstr "groonga 通信アーキテクチャ" -#: ../../../source/contribution/development/test.txt:45 -#: ../../../source/contribution/development/test.txt:52 -msgid "groongaのトップディレクトリで、以下のコマンドを実行します。::" -msgstr "groongaのトップディレクトリで、以下のコマンドを実行します。::" +#: ../../../source/contribution/development/query.txt:121 +msgid "v1の値とv2の値が類似していることを表します。" +msgstr "v1の値とv2の値が類似していることを表します。" -#: ../../../source/contribution/development/test.txt:47 -msgid "make check" -msgstr "make check" +#: ../../../source/contribution/development/com.txt:7 +msgid "gqtpでのアーキテクチャ" +msgstr "gqtpでのアーキテクチャ" -#: ../../../source/contribution/development/test.txt:50 -msgid "カバレッジ情報" -msgstr "カバレッジ情報" +#: ../../../source/contribution/development/query.txt:129 +msgid "v1の値がv2の値に対して後方一致することを表します。" +msgstr "v1の値がv2の値に対して後方一致することを表します。" -#: ../../../source/contribution/development/test.txt:54 -msgid "make coverage" -msgstr "make coverage" +#: ../../../source/contribution/development/query.txt:65 +msgid "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" +msgstr "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" -#: ../../../source/contribution/development/test.txt:56 -msgid "" -"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" -"す。" -msgstr "" -"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" -"す。" +#: ../../../source/contribution/documentation/i18n.txt:130 +msgid "% firefox doc/locale/ja/html/index.html" +msgstr "% firefox doc/locale/ja/html/index.html" + +#: ../../../source/contribution/development/query.txt:124 +msgid "prefix(v1, v2, arg, callback)" +msgstr "prefix(v1, v2, arg, callback)" #: ../../../source/contribution/development/test.txt:58 msgid "" @@ -751,433 +701,522 @@ msgstr "" "関数/分岐に対応します。Functionsがもっとも重要な対象です。すべての関数がテス" "トされるようになっていることを心がけてください。" -#: ../../../source/contribution/development/test.txt:60 -msgid "" -"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" -"バーしている部分を増やすことも重要です。" -msgstr "" -"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" -"バーしている部分を増やすことも重要です。" - -#: ../../../source/contribution/development/test.txt:63 -msgid "様々なテスト" -msgstr "様々なテスト" +#: ../../../source/contribution/development/query.txt:125 +msgid "v1の値がv2の値に対して前方一致することを表します。" +msgstr "v1の値がv2の値に対して前方一致することを表します。" -#: ../../../source/contribution/development/test.txt:65 -msgid "" -"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" -"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." -"sh --helpを実行しヘルプをご覧ください。" -msgstr "" -"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" -"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." -"sh --helpを実行しヘルプをご覧ください。" +#: ../../../source/contribution/development/test.txt:6 +msgid "テスト方法" +msgstr "テスト方法" -#: ../../../source/contribution/development/test.txt:68 -msgid "特定のテスト関数のみテストする" -msgstr "特定のテスト関数のみテストする" +#: ../../../source/contribution/development/query.txt:132 +msgid "クエリの実例" +msgstr "クエリの実例" -#: ../../../source/contribution/development/test.txt:70 +#: ../../../source/contribution/development/query.txt:140 msgid "" -"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" +"(ctx, table, query, NULL, GRN_OP_OR);" msgstr "" -"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" +"(ctx, table, query, NULL, GRN_OP_OR);" -#: ../../../source/contribution/development/test.txt:72 -#: ../../../source/contribution/development/test.txt:81 -#: ../../../source/contribution/development/test.txt:92 -#: ../../../source/contribution/development/test.txt:103 -msgid "実行例::" -msgstr "実行例::" +#: ../../../source/contribution/documentation/i18n.txt:83 +msgid "% cd doc/locale/ja/LC_MESSAGES % make update" +msgstr "% cd doc/locale/ja/LC_MESSAGES % make update" -#: ../../../source/contribution/development/test.txt:74 -msgid "% ./run-test.sh -n test_text_otoj" -msgstr "% ./run-test.sh -n test_text_otoj" +#: ../../../source/contribution/documentation/i18n.txt:29 +msgid "Clone groonga repository." +msgstr "Clone groonga repository." -#: ../../../source/contribution/development/test.txt:77 -msgid "特定のテストファイルのみテストする" -msgstr "特定のテストファイルのみテストする" +#: ../../../source/contribution/development/document.txt:17 +msgid "htmlの作成" +msgstr "htmlの作成" -#: ../../../source/contribution/development/test.txt:79 -msgid "" -"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" -"す。" -msgstr "" -"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" -"す。" +#: ../../../source/contribution/documentation/i18n.txt:34 +msgid "Repeat 2.-4. until you get good result." +msgstr "Repeat 2.-4. until you get good result." -#: ../../../source/contribution/development/test.txt:83 -msgid "% ./run-test.sh -t test_string" -msgstr "% ./run-test.sh -t test_string" +#: ../../../source/contribution/documentation/i18n.txt:25 +msgid "After doc/source/\\*.txt are updated, we can start translation." +msgstr "After doc/source/\\*.txt are updated, we can start translation." -#: ../../../source/contribution/development/test.txt:86 -msgid "不正メモリアクセス・メモリリーク検出" -msgstr "不正メモリアクセス・メモリリーク検出" +#: ../../../source/contribution/development/query.txt:203 +msgid "検索例4" +msgstr "検索例4" -#: ../../../source/contribution/development/test.txt:88 -msgid "" -"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" -"スやメモリリークを検出しつつ、テストを動作させることができます。" -msgstr "" -"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" -"スやメモリリークを検出しつつ、テストを動作させることができます。" +#: ../../../source/contribution/development/query.txt:6 +msgid "クエリの実現" +msgstr "クエリの実現" -#: ../../../source/contribution/development/test.txt:90 -#: ../../../source/contribution/development/test.txt:101 -msgid "run-test.shのみならず、make checkでも利用可能です。" -msgstr "run-test.shのみならず、make checkでも利用可能です。" +#: ../../../source/contribution/development/query.txt:151 +msgid "検索例2" +msgstr "検索例2" -#: ../../../source/contribution/development/test.txt:94 -msgid "% CUTTER_CHECK_LEAK=yes make check" -msgstr "% CUTTER_CHECK_LEAK=yes make check" +#: ../../../source/contribution/development/query.txt:137 +msgid "検索例1" +msgstr "検索例1" -#: ../../../source/contribution/development/test.txt:97 -msgid "デバッガ上でのテスト実行" -msgstr "デバッガ上でのテスト実行" +#: ../../../source/contribution/development/test.txt:45 +#: ../../../source/contribution/development/test.txt:52 +msgid "groongaのトップディレクトリで、以下のコマンドを実行します。::" +msgstr "groongaのトップディレクトリで、以下のコマンドを実行します。::" -#: ../../../source/contribution/development/test.txt:99 +#: ../../../source/contribution/documentation/i18n.txt:65 +msgid "Then you need to configure your cloned repository::" +msgstr "Then you need to configure your cloned repository::" + +#: ../../../source/contribution/development/query.txt:62 msgid "" -"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" -"行されます。gdb上でrunを行うと、テストの実行が開始されます。" +"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" +"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" +"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" +"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" msgstr "" -"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" -"行されます。gdb上でrunを行うと、テストの実行が開始されます。" - -#: ../../../source/contribution/development/test.txt:105 -msgid "% CUTTER_DEBUG=yes make check" -msgstr "% CUTTER_DEBUG=yes make check" - -#: ../../../source/contribution/development/test.txt:108 -msgid "静的解析" -msgstr "静的解析" +"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" +"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" +"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" +"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" -#: ../../../source/contribution/development/test.txt:110 +#: ../../../source/contribution/development/query.txt:25 msgid "" -"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" -"いうディレクトリに解析結果のhtmlが出力されます。::" +"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" +"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" +"ることができます。grn_exprによって表現されたクエリを実行するためには、" +"grn_table_select()関数を使用します。" msgstr "" -"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" -"いうディレクトリに解析結果のhtmlが出力されます。::" +"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" +"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" +"ることができます。grn_exprによって表現されたクエリを実行するためには、" +"grn_table_select()関数を使用します。" -#: ../../../source/contribution/development/test.txt:112 +#: ../../../source/contribution/development/test.txt:86 +msgid "不正メモリアクセス・メモリリーク検出" +msgstr "不正メモリアクセス・メモリリーク検出" + +#: ../../../source/contribution/development/test.txt:60 msgid "" -"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" -"scan_build make -j4" +"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" +"バーしている部分を増やすことも重要です。" msgstr "" -"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" -"scan_build make -j4" +"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" +"バーしている部分を増やすことも重要です。" -#: ../../../source/contribution/development/test.txt:116 -msgid "configureは1度のみ実行する必要があります。" -msgstr "configureは1度のみ実行する必要があります。" +#: ../../../source/contribution/documentation/i18n.txt:119 +msgid "" +".mo files are updated automatically by `make html`. So you don't care about ." +"mo files." +msgstr "" +".mo files are updated automatically by `make html`. So you don't care about ." +"mo files." #: ../../../source/contribution/documentation.txt:6 -#, fuzzy msgid "How to contribute in documentation topics" -msgstr "How to contribute documentation" - -#: ../../../source/contribution/documentation.txt:8 -msgid "We use Sphinx_ for documentation tool." -msgstr "" - -#: ../../../source/contribution/documentation/c-api.txt:6 -msgid "C API" -msgstr "C API" +msgstr "How to contribute in documentation topics" -#: ../../../source/contribution/documentation/c-api.txt:8 -#, fuzzy +#: ../../../source/contribution/report.txt:8 msgid "" -"We still have C API documentation in include/groonga.h. But we want to move " -"them into doc/source/c-api/*.txt. We welcome to you help us by moving C API " -"documentation." +"We have two issue tracking systems, Redmine_ and `GitHub issue tracker`_. " +"Redmine is for Japanese and GitHub issue tracker is for English. You can use " +"both of them to report a bug." msgstr "" -"We still have C API documentation in include/groonga.h. But we want to move " -"them into doc/source/c-api/. We welcome to you help us by moving C API " -"documentation." +"We have two issue tracking systems, Redmine_ and `GitHub issue tracker`_. " +"Redmine is for Japanese and GitHub issue tracker is for English. You can use " +"both of them to report a bug." -#: ../../../source/contribution/documentation/c-api.txt:12 -msgid "We will use `the C domain markup`_ of Sphinx." +#: ../../../source/contribution/development/query.txt:179 +msgid "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " +"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " +"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " +"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " +"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " +"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" msgstr "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " +"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" +"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " +"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " +"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " +"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " +"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " +"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " +"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" -#: ../../../source/contribution/documentation/i18n.txt:6 -msgid "I18N" -msgstr "I18N" +#: ../../../source/contribution/development/query.txt:88 +msgid "less(v1, v2, arg, callback)" +msgstr "less(v1, v2, arg, callback)" -#: ../../../source/contribution/documentation/i18n.txt:8 -#, fuzzy +#: ../../../source/contribution/development/test.txt:31 msgid "" -"We only had documentation in Japanese. We start to support I18N " -"documentation by gettext based `Sphinx I18N feature`_. We'll use English as " -"base language and translate English into other languages such as Japanese. " -"We'll put all documentations into doc/source/ and process them by Sphinx." +"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" +"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" msgstr "" -"We only had documentation in Japanese. We start to support I18N " -"documentation. We'll use English as base language and translate English into " -"other languages such as Japanese. We'll put documentations into doc/source/ " -"and process them by Sphinx_." +"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" +"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" -#: ../../../source/contribution/documentation/i18n.txt:17 -msgid "" -"But we still use Japanese in doc/source/ for now. We need to translate " -"Japanese documentation in doc/source/ into English. We welcome to you help " -"us by translating documentation." -msgstr "" -"But we still use Japanese in doc/source/ for now. We need to translate " -"Japanese documentation in doc/source/ into English. We welcome to you help " -"us by translating documentation." +#: ../../../source/contribution/development/query.txt:116 +msgid "near(v1, v2, arg, callback)" +msgstr "near(v1, v2, arg, callback)" -#: ../../../source/contribution/documentation/i18n.txt:23 -msgid "Translation flow" -msgstr "" +#: ../../../source/contribution/development/query.txt:81 +msgid "v1の値とv2の値が等しいことを表します。" +msgstr "v1の値とv2の値が等しいことを表します。" -#: ../../../source/contribution/documentation/i18n.txt:25 -msgid "After doc/source/\\*.txt are updated, we can start translation." -msgstr "" +#: ../../../source/contribution/documentation.txt:8 +msgid "We use Sphinx_ for documentation tool." +msgstr "We use Sphinx_ for documentation tool." -#: ../../../source/contribution/documentation/i18n.txt:27 -msgid "Here is a translation flow:" -msgstr "" +#: ../../../source/contribution/report.txt:6 +msgid "How to report a bug" +msgstr "How to report a bug" -#: ../../../source/contribution/documentation/i18n.txt:29 -msgid "Clone groonga repository." +#: ../../../source/contribution/development/test.txt:56 +msgid "" +"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" +"す。" msgstr "" +"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" +"す。" -#: ../../../source/contribution/documentation/i18n.txt:30 -msgid "Update .po files." +#: ../../../source/contribution/documentation/i18n.txt:59 +msgid "" +"First, please fork groonga repository on GitHub. You just access https://" +"github.com/groonga/groonga and press `Fork` button. Now you can clone your " +"groonga repository::" msgstr "" +"First, please fork groonga repository on GitHub. You just access https://" +"github.com/groonga/groonga and press `Fork` button. Now you can clone your " +"groonga repository::" -#: ../../../source/contribution/documentation/i18n.txt:31 -msgid "Edit .po files." -msgstr "" +#: ../../../source/contribution/development/query.txt:23 +msgid "grn_expr" +msgstr "grn_expr" -#: ../../../source/contribution/documentation/i18n.txt:32 -msgid "Generate HTML files." -msgstr "" +#: ../../../source/contribution.txt:6 +msgid "How to contribute to groonga" +msgstr "How to contribute to groonga" -#: ../../../source/contribution/documentation/i18n.txt:33 -msgid "Confirm HTML output." -msgstr "" +#: ../../../source/contribution/development/com.txt:12 +msgid "edgeは接続と1対1対応。" +msgstr "edgeは接続と1対1対応。" -#: ../../../source/contribution/documentation/i18n.txt:34 -msgid "Repeat 2.-4. until you get good result." +#: ../../../source/contribution/development/test.txt:70 +msgid "" +"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" msgstr "" +"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" -#: ../../../source/contribution/documentation/i18n.txt:35 -msgid "Send your works to us!" -msgstr "" +#: ../../../source/contribution/development/query.txt:80 +msgid "equal(v1, v2, arg, callback)" +msgstr "equal(v1, v2, arg, callback)" -#: ../../../source/contribution/documentation/i18n.txt:37 -msgid "" -"Here are command lines to do the above flow. Following sections describes " -"details." -msgstr "" +#: ../../../source/contribution/development/test.txt:43 +msgid "テストの動作" +msgstr "テストの動作" -#: ../../../source/contribution/documentation/i18n.txt:42 -msgid "" -"# Please fork https://github.com/groonga/groonga on GitHub % git clone " -"https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git % ./autogen.sh % ./" -"configure % cd doc/locale/${LANGUAGE}/LC_MESSAGES # ${LANGUAGE} is language " -"code such as 'ja'. % make update # *.po are updated % editor *.po # " -"translate *.po # you can use your favorite editor % cd .. % make html % " -"browser html/index.html # confirm translation % git add LC_MESSAGES/*.po % " -"git commit % git push" -msgstr "" +#: ../../../source/contribution/development/test.txt:72 +#: ../../../source/contribution/development/test.txt:81 +#: ../../../source/contribution/development/test.txt:92 +#: ../../../source/contribution/development/test.txt:103 +msgid "実行例::" +msgstr "実行例::" -#: ../../../source/contribution/documentation/i18n.txt:57 -#, fuzzy -msgid "How to clone groonga repository" -msgstr "How to contribute to groonga" +#: ../../../source/contribution/development/query.txt:85 +msgid "v1の値とv2の値が等しくないことを表します。" +msgstr "v1の値とv2の値が等しくないことを表します。" -#: ../../../source/contribution/documentation/i18n.txt:59 +#: ../../../source/contribution/development/test.txt:110 msgid "" -"First, please fork groonga repository easily on GiHub. You just access " -"https://github.com/groonga/groonga and press `Fork` button. Now you can pull " -"your groonga repository::" +"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" +"いうディレクトリに解析結果のhtmlが出力されます。::" msgstr "" +"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" +"いうディレクトリに解析結果のhtmlが出力されます。::" -#: ../../../source/contribution/documentation/i18n.txt:63 -msgid "% git clone https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git" -msgstr "" +#: ../../../source/contribution/development/query.txt:134 +msgid "grn_exprを使って様々な検索クエリを表現することができます。" +msgstr "grn_exprを使って様々な検索クエリを表現することができます。" -#: ../../../source/contribution/documentation/i18n.txt:65 -msgid "Then you need to configure your cloned repository::" +#: ../../../source/contribution/development/document.txt:11 +msgid "" +"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" +"以下のように導入します。::" msgstr "" +"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" +"以下のように導入します。::" -#: ../../../source/contribution/documentation/i18n.txt:67 -msgid "% cd groonga % ./autogen.sh % ./configure" +#: ../../../source/contribution/documentation/i18n.txt:160 +msgid "" +"% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git format-patch " +"origin/master" msgstr "" +"% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git format-patch " +"origin/master" -#: ../../../source/contribution/documentation/i18n.txt:71 -msgid "The above steps are just needed at the first setup." +#: ../../../source/contribution/development/test.txt:99 +msgid "" +"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" +"行されます。gdb上でrunを行うと、テストの実行が開始されます。" msgstr "" +"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" +"行されます。gdb上でrunを行うと、テストの実行が開始されます。" -#: ../../../source/contribution/documentation/i18n.txt:73 +#: ../../../source/contribution/development/test.txt:9 +msgid "テスト環境の構築" +msgstr "テスト環境の構築" + +#: ../../../source/contribution/development/test.txt:38 msgid "" -"If you have troubles on the above steps, you can use source files available " -"on http://packages.groonga.org/source/groonga/ ." +"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" +"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" +"トールできます。::" msgstr "" +"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" +"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" +"トールできます。::" -#: ../../../source/contribution/documentation/i18n.txt:77 -msgid "How to update .po files" -msgstr "" +#: sphinx-built-in-message:0 +msgid "See also" +msgstr "See also" -#: ../../../source/contribution/documentation/i18n.txt:79 +#: ../../../source/contribution/documentation/i18n.txt:135 msgid "" -"You can update .po files by running `make update` on doc/locale/${LANGUAGE}/" -"LC_MESSAGES. (Please substitute `${LANGUAGE}` with your language code such " -"as 'ja'.)::" -msgstr "" - -#: ../../../source/contribution/documentation/i18n.txt:83 -msgid "% cd doc/locale/ja/LC_MESSAGES % make update" +"We can receive your works via pull request on GitHub or E-mail attachment " +"patch or .po files themselves." msgstr "" +"We can receive your works via pull request on GitHub or E-mail attachment " +"patch or .po files themselves." #: ../../../source/contribution/documentation/i18n.txt:87 msgid "How to edit .po" -msgstr "" +msgstr "How to edit .po" -#: ../../../source/contribution/documentation/i18n.txt:89 +#: ../../../source/contribution/development/query.txt:33 +msgid "grn_exprで表現できるクエリ" +msgstr "grn_exprで表現できるクエリ" + +#: ../../../source/contribution/development/test.txt:24 msgid "" -"There are some tools to edit .po files. .po files are just text. So you can " -"use your favorite editor. Here is a specialized editor for .po file edit " -"list." +"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" +"以下のようにしてインストールできます。::" msgstr "" +"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" +"以下のようにしてインストールできます。::" -#: ../../../source/contribution/documentation/i18n.txt:94 -msgid "It is bundled in gettext." +#: ../../../source/contribution/development/query.txt:206 +msgid "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " +"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" +"(ctx, table, query, NULL, GRN_OP_OR);" msgstr "" +"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " +"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " +"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " +"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" +"(ctx, table, query, NULL, GRN_OP_OR);" -#: ../../../source/contribution/documentation/i18n.txt:97 -msgid "It is a .po editor and works on many platform." -msgstr "" +#: ../../../source/contribution/documentation/i18n.txt:180 +msgid "How to add new language" +msgstr "How to add new language" -#: ../../../source/contribution/documentation/i18n.txt:100 -msgid "It is also a .po editor and is implemented as Eclipse plugin." -msgstr "" +#: ../../../source/contribution/development/query.txt:96 +msgid "less_equal(v1, v2, arg, callback)" +msgstr "less_equal(v1, v2, arg, callback)" -#: ../../../source/contribution/documentation/i18n.txt:107 -msgid "How to generate HTML files" -msgstr "" +#: ../../../source/contribution/documentation/i18n.txt:63 +msgid "% git clone https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git" +msgstr "% git clone https://github.com/${YOUR_GITHUB_ACCOUNT}/groonga.git" -#: ../../../source/contribution/documentation/i18n.txt:109 -msgid "" -"You can generate HTML files with updated .po files by running `make html` on " -"doc/locale/${LANGUAGE}. (Please substitute `${LANGUAGE}` with your language " -"code such as 'ja'.)::" -msgstr "" +#: ../../../source/contribution.txt:17 +msgid "We describe about them in this section." +msgstr "We describe about them in this section." -#: ../../../source/contribution/documentation/i18n.txt:114 -msgid "% cd doc/locale/ja/ % make update" -msgstr "" +#: ../../../source/contribution/development/document.txt:21 +msgid "% make html" +msgstr "% make html" -#: ../../../source/contribution/documentation/i18n.txt:119 -msgid "" -".mo files are updated automatically by `make update`. So you don't care " -"about .mo files." -msgstr "" +#: ../../../source/contribution/development/test.txt:47 +msgid "make check" +msgstr "make check" -#: ../../../source/contribution/documentation/i18n.txt:123 -msgid "How to confirm HTML output" -msgstr "" +#: ../../../source/contribution/documentation/i18n.txt:31 +msgid "Edit .po files." +msgstr "Edit .po files." -#: ../../../source/contribution/documentation/i18n.txt:125 +#: ../../../source/contribution/development/document.txt:26 msgid "" -"HTML files are generated in doc/locale/${LANGUAGE}/html/. (Please substitute " -"`${LANGUAGE}` with your language code such as 'ja'.) You can confirm HTML " -"output by your favorite editor::" +"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" +"(IPA Gothic/IPAexGothic)が必要となります。" msgstr "" +"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" +"(IPA Gothic/IPAexGothic)が必要となります。" -#: ../../../source/contribution/documentation/i18n.txt:130 -msgid "% firefox doc/locale/ja/html/index.html" +#: ../../../source/contribution.txt:8 +msgid "" +"We are welcome to you contribute the groonga project. There are many ways to " +"contribute such as use, introduction, bug report, development and " +"documentation." msgstr "" +"We are welcome to you contribute the groonga project. There are many ways to " +"contribute such as use, introduction, bug report, development and " +"documentation." -#: ../../../source/contribution/documentation/i18n.txt:133 -msgid "How to send your works" -msgstr "" +#: ../../../source/contribution/development/query.txt:176 +msgid "検索例3" +msgstr "検索例3" -#: ../../../source/contribution/documentation/i18n.txt:135 -msgid "" -"We can receive your works via pull request on GitHub or E-mail attachment " -"patch or .po files themselves." -msgstr "" +#: ../../../source/contribution/documentation/i18n.txt:77 +msgid "How to update .po files" +msgstr "How to update .po files" -#: ../../../source/contribution/documentation/i18n.txt:139 -msgid "How to send pull request" -msgstr "" +#: ../../../source/contribution/development/test.txt:50 +msgid "カバレッジ情報" +msgstr "カバレッジ情報" -#: ../../../source/contribution/documentation/i18n.txt:141 -msgid "Here are command lines to send pull request::" -msgstr "" +#: ../../../source/contribution/development/test.txt:36 +msgid "libmemcachedのインストール" +msgstr "libmemcachedのインストール" -#: ../../../source/contribution/documentation/i18n.txt:143 -msgid "% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git push" -msgstr "" +#: ../../../source/contribution/development/com.txt:18 +msgid "edgeごとにqueueを持つ。" +msgstr "edgeごとにqueueを持つ。" -#: ../../../source/contribution/documentation/i18n.txt:147 +#: ../../../source/contribution/development/query.txt:70 msgid "" -"Now you can send pull request on GitHub. You just access your repository " -"page on GitHub and press `Pull Request` button." +"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" +"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" +"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" +"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" +"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" +"チするレコードに対してスコア値の更新のみを行います。" msgstr "" +"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" +"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" +"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" +"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" +"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" +"チするレコードに対してスコア値の更新のみを行います。" -#: ../../../source/contribution/documentation/i18n.txt:156 -msgid "How to send patch" +#: ../../../source/contribution/development/test.txt:65 +msgid "" +"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" +"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." +"sh --helpを実行しヘルプをご覧ください。" msgstr "" +"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" +"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." +"sh --helpを実行しヘルプをご覧ください。" -#: ../../../source/contribution/documentation/i18n.txt:158 -msgid "Here are command lines to create patch::" -msgstr "" +#: ../../../source/contribution/development/query.txt:120 +msgid "similar(v1, v2, arg, callback)" +msgstr "similar(v1, v2, arg, callback)" -#: ../../../source/contribution/documentation/i18n.txt:160 +#: ../../../source/contribution/development/test.txt:88 msgid "" -"% git add doc/locale/ja/LC_MESSAGES/*.po % git commit % git format-patch " -"origin/master" +"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" +"スやメモリリークを検出しつつ、テストを動作させることができます。" msgstr "" +"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" +"スやメモリリークを検出しつつ、テストを動作させることができます。" -#: ../../../source/contribution/documentation/i18n.txt:164 +#: ../../../source/contribution/documentation/i18n.txt:17 msgid "" -"You can find 000X-YYY.patch files in the current directory. Please send " -"those files to us!" +"But we still use Japanese in doc/source/ for now. We need to translate " +"Japanese documentation in doc/source/ into English. We welcome to you help " +"us by translating documentation." msgstr "" +"But we still use Japanese in doc/source/ for now. We need to translate " +"Japanese documentation in doc/source/ into English. We welcome to you help " +"us by translating documentation." -#: ../../../source/contribution/documentation/i18n.txt:168 -msgid "How to send .po files" -msgstr "" +#: ../../../source/contribution/development/query.txt:60 +msgid "grn_table_select()" +msgstr "grn_table_select()" -#: ../../../source/contribution/documentation/i18n.txt:170 +#: ../../../source/contribution/development/test.txt:16 msgid "" -"Please archive doc/locale/${LANGUAGE}/LC_MESSAGES/ (Please substitute `" -"${LANGUAGE}` with your language code such as 'ja'.) and send it to us! We " -"extract and merge them to the groonga repository." +"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" +"覧下さい。" msgstr "" +"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" +"覧下さい。" -#: ../../../source/contribution/documentation/i18n.txt:176 -msgid "How to add new language" -msgstr "" +#: ../../../source/contribution/development/test.txt:40 +msgid "% sudo aptitude install -y libmemcached-dev" +msgstr "% sudo aptitude install -y libmemcached-dev" -#: ../../../source/contribution/documentation/i18n.txt:178 -msgid "Here are command lines to add new translation language::" -msgstr "" +#: ../../../source/contribution/development/com.txt:10 +msgid "comは1スレッド。" +msgstr "comは1スレッド。" -#: ../../../source/contribution/documentation/i18n.txt:180 +#: ../../../source/contribution/documentation/i18n.txt:71 +msgid "The above steps are just needed at the first setup." +msgstr "The above steps are just needed at the first setup." + +#: ../../../source/contribution/development/com.txt:9 +msgid "comが外部からの接続を受け付ける。" +msgstr "comが外部からの接続を受け付ける。" + +#: ../../../source/contribution/development/query.txt:15 msgid "" -"% cd doc/locale % make add LOCALE=${LANGUAGE} # specify your language code " -"such as 'de'." +"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" +"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" msgstr "" +"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" +"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" -#: ../../../source/contribution/documentation/i18n.txt:183 -msgid "Please substitute `${LANGUAGE}` with your language code such as 'ja'." -msgstr "" +#: ../../../source/contribution/documentation/i18n.txt:35 +msgid "Send your works to us!" +msgstr "Send your works to us!" -#: ../../../source/contribution/report.txt:6 -msgid "How to report a bug" -msgstr "How to report a bug" +#: ../../../source/contribution/documentation/i18n.txt:100 +msgid "It is also a .po editor and is implemented as Eclipse plugin." +msgstr "It is also a .po editor and is implemented as Eclipse plugin." -#: ../../../source/contribution/report.txt:8 -msgid "" -"We have two issue tracking systems, Redmine_ and `GitHub issue tracker`_. " -"Redmine is for Japanese and GitHub issue tracker is for English. You can use " -"both of them to report a bug." -msgstr "" -"We have two issue tracking systems, Redmine_ and `GitHub issue tracker`_. " -"Redmine is for Japanese and GitHub issue tracker is for English. You can use " -"both of them to report a bug." +#: ../../../source/contribution/documentation/i18n.txt:158 +msgid "Here are command lines to create patch::" +msgstr "Here are command lines to create patch::" + +#: ../../../source/contribution/development/query.txt:28 +msgid "groonga実行ファイル" +msgstr "groonga実行ファイル" + +#: ../../../source/contribution/development/test.txt:108 +msgid "静的解析" +msgstr "静的解析" + +#: ../../../source/contribution/development/query.txt:37 +msgid "論理演算子は、以下の3種類があります。 ::" +msgstr "論理演算子は、以下の3種類があります。 ::" + +#: ../../../source/contribution/documentation/i18n.txt:114 +msgid "% cd doc/locale/ja/ % make html" +msgstr "% cd doc/locale/ja/ % make html" + +#: ../../../source/contribution/documentation/i18n.txt:32 +msgid "Generate HTML files." +msgstr "Generate HTML files." Deleted: doc/locale/en/LC_MESSAGES/developer.po (+0 -842) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/developer.po 2011-06-28 14:48:48 +0000 (2111d16) +++ /dev/null @@ -1,842 +0,0 @@ -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/developer.txt:6 -msgid "groonga開発者向け情報" -msgstr "groonga開発者向け情報" - -#: ../../../source/developer/com.txt:4 -msgid "groonga 通信アーキテクチャ" -msgstr "groonga 通信アーキテクチャ" - -#: ../../../source/developer/com.txt:7 -msgid "gqtpでのアーキテクチャ" -msgstr "gqtpでのアーキテクチャ" - -#: ../../../source/developer/com.txt:9 -msgid "comが外部からの接続を受け付ける。" -msgstr "comが外部からの接続を受け付ける。" - -#: ../../../source/developer/com.txt:10 -msgid "comは1スレッド。" -msgstr "comは1スレッド。" - -#: ../../../source/developer/com.txt:11 -msgid "comがedgeを作る。" -msgstr "comがedgeを作る。" - -#: ../../../source/developer/com.txt:12 -msgid "edgeは接続と1対1対応。" -msgstr "edgeは接続と1対1対応。" - -#: ../../../source/developer/com.txt:13 -msgid "edgeはctxを含む。" -msgstr "edgeはctxを含む。" - -#: ../../../source/developer/com.txt:14 -msgid "workerはthreadと1対1対応。" -msgstr "workerはthreadと1対1対応。" - -#: ../../../source/developer/com.txt:15 -msgid "workerは上限が個定数。" -msgstr "workerは上限が個定数。" - -#: ../../../source/developer/com.txt:16 -msgid "workerは、1つのedgeと結びつくことができる。" -msgstr "workerは、1つのedgeと結びつくことができる。" - -#: ../../../source/developer/com.txt:18 -msgid "edgeごとにqueueを持つ。" -msgstr "edgeごとにqueueを持つ。" - -#: ../../../source/developer/com.txt:19 -msgid "" -"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" -"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" -"る。" -msgstr "" -"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" -"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" -"る。" - -#: ../../../source/developer/document.txt:6 -msgid "ドキュメント作成" -msgstr "ドキュメント作成" - -#: ../../../source/developer/document.txt:9 -msgid "Sphinxのインストール" -msgstr "Sphinxのインストール" - -#: ../../../source/developer/document.txt:11 -msgid "" -"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" -"以下のように導入します。::" -msgstr "" -"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" -"以下のように導入します。::" - -#: ../../../source/developer/document.txt:13 -msgid "# aptitude install python-setuptools # easy_install -U sphinx" -msgstr "# aptitude install python-setuptools # easy_install -U sphinx" - -#: ../../../source/developer/document.txt:17 -msgid "htmlの作成" -msgstr "htmlの作成" - -#: ../../../source/developer/document.txt:19 -msgid "以下のコマンドでhtmlが作成されます。::" -msgstr "以下のコマンドでhtmlが作成されます。::" - -#: ../../../source/developer/document.txt:21 -msgid "% make html" -msgstr "% make html" - -#: ../../../source/developer/document.txt:24 -#: ../../../source/developer/document.txt:36 -msgid "pdfの作成" -msgstr "pdfの作成" - -#: ../../../source/developer/document.txt:26 -msgid "" -"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" -"(IPA Gothic/IPAexGothic)が必要となります。" -msgstr "" -"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" -"(IPA Gothic/IPAexGothic)が必要となります。" - -#: ../../../source/developer/document.txt:29 -msgid "rst2pdfのインストール" -msgstr "rst2pdfのインストール" - -#: ../../../source/developer/document.txt:31 -msgid "以下のようにしてインストールできます。::" -msgstr "以下のようにしてインストールできます。::" - -#: ../../../source/developer/document.txt:33 -msgid "# easy_install rst2pdf" -msgstr "# easy_install rst2pdf" - -#: ../../../source/developer/document.txt:38 -msgid "以下のコマンドでpdfが作成されます。::" -msgstr "以下のコマンドでpdfが作成されます。::" - -#: ../../../source/developer/document.txt:40 -msgid "% make pdf" -msgstr "% make pdf" - -#: ../../../source/developer/query.txt:6 -msgid "クエリの実現" -msgstr "クエリの実現" - -#: ../../../source/developer/query.txt:8 -msgid "" -"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" -"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" -"エリの表現と実行に関して、groongaは複数の手段を用意しています。" -msgstr "" -"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" -"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" -"エリの表現と実行に関して、groongaは複数の手段を用意しています。" - -#: ../../../source/developer/query.txt:11 -msgid "クエリ実行のためのインタフェース" -msgstr "クエリ実行のためのインタフェース" - -#: ../../../source/developer/query.txt:13 -msgid "" -"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" -"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" -"います。" -msgstr "" -"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" -"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" -"います。" - -#: ../../../source/developer/query.txt:15 -msgid "" -"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" -"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" -msgstr "" -"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" -"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" - -#: ../../../source/developer/query.txt:18 -msgid "DB_API" -msgstr "DB_API" - -#: ../../../source/developer/query.txt:20 -msgid "" -"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" -"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" -"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" -"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" -"て実現されています。" -msgstr "" -"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" -"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" -"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" -"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" -"て実現されています。" - -#: ../../../source/developer/query.txt:23 -msgid "grn_expr" -msgstr "grn_expr" - -#: ../../../source/developer/query.txt:25 -msgid "" -"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" -"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" -"ることができます。grn_exprによって表現されたクエリを実行するためには、" -"grn_table_select()関数を使用します。" -msgstr "" -"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" -"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" -"ることができます。grn_exprによって表現されたクエリを実行するためには、" -"grn_table_select()関数を使用します。" - -#: ../../../source/developer/query.txt:28 -msgid "groonga実行ファイル" -msgstr "groonga実行ファイル" - -#: ../../../source/developer/query.txt:30 -msgid "" -"groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマン" -"ドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザ" -"がC言語で定義した関数を新たなコマンドとしてgroonga実行ファイルに組み込むこと" -"ができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解" -"釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈して" -"DB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができま" -"す。" -msgstr "" -"groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマン" -"ドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザ" -"がC言語で定義した関数を新たなコマンドとしてgroonga実行ファイルに組み込むこと" -"ができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解" -"釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈して" -"DB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができま" -"す。" - -#: ../../../source/developer/query.txt:33 -msgid "grn_exprで表現できるクエリ" -msgstr "grn_exprで表現できるクエリ" - -#: ../../../source/developer/query.txt:35 -msgid "" -"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" -"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" -"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" -"子で結合したものです。" -msgstr "" -"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" -"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" -"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" -"子で結合したものです。" - -#: ../../../source/developer/query.txt:37 -msgid "論理演算子は、以下の3種類があります。 ::" -msgstr "論理演算子は、以下の3種類があります。 ::" - -#: ../../../source/developer/query.txt:40 -msgid "&& (論理積) || (論理和) ! (否定)" -msgstr "&& (論理積) || (論理和) ! (否定)" - -#: ../../../source/developer/query.txt:44 -msgid "" -"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" -"関係式として使うこともできます。 ::" -msgstr "" -"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" -"関係式として使うこともできます。 ::" - -#: ../../../source/developer/query.txt:47 -msgid "" -"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " -"contain() near() similar() prefix() suffix()" -msgstr "" -"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " -"contain() near() similar() prefix() suffix()" - -#: ../../../source/developer/query.txt:60 -msgid "grn_table_select()" -msgstr "grn_table_select()" - -#: ../../../source/developer/query.txt:62 -msgid "" -"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" -"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" -"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" -"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" -msgstr "" -"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" -"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" -"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" -"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" - -#: ../../../source/developer/query.txt:65 -msgid "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" -msgstr "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" - -#: ../../../source/developer/query.txt:70 -msgid "" -"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" -"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" -"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" -"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" -"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" -"チするレコードに対してスコア値の更新のみを行います。" -msgstr "" -"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" -"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" -"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" -"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" -"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" -"チするレコードに対してスコア値の更新のみを行います。" - -#: ../../../source/developer/query.txt:72 -msgid "" -"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" -"せて可能な限り高速に指定されたクエリを実行しようとします。" -msgstr "" -"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" -"せて可能な限り高速に指定されたクエリを実行しようとします。" - -#: ../../../source/developer/query.txt:75 -msgid "関係式" -msgstr "関係式" - -#: ../../../source/developer/query.txt:77 -msgid "" -"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" -"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" -"callback、コールバック関数に渡されるargとを引数として指定することができます。" -"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" -"ます。主な関係式について説明します。" -msgstr "" -"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" -"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" -"callback、コールバック関数に渡されるargとを引数として指定することができます。" -"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" -"ます。主な関係式について説明します。" - -#: ../../../source/developer/query.txt:80 -msgid "equal(v1, v2, arg, callback)" -msgstr "equal(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:81 -msgid "v1の値とv2の値が等しいことを表します。" -msgstr "v1の値とv2の値が等しいことを表します。" - -#: ../../../source/developer/query.txt:84 -msgid "not_equal(v1, v2, arg, callback)" -msgstr "not_equal(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:85 -msgid "v1の値とv2の値が等しくないことを表します。" -msgstr "v1の値とv2の値が等しくないことを表します。" - -#: ../../../source/developer/query.txt:88 -msgid "less(v1, v2, arg, callback)" -msgstr "less(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:89 -msgid "v1の値がv2の値よりも小さいことを表します。" -msgstr "v1の値がv2の値よりも小さいことを表します。" - -#: ../../../source/developer/query.txt:92 -msgid "greater(v1, v2, arg, callback)" -msgstr "greater(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:93 -msgid "v1の値がv2の値よりも大きいことを表します。" -msgstr "v1の値がv2の値よりも大きいことを表します。" - -#: ../../../source/developer/query.txt:96 -msgid "less_equal(v1, v2, arg, callback)" -msgstr "less_equal(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:97 -msgid "v1の値がv2の値と等しいか小さいことを表します。" -msgstr "v1の値がv2の値と等しいか小さいことを表します。" - -#: ../../../source/developer/query.txt:100 -msgid "greater_equal(v1, v2, arg, callback)" -msgstr "greater_equal(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:101 -msgid "v1の値がv2の値と等しいか大きいことを表します。" -msgstr "v1の値がv2の値と等しいか大きいことを表します。" - -#: ../../../source/developer/query.txt:104 -msgid "contain(v1, v2, mode, arg, callback)" -msgstr "contain(v1, v2, mode, arg, callback)" - -#: ../../../source/developer/query.txt:105 -msgid "" -"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" -"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" -"かを指定することができます。" -msgstr "" -"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" -"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" -"かを指定することができます。" - -#: ../../../source/developer/query.txt:109 -msgid "" -"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" -"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" -"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" -"素がv2の値に中間一致する" -msgstr "" -"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" -"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" -"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" -"素がv2の値に中間一致する" - -#: ../../../source/developer/query.txt:116 -msgid "near(v1, v2, arg, callback)" -msgstr "near(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:117 -msgid "" -"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" -"列を渡します)" -msgstr "" -"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" -"列を渡します)" - -#: ../../../source/developer/query.txt:120 -msgid "similar(v1, v2, arg, callback)" -msgstr "similar(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:121 -msgid "v1の値とv2の値が類似していることを表します。" -msgstr "v1の値とv2の値が類似していることを表します。" - -#: ../../../source/developer/query.txt:124 -msgid "prefix(v1, v2, arg, callback)" -msgstr "prefix(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:125 -msgid "v1の値がv2の値に対して前方一致することを表します。" -msgstr "v1の値がv2の値に対して前方一致することを表します。" - -#: ../../../source/developer/query.txt:128 -msgid "suffix(v1, v2, arg, callback)" -msgstr "suffix(v1, v2, arg, callback)" - -#: ../../../source/developer/query.txt:129 -msgid "v1の値がv2の値に対して後方一致することを表します。" -msgstr "v1の値がv2の値に対して後方一致することを表します。" - -#: ../../../source/developer/query.txt:132 -msgid "クエリの実例" -msgstr "クエリの実例" - -#: ../../../source/developer/query.txt:134 -msgid "grn_exprを使って様々な検索クエリを表現することができます。" -msgstr "grn_exprを使って様々な検索クエリを表現することができます。" - -#: ../../../source/developer/query.txt:137 -msgid "検索例1" -msgstr "検索例1" - -#: ../../../source/developer/query.txt:140 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" -msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" - -#: ../../../source/developer/query.txt:147 -msgid "" -"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" -"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" -"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" -"みがヒットします。" -msgstr "" -"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" -"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" -"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" -"みがヒットします。" - -#: ../../../source/developer/query.txt:151 -msgid "検索例2" -msgstr "検索例2" - -#: ../../../source/developer/query.txt:154 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " -"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " -"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " -"GRN_OP_ADJUST); grn_obj_close(ctx, query);" -msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " -"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " -"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " -"GRN_OP_ADJUST); grn_obj_close(ctx, query);" - -#: ../../../source/developer/query.txt:173 -msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" -"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" -"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" -msgstr "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" -"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" -"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" - -#: ../../../source/developer/query.txt:176 -msgid "検索例3" -msgstr "検索例3" - -#: ../../../source/developer/query.txt:179 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " -"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " -"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " -"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " -"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" -msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " -"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " -"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " -"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " -"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" - -#: ../../../source/developer/query.txt:200 -msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" -"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" -"ア値にscore2を積算してresultに追加します。" -msgstr "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" -"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" -"ア値にscore2を積算してresultに追加します。" - -#: ../../../source/developer/query.txt:203 -msgid "検索例4" -msgstr "検索例4" - -#: ../../../source/developer/query.txt:206 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " -"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" -msgstr "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " -"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" - -#: ../../../source/developer/query.txt:213 -msgid "" -"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" -"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" -"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" -"ヒットします。" -msgstr "" -"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" -"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" -"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" -"ヒットします。" - -#: ../../../source/developer/test.txt:6 -msgid "テスト方法" -msgstr "テスト方法" - -#: ../../../source/developer/test.txt:9 -msgid "テスト環境の構築" -msgstr "テスト環境の構築" - -#: ../../../source/developer/test.txt:12 -msgid "Cutterのインストール" -msgstr "Cutterのインストール" - -#: ../../../source/developer/test.txt:14 -msgid "groongaは、テストのフレームワークとして Cutter_ を用いています。" -msgstr "groongaは、テストのフレームワークとして Cutter_ を用いています。" - -#: ../../../source/developer/test.txt:16 -msgid "" -"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" -"覧下さい。" -msgstr "" -"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" -"覧下さい。" - -#: ../../../source/developer/test.txt:22 -msgid "lcovのインストール" -msgstr "lcovのインストール" - -#: ../../../source/developer/test.txt:24 -msgid "" -"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" -"以下のようにしてインストールできます。::" -msgstr "" -"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" -"以下のようにしてインストールできます。::" - -#: ../../../source/developer/test.txt:26 -msgid "% sudo aptitude install -y lcov" -msgstr "% sudo aptitude install -y lcov" - -#: ../../../source/developer/test.txt:29 -msgid "clangのインストール" -msgstr "clangのインストール" - -#: ../../../source/developer/test.txt:31 -msgid "" -"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" -"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" -msgstr "" -"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" -"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" - -#: ../../../source/developer/test.txt:33 -msgid "% sudo aptitude install -y clang" -msgstr "% sudo aptitude install -y clang" - -#: ../../../source/developer/test.txt:36 -msgid "libmemcachedのインストール" -msgstr "libmemcachedのインストール" - -#: ../../../source/developer/test.txt:38 -msgid "" -"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" -"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" -"トールできます。::" -msgstr "" -"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" -"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" -"トールできます。::" - -#: ../../../source/developer/test.txt:40 -msgid "% sudo aptitude install -y libmemcached-dev" -msgstr "% sudo aptitude install -y libmemcached-dev" - -#: ../../../source/developer/test.txt:43 -msgid "テストの動作" -msgstr "テストの動作" - -#: ../../../source/developer/test.txt:45 ../../../source/developer/test.txt:52 -msgid "groongaのトップディレクトリで、以下のコマンドを実行します。::" -msgstr "groongaのトップディレクトリで、以下のコマンドを実行します。::" - -#: ../../../source/developer/test.txt:47 -msgid "make check" -msgstr "make check" - -#: ../../../source/developer/test.txt:50 -msgid "カバレッジ情報" -msgstr "カバレッジ情報" - -#: ../../../source/developer/test.txt:54 -msgid "make coverage" -msgstr "make coverage" - -#: ../../../source/developer/test.txt:56 -msgid "" -"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" -"す。" -msgstr "" -"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" -"す。" - -#: ../../../source/developer/test.txt:58 -msgid "" -"カバレッジには、Lines/Functions/Branchesの3つの対象があります。それぞれ、行/" -"関数/分岐に対応します。Functionsがもっとも重要な対象です。すべての関数がテス" -"トされるようになっていることを心がけてください。" -msgstr "" -"カバレッジには、Lines/Functions/Branchesの3つの対象があります。それぞれ、行/" -"関数/分岐に対応します。Functionsがもっとも重要な対象です。すべての関数がテス" -"トされるようになっていることを心がけてください。" - -#: ../../../source/developer/test.txt:60 -msgid "" -"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" -"バーしている部分を増やすことも重要です。" -msgstr "" -"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" -"バーしている部分を増やすことも重要です。" - -#: ../../../source/developer/test.txt:63 -msgid "様々なテスト" -msgstr "様々なテスト" - -#: ../../../source/developer/test.txt:65 -msgid "" -"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" -"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." -"sh --helpを実行しヘルプをご覧ください。" -msgstr "" -"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" -"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." -"sh --helpを実行しヘルプをご覧ください。" - -#: ../../../source/developer/test.txt:68 -msgid "特定のテスト関数のみテストする" -msgstr "特定のテスト関数のみテストする" - -#: ../../../source/developer/test.txt:70 -msgid "" -"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" -msgstr "" -"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" - -#: ../../../source/developer/test.txt:72 ../../../source/developer/test.txt:81 -#: ../../../source/developer/test.txt:92 -#: ../../../source/developer/test.txt:103 -msgid "実行例::" -msgstr "実行例::" - -#: ../../../source/developer/test.txt:74 -msgid "% ./run-test.sh -n test_text_otoj" -msgstr "% ./run-test.sh -n test_text_otoj" - -#: ../../../source/developer/test.txt:77 -msgid "特定のテストファイルのみテストする" -msgstr "特定のテストファイルのみテストする" - -#: ../../../source/developer/test.txt:79 -msgid "" -"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" -"す。" -msgstr "" -"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" -"す。" - -#: ../../../source/developer/test.txt:83 -msgid "% ./run-test.sh -t test_string" -msgstr "% ./run-test.sh -t test_string" - -#: ../../../source/developer/test.txt:86 -msgid "不正メモリアクセス・メモリリーク検出" -msgstr "不正メモリアクセス・メモリリーク検出" - -#: ../../../source/developer/test.txt:88 -msgid "" -"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" -"スやメモリリークを検出しつつ、テストを動作させることができます。" -msgstr "" -"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" -"スやメモリリークを検出しつつ、テストを動作させることができます。" - -#: ../../../source/developer/test.txt:90 -#: ../../../source/developer/test.txt:101 -msgid "run-test.shのみならず、make checkでも利用可能です。" -msgstr "run-test.shのみならず、make checkでも利用可能です。" - -#: ../../../source/developer/test.txt:94 -msgid "% CUTTER_CHECK_LEAK=yes make check" -msgstr "% CUTTER_CHECK_LEAK=yes make check" - -#: ../../../source/developer/test.txt:97 -msgid "デバッガ上でのテスト実行" -msgstr "デバッガ上でのテスト実行" - -#: ../../../source/developer/test.txt:99 -msgid "" -"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" -"行されます。gdb上でrunを行うと、テストの実行が開始されます。" -msgstr "" -"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" -"行されます。gdb上でrunを行うと、テストの実行が開始されます。" - -#: ../../../source/developer/test.txt:105 -msgid "% CUTTER_DEBUG=yes make check" -msgstr "% CUTTER_DEBUG=yes make check" - -#: ../../../source/developer/test.txt:108 -msgid "静的解析" -msgstr "静的解析" - -#: ../../../source/developer/test.txt:110 -msgid "" -"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" -"いうディレクトリに解析結果のhtmlが出力されます。::" -msgstr "" -"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" -"いうディレクトリに解析結果のhtmlが出力されます。::" - -#: ../../../source/developer/test.txt:112 -msgid "" -"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" -"scan_build make -j4" -msgstr "" -"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" -"scan_build make -j4" - -#: ../../../source/developer/test.txt:116 -msgid "configureは1度のみ実行する必要があります。" -msgstr "configureは1度のみ実行する必要があります。" Deleted: doc/locale/en/LC_MESSAGES/execfile.po (+0 -417) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/execfile.po 2011-06-28 14:48:48 +0000 (59e7379) +++ /dev/null @@ -1,417 +0,0 @@ -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 00:56\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/execfile.txt:6 -msgid "groonga実行ファイル" -msgstr "groonga実行ファイル" - -#: ../../../source/execfile.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/execfile.txt:11 -msgid "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" -msgstr "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" - -#: ../../../source/execfile.txt:14 -msgid "書式" -msgstr "書式" - -#: ../../../source/execfile.txt:18 -msgid "groonga [options] [dest] [command [args]]" -msgstr "groonga [options] [dest] [command [args]]" - -#: ../../../source/execfile.txt:21 -msgid "説明" -msgstr "説明" - -#: ../../../source/execfile.txt:23 -msgid "" -"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" -"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" -"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" -"の使い方について説明します。" -msgstr "" -"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" -"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" -"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" -"の使い方について説明します。" - -#: ../../../source/execfile.txt:27 -msgid "オプション" -msgstr "オプション" - -#: ../../../source/execfile.txt:31 -msgid "新たなデータベースを作成します。" -msgstr "新たなデータベースを作成します。" - -#: ../../../source/execfile.txt:35 -msgid "クライアントモードで実行します。" -msgstr "クライアントモードで実行します。" - -#: ../../../source/execfile.txt:39 -msgid "サーバモードで実行します。" -msgstr "サーバモードで実行します。" - -#: ../../../source/execfile.txt:43 -msgid "デーモンモードで実行します。(forkする点がサーバモードと異なる)" -msgstr "デーモンモードで実行します。(forkする点がサーバモードと異なる)" - -#: ../../../source/execfile.txt:47 -msgid "" -"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" -"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" -"定できます。" -msgstr "" -"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" -"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" -"定できます。" - -#: ../../../source/execfile.txt:51 -msgid "" -"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" -"が出力されます。" -msgstr "" -"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" -"が出力されます。" - -#: ../../../source/execfile.txt:62 -#, fuzzy -msgid "" -"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" -"(デフォルトは `hostname` の返すホスト名)" -msgstr "" -"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" -"(デフォルトは`hostname`の返すホスト名)" - -#: ../../../source/execfile.txt:66 -msgid "" -"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" -"トは10041番)" -msgstr "" -"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" -"トは10041番)" - -#: ../../../source/execfile.txt:71 -msgid "" -"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" -"ます。(デフォルトは`hostname`の返すホスト名)" -msgstr "" -"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" -"ます。(デフォルトは`hostname`の返すホスト名)" - -#: ../../../source/execfile.txt:75 -msgid "ヘルプメッセージを出力します。" -msgstr "ヘルプメッセージを出力します。" - -#: ../../../source/execfile.txt:79 -msgid "" -"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" -"します。" -msgstr "" -"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" -"します。" - -#: ../../../source/execfile.txt:81 -msgid "" -"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" -"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" -"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" -"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" -"ルを使用できます。" -msgstr "" -"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" -"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" -"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" -"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" -"ルを使用できます。" - -#: ../../../source/execfile.txt:85 -msgid "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" -msgstr "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" - -#: ../../../source/execfile.txt:89 -msgid "" -"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" -"groonga.logです)" -msgstr "" -"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" -"groonga.logです)" - -#: ../../../source/execfile.txt:93 -msgid "" -"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" -"ん)" -msgstr "" -"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" -"ん)" - -#: ../../../source/execfile.txt:97 -msgid "" -"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" -"です)" -msgstr "" -"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" -"です)" - -#: ../../../source/execfile.txt:101 -msgid "PIDを保存するパスを指定します。(デフォルトでは保存しません)" -msgstr "PIDを保存するパスを指定します。(デフォルトでは保存しません)" - -#: ../../../source/execfile.txt:105 -msgid "" -"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" -"ます。::" -msgstr "" -"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" -"ます。::" - -#: ../../../source/execfile.txt:107 -msgid "" -"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" -"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" -"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" -"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " -"# ただし、キーが'config-path'のオプションは無視される。" -msgstr "" -"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" -"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" -"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" -"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " -"# ただし、キーが'config-path'のオプションは無視される。" - -#: ../../../source/execfile.txt:122 -msgid "キャッシュ数の最大値を指定します。(デフォルトは100です)" -msgstr "キャッシュ数の最大値を指定します。(デフォルトは100です)" - -#: ../../../source/execfile.txt:126 -msgid "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" -msgstr "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" - -#: ../../../source/execfile.txt:129 -msgid "引数" -msgstr "引数" - -#: ../../../source/execfile.txt:133 -msgid "使用するデータベースのパス名を指定します。" -msgstr "使用するデータベースのパス名を指定します。" - -#: ../../../source/execfile.txt:135 -msgid "" -"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" -"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" -"とします。" -msgstr "" -"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" -"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" -"とします。" - -#: ../../../source/execfile.txt:139 -msgid "" -"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" -"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" -"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" -"ます。" -msgstr "" -"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" -"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" -"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" -"ます。" - -#: ../../../source/execfile.txt:142 -msgid "コマンド" -msgstr "コマンド" - -#: ../../../source/execfile.txt:144 -msgid "" -"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" -"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" -"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" -"す。" -msgstr "" -"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" -"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" -"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" -"す。" - -#: ../../../source/execfile.txt:147 -msgid "引数は以下の2種類の方法のいずれかで指定することができます。::" -msgstr "引数は以下の2種類の方法のいずれかで指定することができます。::" - -#: ../../../source/execfile.txt:149 -msgid "" -"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" -"2,.." -msgstr "" -"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" -"2,.." - -#: ../../../source/execfile.txt:153 -msgid "" -"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" -"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" -"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" -"を指定することが可能で、途中の引数の指定を省略することもできます。" -msgstr "" -"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" -"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" -"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" -"を指定することが可能で、途中の引数の指定を省略することもできます。" - -#: ../../../source/execfile.txt:155 -msgid "" -"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" -"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" -"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" -"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" -"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" -"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" -"を指定します。" -msgstr "" -"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" -"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" -"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" -"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" -"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" -"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" -"を指定します。" - -#: ../../../source/execfile.txt:158 -msgid "組み込みコマンド" -msgstr "組み込みコマンド" - -#: ../../../source/execfile.txt:160 -msgid "以下のコマンドは組み込みコマンドとして予め定義されています。" -msgstr "以下のコマンドは組み込みコマンドとして予め定義されています。" - -#: ../../../source/execfile.txt:163 -msgid "groongaプロセスの状態を表示します。" -msgstr "groongaプロセスの状態を表示します。" - -#: ../../../source/execfile.txt:166 -msgid "DBに定義されているテーブルのリストを表示します。" -msgstr "DBに定義されているテーブルのリストを表示します。" - -#: ../../../source/execfile.txt:169 -msgid "テーブルに定義されているカラムのリストを表示します。" -msgstr "テーブルに定義されているカラムのリストを表示します。" - -#: ../../../source/execfile.txt:172 -msgid "DBにテーブルを追加します。" -msgstr "DBにテーブルを追加します。" - -#: ../../../source/execfile.txt:175 -msgid "テーブルにカラムを追加します。" -msgstr "テーブルにカラムを追加します。" - -#: ../../../source/execfile.txt:178 -msgid "DBに定義されているテーブルを削除します。" -msgstr "DBに定義されているテーブルを削除します。" - -#: ../../../source/execfile.txt:181 -msgid "テーブルに定義されているカラムを削除します。" -msgstr "テーブルに定義されているカラムを削除します。" - -#: ../../../source/execfile.txt:184 -msgid "VIEW型のテーブルに要素となるテーブルを定義します。" -msgstr "VIEW型のテーブルに要素となるテーブルを定義します。" - -#: ../../../source/execfile.txt:187 -msgid "テーブルにレコードを挿入します。" -msgstr "テーブルにレコードを挿入します。" - -#: ../../../source/execfile.txt:190 -msgid "テーブルに含まれるレコードを検索して表示します。" -msgstr "テーブルに含まれるレコードを検索して表示します。" - -#: ../../../source/execfile.txt:193 -msgid "検索条件をカスタマイズした新たな検索コマンドを定義します。" -msgstr "検索条件をカスタマイズした新たな検索コマンドを定義します。" - -#: ../../../source/execfile.txt:196 -msgid "データベースとのセッションを終了します。" -msgstr "データベースとのセッションを終了します。" - -#: ../../../source/execfile.txt:199 -msgid "サーバ(デーモン)プロセスを停止します。" -msgstr "サーバ(デーモン)プロセスを停止します。" - -#: ../../../source/execfile.txt:202 -msgid "ログ出力レベルを設定します。" -msgstr "ログ出力レベルを設定します。" - -#: ../../../source/execfile.txt:205 -msgid "ログ出力を行います。" -msgstr "ログ出力を行います。" - -#: ../../../source/execfile.txt:208 -msgid "ロックを解除します。" -msgstr "ロックを解除します。" - -#: ../../../source/execfile.txt:212 -msgid "例" -msgstr "例" - -#: ../../../source/execfile.txt:214 -msgid "新しいデータベースを作成します。::" -msgstr "新しいデータベースを作成します。::" - -#: ../../../source/execfile.txt:216 -msgid "% groonga -n /tmp/hoge.db quit %" -msgstr "% groonga -n /tmp/hoge.db quit %" - -#: ../../../source/execfile.txt:219 -msgid "作成済みのデータベースにテーブルを定義します。::" -msgstr "作成済みのデータベースにテーブルを定義します。::" - -#: ../../../source/execfile.txt:221 -msgid "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" -msgstr "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" - -#: ../../../source/execfile.txt:225 -msgid "サーバを起動します。::" -msgstr "サーバを起動します。::" - -#: ../../../source/execfile.txt:227 -msgid "% groonga -d /tmp/hoge.db %" -msgstr "% groonga -d /tmp/hoge.db %" - -#: ../../../source/execfile.txt:230 -msgid "httpサーバとして起動します。::" -msgstr "httpサーバとして起動します。::" - -#: ../../../source/execfile.txt:232 -msgid "" -"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" -"admin_html /tmp/hoge.db %" -msgstr "" -"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" -"admin_html /tmp/hoge.db %" - -#: ../../../source/execfile.txt:235 -msgid "サーバに接続し、テーブル一覧を表示します。::" -msgstr "サーバに接続し、テーブル一覧を表示します。::" - -#: ../../../source/execfile.txt:237 -msgid "" -"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," -"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" -msgstr "" -"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," -"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" Added: doc/locale/en/LC_MESSAGES/executables.po (+1216 -0) 100644 =================================================================== --- /dev/null +++ doc/locale/en/LC_MESSAGES/executables.po 2011-06-28 15:04:00 +0000 (f806471) @@ -0,0 +1,1216 @@ +# English translations for 1.2.3 package. +# Copyright (C) 2009-2011, Brazil, Inc +# This file is distributed under the same license as the groonga package. +# Kouhei Sutou <kou****@clear*****>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: 1.2.3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" +"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" +"Language-Team: English\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../../../source/executables/grntest.txt:255 +msgid "制限事項" +msgstr "制限事項" + +#: ../../../source/executables/groonga.txt:93 +msgid "" +"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" +"ん)" +msgstr "" +"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" +"ん)" + +#: ../../../source/executables/grntest.txt:265 +msgid "もし、grntestが正常に動作しない場合、まず以下を確認してください。" +msgstr "もし、grntestが正常に動作しない場合、まず以下を確認してください。" + +#: ../../../source/executables/grnslap.txt:36 +msgid "リクエストのプロトコルを指定します。" +msgstr "リクエストのプロトコルを指定します。" + +#: ../../../source/executables/groonga.txt:18 +msgid "groonga [options] [dest] [command [args]]" +msgstr "groonga [options] [dest] [command [args]]" + +#: ../../../source/executables/grntest.txt:81 +msgid "とタイプしてください。もしgrntestが正常に動作すれば、::" +msgstr "とタイプしてください。もしgrntestが正常に動作すれば、::" + +#: ../../../source/executables/grntest.txt:6 +msgid "grntest" +msgstr "grntest" + +#: ../../../source/executables/groonga.txt:81 +msgid "" +"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" +"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" +"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" +"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" +"ルを使用できます。" +msgstr "" +"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" +"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" +"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" +"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" +"ルを使用できます。" + +#: ../../../source/executables/grntest.txt:124 +msgid "とした場合と同じです。" +msgstr "とした場合と同じです。" + +#: ../../../source/executables/grntest.txt:11 +msgid "grntest - groongaテストプログラム" +msgstr "grntest - groongaテストプログラム" + +#: ../../../source/executables/groonga.txt:85 +msgid "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" +msgstr "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" + +#: ../../../source/executables/grntest.txt:100 +msgid "現在サポートされているgrntest命令は以下の8つです。" +msgstr "現在サポートされているgrntest命令は以下の8つです。" + +#: ../../../source/executables/grntest.txt:179 +msgid "$ ./grntest --port 20010 test.scr testdb" +msgstr "$ ./grntest --port 20010 test.scr testdb" + +#: ../../../source/executables/grnslap.txt:6 +msgid "grnslap" +msgstr "grnslap" + +#: ../../../source/executables/grnslap.txt:48 +msgid "リクエストの多重度を指定します。初期値は10です。" +msgstr "リクエストの多重度を指定します。初期値は10です。" + +#: ../../../source/executables/grntest.txt:170 +msgid "" +"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" +"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" +"ンを指定しなかった場合にもSET_PORTが優先されます。" +msgstr "" +"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" +"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" +"ンを指定しなかった場合にもSET_PORTが優先されます。" + +#: ../../../source/executables/grntest.txt:173 +msgid "" +"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" +"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" +msgstr "" +"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" +"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" + +#: ../../../source/executables/grntest.txt:142 +msgid "スクリプトファイルのサンプルです。::" +msgstr "スクリプトファイルのサンプルです。::" + +#: ../../../source/executables/grntest.txt:49 +msgid "" +"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" +"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" +"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" +"意してください。" +msgstr "" +"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" +"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" +"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" +"意してください。" + +#: ../../../source/executables/grntest.txt:157 +msgid "" +"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" +"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" +"令を実行する場合に付与しても問題ありません。)" +msgstr "" +"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" +"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" +"令を実行する場合に付与しても問題ありません。)" + +#: ../../../source/executables/groonga.txt:166 +msgid "DBに定義されているテーブルのリストを表示します。" +msgstr "DBに定義されているテーブルのリストを表示します。" + +#: ../../../source/executables/groonga.txt:147 +msgid "引数は以下の2種類の方法のいずれかで指定することができます。::" +msgstr "引数は以下の2種類の方法のいずれかで指定することができます。::" + +#: ../../../source/executables/http.txt:39 +msgid "" +"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" +"数名を用いてoutput_typeを指定します。" +msgstr "" +"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" +"数名を用いてoutput_typeを指定します。" + +#: ../../../source/executables.txt:8 +msgid "groongaパッケージが提供する実行ファイルについて説明します。" +msgstr "groongaパッケージが提供する実行ファイルについて説明します。" + +#: ../../../source/executables/grntest.txt:159 +msgid "" +"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" +"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" +"test.statusというコマンドファイルを10個のスレッドで実行する。" +msgstr "" +"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" +"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" +"test.statusというコマンドファイルを10個のスレッドで実行する。" + +#: ../../../source/executables/grnslap.txt:29 +msgid "現在は、make installしてもインストールは行われない。" +msgstr "現在は、make installしてもインストールは行われない。" + +#: ../../../source/executables/groonga.txt:144 +msgid "" +"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" +"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" +"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" +"す。" +msgstr "" +"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" +"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" +"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" +"す。" + +#: ../../../source/executables/groonga.txt:232 +msgid "" +"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" +"admin_html /tmp/hoge.db %" +msgstr "" +"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" +"admin_html /tmp/hoge.db %" + +#: ../../../source/executables/grnslap.txt:58 +#: ../../../source/executables/grntest.txt:140 +msgid "サンプル" +msgstr "サンプル" + +#: ../../../source/executables/grnslap.txt:25 +msgid "" +"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" +"できます。また、リクエストの多重度を指定することができます。" +msgstr "" +"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" +"できます。また、リクエストの多重度を指定することができます。" + +#: ../../../source/executables/grnslap.txt:44 +msgid "" +"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" +"それらのリクエストを順次行います。" +msgstr "" +"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" +"それらのリクエストを順次行います。" + +#: ../../../source/executables/grntest.txt:29 +msgid "" +"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" +"れません。" +msgstr "" +"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" +"れません。" + +#: ../../../source/executables/groonga.txt:126 +msgid "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" +msgstr "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" + +#: ../../../source/executables/grntest.txt:98 +msgid "grntest命令" +msgstr "grntest命令" + +#: ../../../source/executables/grntest.txt:83 +msgid "test-ユーザ名-数字.log" +msgstr "test-ユーザ名-数字.log" + +#: ../../../source/executables/http.txt:56 +msgid "output_typeの指定に従って、コマンドの実行結果を出力します。" +msgstr "output_typeの指定に従って、コマンドの実行結果を出力します。" + +#: ../../../source/executables/grntest.txt:61 +msgid "" +"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" +msgstr "" +"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" + +#: ../../../source/executables/groonga.txt:160 +msgid "以下のコマンドは組み込みコマンドとして予め定義されています。" +msgstr "以下のコマンドは組み込みコマンドとして予め定義されています。" + +#: ../../../source/executables/groonga.txt:89 +msgid "" +"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" +"groonga.logです)" +msgstr "" +"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" +"groonga.logです)" + +#: ../../../source/executables/http.txt:33 +msgid "" +"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" +"す。" +msgstr "" +"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" +"す。" + +#: ../../../source/executables/grnslap.txt:32 +#: ../../../source/executables/grntest.txt:32 +#: ../../../source/executables/groonga.txt:27 +msgid "オプション" +msgstr "オプション" + +#: ../../../source/executables/groonga.txt:105 +msgid "" +"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" +"ます。::" +msgstr "" +"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" +"ます。::" + +#: ../../../source/executables/groonga.txt:221 +msgid "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" +msgstr "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" + +#: ../../../source/executables/groonga.txt:225 +msgid "サーバを起動します。::" +msgstr "サーバを起動します。::" + +#: ../../../source/executables/groonga.txt:23 +msgid "" +"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" +"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" +"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" +"の使い方について説明します。" +msgstr "" +"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" +"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" +"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" +"の使い方について説明します。" + +#: ../../../source/executables/groonga.txt:163 +msgid "groongaプロセスの状態を表示します。" +msgstr "groongaプロセスの状態を表示します。" + +#: ../../../source/executables/grnslap.txt:42 +msgid "`gqtp`" +msgstr "`gqtp`" + +#: ../../../source/executables/grntest.txt:153 +msgid "コメント行。" +msgstr "コメント行。" + +#: ../../../source/executables/grntest.txt:102 +msgid "do_local コマンドファイル [スレッド数] [繰り返し数]" +msgstr "do_local コマンドファイル [スレッド数] [繰り返し数]" + +#: ../../../source/executables/grntest.txt:126 +msgid "out_gqtp コマンドファイル 出力ファイル名" +msgstr "out_gqtp コマンドファイル 出力ファイル名" + +#: ../../../source/executables/grntest.txt:128 +msgid "" +"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" +"す。" +msgstr "" +"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" +"す。" + +#: ../../../source/executables/groonga.txt:175 +msgid "テーブルにカラムを追加します。" +msgstr "テーブルにカラムを追加します。" + +#: ../../../source/executables/http.txt:35 +msgid "形式1: コマンド名 値1 値2,.." +msgstr "形式1: コマンド名 値1 値2,.." + +#: ../../../source/executables/groonga.txt:214 +msgid "新しいデータベースを作成します。::" +msgstr "新しいデータベースを作成します。::" + +#: ../../../source/executables/grntest.txt:175 +msgid "例えば、" +msgstr "例えば、" + +#: ../../../source/executables/http.txt:37 +msgid "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." +msgstr "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." + +#: ../../../source/executables/groonga.txt:202 +msgid "ログ出力レベルを設定します。" +msgstr "ログ出力レベルを設定します。" + +#: ../../../source/executables/groonga.txt:75 +msgid "ヘルプメッセージを出力します。" +msgstr "ヘルプメッセージを出力します。" + +#: ../../../source/executables/grntest.txt:144 +msgid "" +"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " +"10 10; do_local test.status 10" +msgstr "" +"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " +"10 10; do_local test.status 10" + +#: ../../../source/executables/groonga.txt:169 +msgid "テーブルに定義されているカラムのリストを表示します。" +msgstr "テーブルに定義されているカラムのリストを表示します。" + +#: ../../../source/executables/groonga.txt:184 +msgid "VIEW型のテーブルに要素となるテーブルを定義します。" +msgstr "VIEW型のテーブルに要素となるテーブルを定義します。" + +#: ../../../source/executables/grnslap.txt:27 +msgid "" +"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" +"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" +"ことができます。" +msgstr "" +"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" +"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" +"ことができます。" + +#: ../../../source/executables/http.txt:31 +msgid "" +"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" +"な引数である「output_type」と「command_version」があります。" +msgstr "" +"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" +"な引数である「output_type」と「command_version」があります。" + +#: ../../../source/executables/http.txt:22 +msgid "" +"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" +"可能になります。また、--document-root によって静的ページのパスを指定すると、" +"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" +"す。" +msgstr "" +"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" +"可能になります。また、--document-root によって静的ページのパスを指定すると、" +"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" +"す。" + +#: ../../../source/executables/groonga.txt:199 +msgid "サーバ(デーモン)プロセスを停止します。" +msgstr "サーバ(デーモン)プロセスを停止します。" + +#: ../../../source/executables/grntest.txt:53 +msgid "" +"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" +"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" +"きます。" +msgstr "" +"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" +"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" +"きます。" + +#: ../../../source/executables/grnslap.txt:64 +msgid "" +"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " +"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " +"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " +"etime=0.012511" +msgstr "" +"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " +"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " +"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " +"etime=0.012511" + +#: ../../../source/executables/http.txt:24 +msgid "" +"groongaにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。--" +"document-rootを指定しない場合は管理ツールがインストールされているパスが指定さ" +"れたとみなされますので、ウェブブラウザでhttp://hostname:port/にアクセスする" +"と、管理ツールを利用できます。" +msgstr "" +"groongaにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。--" +"document-rootを指定しない場合は管理ツールがインストールされているパスが指定さ" +"れたとみなされますので、ウェブブラウザでhttp://hostname:port/にアクセスする" +"と、管理ツールを利用できます。" + +#: ../../../source/executables/groonga.txt:172 +msgid "DBにテーブルを追加します。" +msgstr "DBにテーブルを追加します。" + +#: ../../../source/executables/grntest.txt:273 +msgid "" +"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" +"す。" +msgstr "" +"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" +"す。" + +#: ../../../source/executables/groonga.txt:158 +msgid "組み込みコマンド" +msgstr "組み込みコマンド" + +#: ../../../source/executables/groonga.txt:97 +msgid "" +"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" +"です)" +msgstr "" +"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" +"です)" + +#: ../../../source/executables/grntest.txt:89 +msgid "スクリプトファイル" +msgstr "スクリプトファイル" + +#: ../../../source/executables/groonga.txt:39 +msgid "サーバモードで実行します。" +msgstr "サーバモードで実行します。" + +#: ../../../source/executables/groonga.txt:35 +msgid "クライアントモードで実行します。" +msgstr "クライアントモードで実行します。" + +#: ../../../source/executables/grntest.txt:259 +msgid "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" +msgstr "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" + +#: ../../../source/executables/grntest.txt:137 +msgid "" +"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" +"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:" +"`commands` を参照してください。" +msgstr "" +"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" +"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:" +"`commands` を参照してください。" + +#: ../../../source/executables/groonga.txt:133 +msgid "使用するデータベースのパス名を指定します。" +msgstr "使用するデータベースのパス名を指定します。" + +#: ../../../source/executables/grntest.txt:108 +msgid "" +"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" +"do_localの場合と同じです。" +msgstr "" +"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" +"do_localの場合と同じです。" + +#: ../../../source/executables/grntest.txt:91 +msgid "" +"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" +"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" +"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" +"として扱われます。" +msgstr "" +"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" +"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" +"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" +"として扱われます。" + +#: ../../../source/executables/grntest.txt:202 +msgid "" +"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " +"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " +"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " +"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " +"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" +"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " +"\"table_create res_table --key_type ShortText\", 1490, 3086, " +"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" +"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " +"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " +"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " +"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " +"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " +"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " +"\"table_create thread_table --key_type ShortText\", 13289, 14541, " +"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " +"thread_title_column --type ShortText\", 14570, 17380, [0,12 " +"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " +"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" +"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " +"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " +"inv_res_column 514 res_table res_column \", 18998, 33248, " +"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " +"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " +"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " +"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" +"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " +"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " +"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" +"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " +"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " +"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " +"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" +"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" +"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " +"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" +msgstr "" +"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " +"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " +"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " +"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " +"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" +"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " +"\"table_create res_table --key_type ShortText\", 1490, 3086, " +"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" +"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " +"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " +"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " +"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " +"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " +"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " +"\"table_create thread_table --key_type ShortText\", 13289, 14541, " +"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " +"thread_title_column --type ShortText\", 14570, 17380, [0,12 " +"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " +"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" +"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " +"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " +"inv_res_column 514 res_table res_column \", 18998, 33248, " +"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " +"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " +"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " +"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" +"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " +"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " +"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" +"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " +"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " +"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " +"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" +"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" +"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " +"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" + +#: ../../../source/executables/groonga.txt:219 +msgid "作成済みのデータベースにテーブルを定義します。::" +msgstr "作成済みのデータベースにテーブルを定義します。::" + +#: ../../../source/executables/groonga.txt:66 +msgid "" +"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" +"トは10041番)" +msgstr "" +"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" +"トは10041番)" + +#: ../../../source/executables/grntest.txt:164 +msgid "" +"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" +"サポートされている特殊命令は以下の二つです。" +msgstr "" +"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" +"サポートされている特殊命令は以下の二つです。" + +#: sphinx-built-in-message:0 +msgid "groonga < コマンドファイル > 出力ファイル" +msgstr "groonga < コマンドファイル > 出力ファイル" + +#: ../../../source/executables/grnslap.txt:18 +msgid "grnslap [options] [dest]" +msgstr "grnslap [options] [dest]" + +#: ../../../source/executables/grntest.txt:181 +msgid "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" +msgstr "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" + +#: ../../../source/executables/grntest.txt:167 +msgid "" +"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" +"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" +"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" +"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" +"ションで指定した場合と同様です。" +msgstr "" +"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" +"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" +"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" +"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" +"ションで指定した場合と同様です。" + +#: ../../../source/executables/grntest.txt:118 +msgid "out_local コマンドファイル 入力ファイル名" +msgstr "out_local コマンドファイル 入力ファイル名" + +#: ../../../source/executables/grnslap.txt:38 +msgid "`http`" +msgstr "`http`" + +#: ../../../source/executables/grnslap.txt:21 +#: ../../../source/executables/grntest.txt:21 +#: ../../../source/executables/groonga.txt:21 +#: ../../../source/executables/http.txt:20 +msgid "説明" +msgstr "説明" + +#: ../../../source/executables/groonga.txt:212 +msgid "例" +msgstr "例" + +#: ../../../source/executables/http.txt:43 +msgid "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." +msgstr "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." + +#: ../../../source/executables/grntest.txt:35 +msgid "" +"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" +"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" +"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" +"動して接続します。" +msgstr "" +"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" +"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" +"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" +"動して接続します。" + +#: ../../../source/executables/groonga.txt:187 +msgid "テーブルにレコードを挿入します。" +msgstr "テーブルにレコードを挿入します。" + +#: ../../../source/executables/http.txt:47 +msgid "GETメソッドのみが使用可能です。" +msgstr "GETメソッドのみが使用可能です。" + +#: ../../../source/executables/groonga.txt:51 +msgid "" +"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" +"が出力されます。" +msgstr "" +"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" +"が出力されます。" + +#: ../../../source/executables/grnslap.txt:40 +msgid "" +"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" +"で標準入力に与えると、それらのパスに順次アクセスします。" +msgstr "" +"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" +"で標準入力に与えると、それらのパスに順次アクセスします。" + +#: ../../../source/executables/grntest.txt:25 +msgid "" +"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" +"用する場合の動作確認や実行速度測定が可能です。" +msgstr "" +"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" +"用する場合の動作確認や実行速度測定が可能です。" + +#: ../../../source/executables/groonga.txt:122 +msgid "キャッシュ数の最大値を指定します。(デフォルトは100です)" +msgstr "キャッシュ数の最大値を指定します。(デフォルトは100です)" + +#: ../../../source/executables/grnslap.txt:60 +msgid "http://localhost:10041/d/status に、多重度100でリクエストを行う。" +msgstr "http://localhost:10041/d/status に、多重度100でリクエストを行う。" + +#: ../../../source/executables/grntest.txt:27 +msgid "" +"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" +"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" +"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" +msgstr "" +"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" +"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" +"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" + +#: ../../../source/executables/grntest.txt:135 +msgid "コマンドファイル" +msgstr "コマンドファイル" + +#: ../../../source/executables/groonga.txt:216 +msgid "% groonga -n /tmp/hoge.db quit %" +msgstr "% groonga -n /tmp/hoge.db quit %" + +#: ../../../source/executables/groonga.txt:193 +msgid "検索条件をカスタマイズした新たな検索コマンドを定義します。" +msgstr "検索条件をカスタマイズした新たな検索コマンドを定義します。" + +#: ../../../source/executables/groonga.txt:107 +msgid "" +"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" +"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" +"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" +"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " +"# ただし、キーが'config-path'のオプションは無視される。" +msgstr "" +"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" +"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" +"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" +"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " +"# ただし、キーが'config-path'のオプションは無視される。" + +#: ../../../source/executables/grntest.txt:271 +msgid "" +"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" +"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" +"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" +"す。" +msgstr "" +"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" +"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" +"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" +"す。" + +#: ../../../source/executables/grntest.txt:150 +msgid "上記の意味は以下のとおりです。" +msgstr "上記の意味は以下のとおりです。" + +#: ../../../source/executables.txt:6 +msgid "実行ファイル" +msgstr "実行ファイル" + +#: ../../../source/executables/grntest.txt:77 +msgid "まず、シェル上(Windowsならコマンドプロンプト上)で::" +msgstr "まず、シェル上(Windowsならコマンドプロンプト上)で::" + +#: ../../../source/executables/groonga.txt:155 +msgid "" +"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" +"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" +"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" +"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" +"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" +"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" +"を指定します。" +msgstr "" +"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" +"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" +"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" +"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" +"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" +"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" +"を指定します。" + +#: ../../../source/executables/groonga.txt:43 +msgid "デーモンモードで実行します。(forkする点がサーバモードと異なる)" +msgstr "デーモンモードで実行します。(forkする点がサーバモードと異なる)" + +#: ../../../source/executables/groonga.txt:101 +msgid "PIDを保存するパスを指定します。(デフォルトでは保存しません)" +msgstr "PIDを保存するパスを指定します。(デフォルトでは保存しません)" + +#: ../../../source/executables/grnslap.txt:23 +msgid "" +"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" +"チェックするためのツールです。" +msgstr "" +"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" +"チェックするためのツールです。" + +#: ../../../source/executables/groonga.txt:237 +msgid "" +"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," +"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" +msgstr "" +"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," +"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" + +#: ../../../source/executables/grntest.txt:23 +msgid "grntestは、groonga汎用テストツールです。" +msgstr "grntestは、groonga汎用テストツールです。" + +#: ../../../source/executables/grntest.txt:40 +msgid "" +"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" +"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" +"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" +"ください。" +msgstr "" +"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" +"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" +"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" +"ください。" + +#: ../../../source/executables/groonga.txt:227 +msgid "% groonga -d /tmp/hoge.db %" +msgstr "% groonga -d /tmp/hoge.db %" + +#: ../../../source/executables/grntest.txt:197 +msgid "" +"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" +"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" +"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" +"式のテキストです。" +msgstr "" +"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" +"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" +"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" +"式のテキストです。" + +#: ../../../source/executables/grntest.txt:18 +msgid "grntest [options...] [script] [db]" +msgstr "grntest [options...] [script] [db]" + +#: ../../../source/executables/grntest.txt:263 +msgid "トラブルシューティング" +msgstr "トラブルシューティング" + +#: ../../../source/executables/grntest.txt:195 +msgid "grntest実行結果" +msgstr "grntest実行結果" + +#: ../../../source/executables/http.txt:41 +msgid "" +"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" +"す。::" +msgstr "" +"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" +"す。::" + +#: ../../../source/executables/groonga.txt:139 +msgid "" +"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" +"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" +"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" +"ます。" +msgstr "" +"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" +"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" +"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" +"ます。" + +#: ../../../source/executables/groonga.txt:135 +msgid "" +"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" +"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" +"とします。" +msgstr "" +"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" +"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" +"とします。" + +#: ../../../source/executables/grntest.txt:68 +msgid "" +"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" +"す。拡張子は.scrです。" +msgstr "" +"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" +"す。拡張子は.scrです。" + +#: ../../../source/executables/http.txt:29 +msgid "" +"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" +"同じコマンドが使用できます。" +msgstr "" +"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" +"同じコマンドが使用できます。" + +#: ../../../source/executables/grntest.txt:162 +msgid "特殊命令" +msgstr "特殊命令" + +#: ../../../source/executables/groonga.txt:31 +msgid "新たなデータベースを作成します。" +msgstr "新たなデータベースを作成します。" + +#: ../../../source/executables/grnslap.txt:11 +msgid "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" +msgstr "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" + +#: ../../../source/executables/grntest.txt:185 +msgid "" +"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " +"10 10; rep_local test.status 10 #SET_PORT 10400" +msgstr "" +"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " +"10 10; rep_local test.status 10 #SET_PORT 10400" + +#: ../../../source/executables/http.txt:6 +#: ../../../source/executables/http.txt:11 +msgid "groonga HTTPサービス" +msgstr "groonga HTTPサービス" + +#: ../../../source/executables/http.txt:51 +msgid "" +"command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:" +"`command_version` を参照してください。" +msgstr "" +"command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:" +"`command_version` を参照してください。" + +#: ../../../source/executables/grnslap.txt:51 +#: ../../../source/executables/grntest.txt:64 +#: ../../../source/executables/groonga.txt:129 +msgid "引数" +msgstr "引数" + +#: ../../../source/executables/grntest.txt:76 +msgid "使い方" +msgstr "使い方" + +#: ../../../source/executables/groonga.txt:178 +msgid "DBに定義されているテーブルを削除します。" +msgstr "DBに定義されているテーブルを削除します。" + +#: ../../../source/executables/grntest.txt:120 +msgid "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" +"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" +"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" +"のものです。grntestではコメントが利用できる以外、::" +msgstr "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" +"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" +"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" +"のものです。grntestではコメントが利用できる以外、::" + +#: ../../../source/executables/grntest.txt:267 +msgid "" +"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" +"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" +"grntestは正常に動作しません。" +msgstr "" +"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" +"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" +"grntestは正常に動作しません。" + +#: ../../../source/executables/grntest.txt:116 +msgid "" +"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" +"数や繰り返し数の意味はdo_localと 同じです。" +msgstr "" +"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" +"数や繰り返し数の意味はdo_localと 同じです。" + +#: ../../../source/executables/groonga.txt:230 +msgid "httpサーバとして起動します。::" +msgstr "httpサーバとして起動します。::" + +#: ../../../source/executables/grnslap.txt:55 +msgid "" +"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" +"ポート番号を指定しない場合には、10041が指定されたものとします。" +msgstr "" +"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" +"ポート番号を指定しない場合には、10041が指定されたものとします。" + +#: ../../../source/executables/http.txt:54 +msgid "返値" +msgstr "返値" + +#: ../../../source/executables/grnslap.txt:9 +#: ../../../source/executables/grntest.txt:9 +#: ../../../source/executables/groonga.txt:9 +#: ../../../source/executables/http.txt:9 +msgid "名前" +msgstr "名前" + +#: ../../../source/executables/groonga.txt:47 +msgid "" +"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" +"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" +"定できます。" +msgstr "" +"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" +"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" +"定できます。" + +#: ../../../source/executables/groonga.txt:196 +msgid "データベースとのセッションを終了します。" +msgstr "データベースとのセッションを終了します。" + +#: ../../../source/executables/grntest.txt:104 +msgid "" +"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" +"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" +"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" +"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" +"ル 1 [繰り返し数]と明示的に指定してください。" +msgstr "" +"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" +"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" +"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" +"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" +"ル 1 [繰り返し数]と明示的に指定してください。" + +#: ../../../source/executables/grntest.txt:72 +msgid "" +"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" +"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" +"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" +"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" +"ることに注意してください。" +msgstr "" +"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" +"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" +"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" +"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" +"ることに注意してください。" + +#: ../../../source/executables/groonga.txt:6 +msgid "groonga実行ファイル" +msgstr "groonga実行ファイル" + +#: ../../../source/executables/groonga.txt:142 +#: ../../../source/executables/http.txt:27 +msgid "コマンド" +msgstr "コマンド" + +#: ../../../source/executables/grntest.txt:257 +msgid "" +"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" +"ド数の合計は最大64までに制限されます。" +msgstr "" +"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" +"ド数の合計は最大64までに制限されます。" + +#: ../../../source/executables/groonga.txt:205 +msgid "ログ出力を行います。" +msgstr "ログ出力を行います。" + +#: ../../../source/executables/groonga.txt:190 +msgid "テーブルに含まれるレコードを検索して表示します。" +msgstr "テーブルに含まれるレコードを検索して表示します。" + +#: ../../../source/executables/grntest.txt:269 +msgid "" +"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" +"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" +"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" +"ます。" +msgstr "" +"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" +"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" +"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" +"ます。" + +#: ../../../source/executables/grntest.txt:155 +msgid "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" +msgstr "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" + +#: ../../../source/executables/groonga.txt:235 +msgid "サーバに接続し、テーブル一覧を表示します。::" +msgstr "サーバに接続し、テーブル一覧を表示します。::" + +#: ../../../source/executables/groonga.txt:149 +msgid "" +"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" +"2,.." +msgstr "" +"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" +"2,.." + +#: ../../../source/executables/grntest.txt:110 +msgid "rep_local コマンドファイル [スレッド数] [繰り返し数]" +msgstr "rep_local コマンドファイル [スレッド数] [繰り返し数]" + +#: ../../../source/executables/grntest.txt:131 +msgid "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" +"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." +"diffというファイルに書きだします。" +msgstr "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" +"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." +"diffというファイルに書きだします。" + +#: ../../../source/executables/groonga.txt:71 +msgid "" +"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" +"ます。(デフォルトは`hostname`の返すホスト名)" +msgstr "" +"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" +"ます。(デフォルトは`hostname`の返すホスト名)" + +#: ../../../source/executables/http.txt:45 +msgid "ただし、コマンド名、引数名、値はURLエンコードが必要です。" +msgstr "ただし、コマンド名、引数名、値はURLエンコードが必要です。" + +#: ../../../source/executables/groonga.txt:153 +msgid "" +"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" +"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" +"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" +"を指定することが可能で、途中の引数の指定を省略することもできます。" +msgstr "" +"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" +"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" +"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" +"を指定することが可能で、途中の引数の指定を省略することもできます。" + +#: ../../../source/executables/groonga.txt:11 +msgid "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" +msgstr "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" + +#: ../../../source/executables/grntest.txt:114 +msgid "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" +msgstr "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" + +#: ../../../source/executables/grntest.txt:57 +msgid "" +"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" +"ドを探します。" +msgstr "" +"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" +"ドを探します。" + +#: ../../../source/executables/grntest.txt:191 +msgid "" +"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" +msgstr "" +"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" + +#: ../../../source/executables/groonga.txt:208 +msgid "ロックを解除します。" +msgstr "ロックを解除します。" + +#: ../../../source/executables/http.txt:17 +msgid "groonga -d --protocol http DB_PATH" +msgstr "groonga -d --protocol http DB_PATH" + +#: ../../../source/executables/grnslap.txt:14 +#: ../../../source/executables/grntest.txt:14 +#: ../../../source/executables/groonga.txt:14 +#: ../../../source/executables/http.txt:14 +msgid "書式" +msgstr "書式" + +#: ../../../source/executables/groonga.txt:62 +msgid "" +"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" +"(デフォルトは `hostname` の返すホスト名)" +msgstr "" +"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" +"(デフォルトは `hostname` の返すホスト名)" + +#: ../../../source/executables/grntest.txt:79 +msgid "grntest test.scr 任意のDB名" +msgstr "grntest test.scr 任意のDB名" + +#: ../../../source/executables/grntest.txt:112 +msgid "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" +msgstr "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" + +#: ../../../source/executables/http.txt:49 +msgid "output_typeにはjson, tsv, xmlが指定可能です。" +msgstr "output_typeにはjson, tsv, xmlが指定可能です。" + +#: ../../../source/executables/grntest.txt:45 +msgid "ftp.groonga.org に用意されているスクリプトファイルを表示します。" +msgstr "ftp.groonga.org に用意されているスクリプトファイルを表示します。" + +#: ../../../source/executables/grntest.txt:85 +msgid "" +"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" +"ラブルシューティング」の章を参照してください。" +msgstr "" +"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" +"ラブルシューティング」の章を参照してください。" + +#: ../../../source/executables/groonga.txt:79 +msgid "" +"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" +"します。" +msgstr "" +"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" +"します。" + +#: ../../../source/executables/grntest.txt:106 +msgid "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" +msgstr "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" + +#: ../../../source/executables/groonga.txt:181 +msgid "テーブルに定義されているカラムを削除します。" +msgstr "テーブルに定義されているカラムを削除します。" Modified: doc/locale/en/LC_MESSAGES/expr.po (+74 -71) =================================================================== --- doc/locale/en/LC_MESSAGES/expr.po 2011-06-28 14:48:48 +0000 (8e3cf66) +++ doc/locale/en/LC_MESSAGES/expr.po 2011-06-28 15:04:00 +0000 (89f1a08) @@ -1,59 +1,74 @@ -msgid "型名・関数名・テーブル名" -msgstr "型名・関数名・テーブル名" - -msgid "引数名" -msgstr "引数名" - -msgid "カラム名" -msgstr "カラム名" - -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:53+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/expr.txt:6 -msgid "grn_expr" -msgstr "grn_expr" +#: sphinx-built-in-message:0 +msgid "カラム名" +msgstr "カラム名" + +#: ../../../source/expr.txt:16 +msgid "" +"grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構" +"造の形式です。" +msgstr "" +"grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構" +"造の形式です。" + +#: sphinx-built-in-message:0 +msgid "引数名" +msgstr "引数名" + +#: ../../../source/expr.txt:41 +msgid "script形式でcolumn1の値が'hoge'に等しいという条件" +msgstr "script形式でcolumn1の値が'hoge'に等しいという条件" + +#: sphinx-built-in-message:0 +msgid "型名・関数名・テーブル名" +msgstr "型名・関数名・テーブル名" #: ../../../source/expr.txt:9 msgid "名前" msgstr "名前" -#: ../../../source/expr.txt:11 -msgid "" -"grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:\"ぐるん" -"しき\")" -msgstr "" -"grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:\"ぐるん" -"しき\")" +#: ../../../source/expr.txt:43 +msgid "column1 == \"hoge\"" +msgstr "column1 == \"hoge\"" + +#: ../../../source/expr.txt:39 +msgid "例" +msgstr "例" + +#: ../../../source/expr.txt:25 +msgid "ECMAScript風の構文で検索条件やレコードへの操作を記述します。" +msgstr "ECMAScript風の構文で検索条件やレコードへの操作を記述します。" + +#: ../../../source/expr.txt:23 +msgid "script形式のgrn_expr" +msgstr "script形式のgrn_expr" + +#: ../../../source/expr.txt:33 +msgid "操作対象としているレコードのカラム名" +msgstr "操作対象としているレコードのカラム名" #: ../../../source/expr.txt:14 msgid "説明" msgstr "説明" -#: ../../../source/expr.txt:16 -msgid "" -"grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構" -"造の形式です。" -msgstr "" -"grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構" -"造の形式です。" - #: ../../../source/expr.txt:18 msgid "" "データベースの中から特定の条件を満たすレコードを取り出すために、様々な条件を" @@ -76,6 +91,26 @@ msgstr "" "しています。grn_expr_parseでパースできる文字列を特にscript形式のgrn_exprと呼" "びます。" +#: ../../../source/expr.txt:6 +msgid "grn_expr" +msgstr "grn_expr" + +#: ../../../source/expr.txt:36 +msgid "データベースに定義された型・テーブル・関数の名前" +msgstr "データベースに定義された型・テーブル・関数の名前" + +#: ../../../source/expr.txt:45 +msgid "脚注" +msgstr "脚注" + +#: ../../../source/expr.txt:27 +msgid "式中のIDENTIFIER(識別子)は、以下のいずれかを指します。" +msgstr "式中のIDENTIFIER(識別子)は、以下のいずれかを指します。" + +#: ../../../source/expr.txt:30 +msgid "grn_exprが受け取る引数の名前" +msgstr "grn_exprが受け取る引数の名前" + #: ../../../source/expr.txt:20 msgid "" "grn_exprを使うことによって非常に柔軟に検索条件を記述することができます。類似" @@ -92,42 +127,10 @@ msgstr "" "うな機能も、grn_exprとgrn_table_select()API関数を組み合わせることによって自由" "に定義できます。" -#: ../../../source/expr.txt:23 -msgid "script形式のgrn_expr" -msgstr "script形式のgrn_expr" - -#: ../../../source/expr.txt:25 -msgid "ECMAScript風の構文で検索条件やレコードへの操作を記述します。" -msgstr "ECMAScript風の構文で検索条件やレコードへの操作を記述します。" - -#: ../../../source/expr.txt:27 -msgid "式中のIDENTIFIER(識別子)は、以下のいずれかを指します。" -msgstr "式中のIDENTIFIER(識別子)は、以下のいずれかを指します。" - -#: ../../../source/expr.txt:30 -msgid "grn_exprが受け取る引数の名前" -msgstr "grn_exprが受け取る引数の名前" - -#: ../../../source/expr.txt:33 -msgid "操作対象としているレコードのカラム名" -msgstr "操作対象としているレコードのカラム名" - -#: ../../../source/expr.txt:36 -msgid "データベースに定義された型・テーブル・関数の名前" -msgstr "データベースに定義された型・テーブル・関数の名前" - -#: ../../../source/expr.txt:39 -msgid "例" -msgstr "例" - -#: ../../../source/expr.txt:41 -msgid "script形式でcolumn1の値が'hoge'に等しいという条件" -msgstr "script形式でcolumn1の値が'hoge'に等しいという条件" - -#: ../../../source/expr.txt:43 -msgid "column1 == \"hoge\"" -msgstr "column1 == \"hoge\"" - -#: ../../../source/expr.txt:45 -msgid "脚注" -msgstr "脚注" +#: ../../../source/expr.txt:11 +msgid "" +"grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:\"ぐるん" +"しき\")" +msgstr "" +"grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:\"ぐるん" +"しき\")" Modified: doc/locale/en/LC_MESSAGES/functions.po (+285 -285) =================================================================== --- doc/locale/en/LC_MESSAGES/functions.po 2011-06-28 14:48:48 +0000 (186edc8) +++ doc/locale/en/LC_MESSAGES/functions.po 2011-06-28 15:04:00 +0000 (8915d8c) @@ -1,53 +1,51 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/functions.txt:6 -msgid "組み込み関数一覧" -msgstr "組み込み関数一覧" - -#: ../../../source/functions/edit_distance.txt:6 -msgid "edit_distance" -msgstr "edit_distance" +#: ../../../source/functions/geo_distance.txt:22 +msgid "" +"groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script" +"形式のgrn_expr中で呼び出すことができます。" +msgstr "" +"groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script" +"形式のgrn_expr中で呼び出すことができます。" -#: ../../../source/functions/edit_distance.txt:9 -#: ../../../source/functions/geo_distance.txt:9 -#: ../../../source/functions/geo_in_circle.txt:9 -#: ../../../source/functions/geo_in_rectangle.txt:9 -#: ../../../source/functions/now.txt:9 ../../../source/functions/rand.txt:9 -msgid "名前" -msgstr "名前" +#: ../../../source/functions/geo_distance.txt:11 +msgid "geo_distance - 指定した2点の距離を計算する" +msgstr "geo_distance - 指定した2点の距離を計算する" -#: ../../../source/functions/edit_distance.txt:11 -msgid "edit_distance - 指定した2つの文字列の編集距離を計算する" -msgstr "edit_distance - 指定した2つの文字列の編集距離を計算する" +#: ../../../source/functions/geo_in_circle.txt:6 +msgid "geo_in_circle" +msgstr "geo_in_circle" -#: ../../../source/functions/edit_distance.txt:14 -#: ../../../source/functions/geo_distance.txt:14 -#: ../../../source/functions/geo_in_circle.txt:14 -#: ../../../source/functions/geo_in_rectangle.txt:14 -#: ../../../source/functions/now.txt:14 ../../../source/functions/rand.txt:14 -msgid "書式" -msgstr "書式" +#: ../../../source/functions/geo_in_circle.txt:17 +msgid "geo_in_circle(point, center, radious_or_point)" +msgstr "geo_in_circle(point, center, radious_or_point)" -#: ../../../source/functions/edit_distance.txt:17 -msgid "edit_distance(string1, string2)" -msgstr "edit_distance(string1, string2)" +#: ../../../source/functions/geo_in_circle.txt:39 +msgid "" +"円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定された" +"ものとみなします。 Point型の値、あるいは座標を示す文字列を指定した場合は、円" +"周上の点の一つの座標が指定されたものとみなします。" +msgstr "" +"円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定された" +"ものとみなします。 Point型の値、あるいは座標を示す文字列を指定した場合は、円" +"周上の点の一つの座標が指定されたものとみなします。" #: ../../../source/functions/edit_distance.txt:20 #: ../../../source/functions/geo_distance.txt:20 @@ -57,21 +55,21 @@ msgstr "edit_distance(string1, string2)" msgid "説明" msgstr "説明" -#: ../../../source/functions/edit_distance.txt:22 -msgid "" -"groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、" -"script形式のgrn_expr中で呼び出すことができます。" -msgstr "" -"groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、" -"script形式のgrn_expr中で呼び出すことができます。" +#: ../../../source/functions/edit_distance.txt:44 +#: ../../../source/functions/geo_distance.txt:45 +#: ../../../source/functions/geo_in_circle.txt:48 +#: ../../../source/functions/geo_in_rectangle.txt:47 +#: ../../../source/functions/now.txt:32 ../../../source/functions/rand.txt:39 +msgid "例" +msgstr "例" -#: ../../../source/functions/edit_distance.txt:24 -msgid "" -"edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間" -"の編集距離を求めます。" -msgstr "" -"edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間" -"の編集距離を求めます。" +#: ../../../source/functions/now.txt:24 +msgid "now() 関数は現在時刻に対応するTime型の値を返します。" +msgstr "now() 関数は現在時刻に対応するTime型の値を返します。" + +#: ../../../source/functions/rand.txt:17 +msgid "rand([max])" +msgstr "rand([max])" #: ../../../source/functions/edit_distance.txt:27 #: ../../../source/functions/geo_distance.txt:28 @@ -81,65 +79,112 @@ msgstr "" msgid "引数" msgstr "引数" -#: ../../../source/functions/edit_distance.txt:29 -msgid "``string1``" -msgstr "``string1``" +#: ../../../source/functions/edit_distance.txt:47 +msgid "edit_distance(title, \"hoge\") 1" +msgstr "edit_distance(title, \"hoge\") 1" -#: ../../../source/functions/edit_distance.txt:31 -msgid "文字列を指定します" -msgstr "文字列を指定します" +#: ../../../source/functions/geo_in_rectangle.txt:39 +msgid "" +"矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" +"定できます。" +msgstr "" +"矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" +"定できます。" -#: ../../../source/functions/edit_distance.txt:33 -msgid "``string2``" -msgstr "``string2``" +#: ../../../source/functions.txt:6 +msgid "組み込み関数一覧" +msgstr "組み込み関数一覧" -#: ../../../source/functions/edit_distance.txt:35 -msgid "もうひとつの文字列を指定します" -msgstr "もうひとつの文字列を指定します" +#: ../../../source/functions/geo_in_circle.txt:37 +msgid "``radious_or_point``" +msgstr "``radious_or_point``" -#: ../../../source/functions/edit_distance.txt:39 -#: ../../../source/functions/geo_distance.txt:40 -#: ../../../source/functions/geo_in_circle.txt:43 -#: ../../../source/functions/geo_in_rectangle.txt:42 -#: ../../../source/functions/now.txt:27 ../../../source/functions/rand.txt:34 -msgid "返値" -msgstr "返値" +#: ../../../source/functions/geo_in_rectangle.txt:35 +msgid "" +"矩形の左上隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" +"定できます。" +msgstr "" +"矩形の左上隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" +"定できます。" -#: ../../../source/functions/edit_distance.txt:41 -msgid "指定した2つ文字列の編集距離をUint32型の値として返します。" -msgstr "指定した2つ文字列の編集距離をUint32型の値として返します。" +#: ../../../source/functions/geo_in_circle.txt:29 +#: ../../../source/functions/geo_in_rectangle.txt:29 +msgid "``point``" +msgstr "``point``" -#: ../../../source/functions/edit_distance.txt:44 -#: ../../../source/functions/geo_distance.txt:45 -#: ../../../source/functions/geo_in_circle.txt:48 -#: ../../../source/functions/geo_in_rectangle.txt:47 -#: ../../../source/functions/now.txt:32 ../../../source/functions/rand.txt:39 -msgid "例" -msgstr "例" +#: ../../../source/functions/rand.txt:42 +msgid "rand(10) 3" +msgstr "rand(10) 3" -#: ../../../source/functions/edit_distance.txt:47 -msgid "edit_distance(title, \"hoge\") 1" -msgstr "edit_distance(title, \"hoge\") 1" +#: ../../../source/functions/rand.txt:29 +msgid "``max``" +msgstr "``max``" -#: ../../../source/functions/geo_distance.txt:6 -msgid "geo_distance" -msgstr "geo_distance" +#: ../../../source/functions/edit_distance.txt:24 +msgid "" +"edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間" +"の編集距離を求めます。" +msgstr "" +"edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間" +"の編集距離を求めます。" -#: ../../../source/functions/geo_distance.txt:11 -msgid "geo_distance - 指定した2点の距離を計算する" -msgstr "geo_distance - 指定した2点の距離を計算する" +#: ../../../source/functions/now.txt:22 +msgid "" +"groonga組込関数の一つであるnowについて説明します。組込関数は、script形式の" +"grn_expr中で呼び出すことができます。" +msgstr "" +"groonga組込関数の一つであるnowについて説明します。組込関数は、script形式の" +"grn_expr中で呼び出すことができます。" -#: ../../../source/functions/geo_distance.txt:17 -msgid "geo_distance(point1, point2)" -msgstr "geo_distance(point1, point2)" +#: ../../../source/functions/geo_in_rectangle.txt:37 +msgid "``bottom_right``" +msgstr "``bottom_right``" -#: ../../../source/functions/geo_distance.txt:22 +#: ../../../source/functions/rand.txt:24 +msgid "rand() 関数は 0 から max の間の疑似乱数整数を返します。" +msgstr "rand() 関数は 0 から max の間の疑似乱数整数を返します。" + +#: ../../../source/functions/geo_distance.txt:52 +#: ../../../source/functions/geo_in_circle.txt:55 +#: ../../../source/functions/geo_in_rectangle.txt:54 +msgid "脚注" +msgstr "脚注" + +#: ../../../source/functions/rand.txt:31 msgid "" -"groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script" -"形式のgrn_expr中で呼び出すことができます。" +"返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされ" +"ます。" msgstr "" -"groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script" -"形式のgrn_expr中で呼び出すことができます。" +"返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされ" +"ます。" + +#: ../../../source/functions/geo_in_circle.txt:51 +msgid "geo_in_circle(pos, \"100x100\", 100) true" +msgstr "geo_in_circle(pos, \"100x100\", 100) true" + +#: ../../../source/functions/edit_distance.txt:9 +#: ../../../source/functions/geo_distance.txt:9 +#: ../../../source/functions/geo_in_circle.txt:9 +#: ../../../source/functions/geo_in_rectangle.txt:9 +#: ../../../source/functions/now.txt:9 ../../../source/functions/rand.txt:9 +msgid "名前" +msgstr "名前" + +#: ../../../source/functions/geo_in_rectangle.txt:50 +msgid "geo_in_rectangle(pos, \"150x100\", \"100x150\") true" +msgstr "geo_in_rectangle(pos, \"150x100\", \"100x150\") true" + +#: ../../../source/functions/geo_in_rectangle.txt:33 +msgid "``top_left``" +msgstr "``top_left``" + +#: ../../../source/functions/geo_in_rectangle.txt:31 +msgid "" +"矩形の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定でき" +"ます。 [#]_" +msgstr "" +"矩形の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定でき" +"ます。 [#]_" #: ../../../source/functions/geo_distance.txt:24 msgid "" @@ -153,96 +198,89 @@ msgstr "" "geo_distance2()、geo_distance3()が使用できます。それぞれ、長方形近似、球面近" "似、ヒュベニの距離計算式によって距離を算出します。" -#: ../../../source/functions/geo_distance.txt:30 -msgid "``point1``" -msgstr "``point1``" - #: ../../../source/functions/geo_distance.txt:32 msgid "" "距離を求める2点のうち一つを指定します。GeoPoint型の値を指定できます。 [#]_" msgstr "" "距離を求める2点のうち一つを指定します。GeoPoint型の値を指定できます。 [#]_" -#: ../../../source/functions/geo_distance.txt:34 -msgid "``point2``" -msgstr "``point2``" - -#: ../../../source/functions/geo_distance.txt:36 +#: ../../../source/functions/geo_in_circle.txt:31 msgid "" -"距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す" -"文字列を指定できます。" +"円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できま" +"す。 [#]_" msgstr "" -"距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す" -"文字列を指定できます。" +"円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できま" +"す。 [#]_" -#: ../../../source/functions/geo_distance.txt:42 -msgid "指定した2点の距離をFloat型の値(単位:メートル)として返します。" -msgstr "指定した2点の距離をFloat型の値(単位:メートル)として返します。" +#: ../../../source/functions/edit_distance.txt:31 +msgid "文字列を指定します" +msgstr "文字列を指定します" -#: ../../../source/functions/geo_distance.txt:48 -msgid "geo_distance(pos, \"150x150\") 100" -msgstr "geo_distance(pos, \"150x150\") 100" +#: ../../../source/functions/rand.txt:22 +msgid "" +"groonga組込関数の一つであるrandについて説明します。組込関数は、script形式の" +"grn_expr中で呼び出すことができます。" +msgstr "" +"groonga組込関数の一つであるrandについて説明します。組込関数は、script形式の" +"grn_expr中で呼び出すことができます。" -#: ../../../source/functions/geo_distance.txt:52 -#: ../../../source/functions/geo_in_circle.txt:55 -#: ../../../source/functions/geo_in_rectangle.txt:54 -msgid "脚注" -msgstr "脚注" +#: ../../../source/functions/edit_distance.txt:6 +msgid "edit_distance" +msgstr "edit_distance" -#: ../../../source/functions/geo_distance.txt:53 -#: ../../../source/functions/geo_in_circle.txt:56 -#: ../../../source/functions/geo_in_rectangle.txt:55 -msgid "" -"TokyoGeoPoint(日本測地系座標)かWGS84GeoPoint(世界測地系座標)のいずれかを指定" -"できます。" -msgstr "" -"TokyoGeoPoint(日本測地系座標)かWGS84GeoPoint(世界測地系座標)のいずれかを指定" -"できます。" +#: ../../../source/functions/now.txt:11 +msgid "now - 現在時刻を返す" +msgstr "now - 現在時刻を返す" -#: ../../../source/functions/geo_in_circle.txt:6 -msgid "geo_in_circle" -msgstr "geo_in_circle" +#: ../../../source/functions/rand.txt:6 +msgid "rand" +msgstr "rand" -#: ../../../source/functions/geo_in_circle.txt:11 -msgid "geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。" -msgstr "geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。" +#: ../../../source/functions/edit_distance.txt:17 +msgid "edit_distance(string1, string2)" +msgstr "edit_distance(string1, string2)" -#: ../../../source/functions/geo_in_circle.txt:17 -msgid "geo_in_circle(point, center, radious_or_point)" -msgstr "geo_in_circle(point, center, radious_or_point)" +#: ../../../source/functions/rand.txt:11 +msgid "rand - 乱数を生成する" +msgstr "rand - 乱数を生成する" -#: ../../../source/functions/geo_in_circle.txt:22 +#: ../../../source/functions/geo_distance.txt:42 +msgid "指定した2点の距離をFloat型の値(単位:メートル)として返します。" +msgstr "指定した2点の距離をFloat型の値(単位:メートル)として返します。" + +#: ../../../source/functions/geo_distance.txt:17 +msgid "geo_distance(point1, point2)" +msgstr "geo_distance(point1, point2)" + +#: ../../../source/functions/edit_distance.txt:11 +msgid "edit_distance - 指定した2つの文字列の編集距離を計算する" +msgstr "edit_distance - 指定した2つの文字列の編集距離を計算する" + +#: ../../../source/functions/edit_distance.txt:22 msgid "" -"groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、" +"groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、" "script形式のgrn_expr中で呼び出すことができます。" msgstr "" -"groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、" +"groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、" "script形式のgrn_expr中で呼び出すことができます。" -#: ../../../source/functions/geo_in_circle.txt:24 -msgid "" -"geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とす" -"る円の範囲内にあるかどうかを調べます。" -msgstr "" -"geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とす" -"る円の範囲内にあるかどうかを調べます。" +#: ../../../source/functions/now.txt:17 +msgid "now()" +msgstr "now()" -#: ../../../source/functions/geo_in_circle.txt:29 -#: ../../../source/functions/geo_in_rectangle.txt:29 -msgid "``point``" -msgstr "``point``" +#: ../../../source/functions/geo_in_circle.txt:11 +msgid "geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。" +msgstr "geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。" -#: ../../../source/functions/geo_in_circle.txt:31 +#: ../../../source/functions/geo_distance.txt:53 +#: ../../../source/functions/geo_in_circle.txt:56 +#: ../../../source/functions/geo_in_rectangle.txt:55 msgid "" -"円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できま" -"す。 [#]_" +"TokyoGeoPoint(日本測地系座標)かWGS84GeoPoint(世界測地系座標)のいずれかを指定" +"できます。" msgstr "" -"円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できま" -"す。 [#]_" - -#: ../../../source/functions/geo_in_circle.txt:33 -msgid "``center``" -msgstr "``center``" +"TokyoGeoPoint(日本測地系座標)かWGS84GeoPoint(世界測地系座標)のいずれかを指定" +"できます。" #: ../../../source/functions/geo_in_circle.txt:35 msgid "" @@ -252,169 +290,131 @@ msgstr "" "円の中心となる座標を指定します。Point型の値、あるいは座標を示す文字列を指定で" "きます。" -#: ../../../source/functions/geo_in_circle.txt:37 -msgid "``radious_or_point``" -msgstr "``radious_or_point``" +#: ../../../source/functions/edit_distance.txt:41 +msgid "指定した2つ文字列の編集距離をUint32型の値として返します。" +msgstr "指定した2つ文字列の編集距離をUint32型の値として返します。" -#: ../../../source/functions/geo_in_circle.txt:39 -msgid "" -"円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定された" -"ものとみなします。 Point型の値、あるいは座標を示す文字列を指定した場合は、円" -"周上の点の一つの座標が指定されたものとみなします。" +#: ../../../source/functions/geo_in_rectangle.txt:44 +msgid "pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。" msgstr "" -"円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定された" -"ものとみなします。 Point型の値、あるいは座標を示す文字列を指定した場合は、円" -"周上の点の一つの座標が指定されたものとみなします。" +"pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。" -#: ../../../source/functions/geo_in_circle.txt:45 -msgid "pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。" -msgstr "pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。" +#: ../../../source/functions/edit_distance.txt:33 +msgid "``string2``" +msgstr "``string2``" -#: ../../../source/functions/geo_in_circle.txt:51 -msgid "geo_in_circle(pos, \"100x100\", 100) true" -msgstr "geo_in_circle(pos, \"100x100\", 100) true" +#: ../../../source/functions/edit_distance.txt:35 +msgid "もうひとつの文字列を指定します" +msgstr "もうひとつの文字列を指定します" -#: ../../../source/functions/geo_in_rectangle.txt:6 -msgid "geo_in_rectangle" -msgstr "geo_in_rectangle" +#: ../../../source/functions/edit_distance.txt:39 +#: ../../../source/functions/geo_distance.txt:40 +#: ../../../source/functions/geo_in_circle.txt:43 +#: ../../../source/functions/geo_in_rectangle.txt:42 +#: ../../../source/functions/now.txt:27 ../../../source/functions/rand.txt:34 +msgid "返値" +msgstr "返値" -#: ../../../source/functions/geo_in_rectangle.txt:11 -msgid "geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。" -msgstr "geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。" +#: ../../../source/functions/now.txt:6 +msgid "now" +msgstr "now" #: ../../../source/functions/geo_in_rectangle.txt:17 msgid "geo_in_rectangle(point, top_left, bottom_right)" msgstr "geo_in_rectangle(point, top_left, bottom_right)" -#: ../../../source/functions/geo_in_rectangle.txt:22 -msgid "" -"groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、" -"script形式のgrn_expr中で呼び出すことができます。" -msgstr "" -"groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、" -"script形式のgrn_expr中で呼び出すことができます。" - -#: ../../../source/functions/geo_in_rectangle.txt:24 -msgid "" -"geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがな" -"す矩形の範囲内にあるかどうかを調べます。" -msgstr "" -"geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがな" -"す矩形の範囲内にあるかどうかを調べます。" - -#: ../../../source/functions/geo_in_rectangle.txt:31 -msgid "" -"矩形の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定でき" -"ます。 [#]_" -msgstr "" -"矩形の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定でき" -"ます。 [#]_" - -#: ../../../source/functions/geo_in_rectangle.txt:33 -msgid "``top_left``" -msgstr "``top_left``" - -#: ../../../source/functions/geo_in_rectangle.txt:35 -msgid "" -"矩形の左上隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" -"定できます。" -msgstr "" -"矩形の左上隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" -"定できます。" - -#: ../../../source/functions/geo_in_rectangle.txt:37 -msgid "``bottom_right``" -msgstr "``bottom_right``" - -#: ../../../source/functions/geo_in_rectangle.txt:39 -msgid "" -"矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" -"定できます。" -msgstr "" -"矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指" -"定できます。" +#: ../../../source/functions/geo_distance.txt:48 +msgid "geo_distance(pos, \"150x150\") 100" +msgstr "geo_distance(pos, \"150x150\") 100" -#: ../../../source/functions/geo_in_rectangle.txt:44 -msgid "pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。" -msgstr "" -"pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。" +#: ../../../source/functions/geo_distance.txt:34 +msgid "``point2``" +msgstr "``point2``" -#: ../../../source/functions/geo_in_rectangle.txt:50 -msgid "geo_in_rectangle(pos, \"150x100\", \"100x150\") true" -msgstr "geo_in_rectangle(pos, \"150x100\", \"100x150\") true" +#: ../../../source/functions/geo_distance.txt:30 +msgid "``point1``" +msgstr "``point1``" -#: ../../../source/functions/now.txt:6 -msgid "now" -msgstr "now" +#: ../../../source/functions/geo_distance.txt:6 +msgid "geo_distance" +msgstr "geo_distance" -#: ../../../source/functions/now.txt:11 -msgid "now - 現在時刻を返す" -msgstr "now - 現在時刻を返す" +#: ../../../source/functions/edit_distance.txt:14 +#: ../../../source/functions/geo_distance.txt:14 +#: ../../../source/functions/geo_in_circle.txt:14 +#: ../../../source/functions/geo_in_rectangle.txt:14 +#: ../../../source/functions/now.txt:14 ../../../source/functions/rand.txt:14 +msgid "書式" +msgstr "書式" -#: ../../../source/functions/now.txt:17 -msgid "now()" -msgstr "now()" +#: ../../../source/functions/geo_in_rectangle.txt:6 +msgid "geo_in_rectangle" +msgstr "geo_in_rectangle" -#: ../../../source/functions/now.txt:22 +#: ../../../source/functions/geo_in_circle.txt:22 msgid "" -"groonga組込関数の一つであるnowについて説明します。組込関数は、script形式の" -"grn_expr中で呼び出すことができます。" +"groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、" +"script形式のgrn_expr中で呼び出すことができます。" msgstr "" -"groonga組込関数の一つであるnowについて説明します。組込関数は、script形式の" -"grn_expr中で呼び出すことができます。" - -#: ../../../source/functions/now.txt:24 -msgid "now() 関数は現在時刻に対応するTime型の値を返します。" -msgstr "now() 関数は現在時刻に対応するTime型の値を返します。" +"groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、" +"script形式のgrn_expr中で呼び出すことができます。" #: ../../../source/functions/now.txt:29 msgid "現在時刻に対応するTime型のオブジェクトを返します。" msgstr "現在時刻に対応するTime型のオブジェクトを返します。" -#: ../../../source/functions/now.txt:35 -msgid "now() 1256791194.55541" -msgstr "now() 1256791194.55541" +#: ../../../source/functions/geo_distance.txt:36 +msgid "" +"距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す" +"文字列を指定できます。" +msgstr "" +"距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す" +"文字列を指定できます。" -#: ../../../source/functions/rand.txt:6 -msgid "rand" -msgstr "rand" +#: ../../../source/functions/geo_in_circle.txt:33 +msgid "``center``" +msgstr "``center``" -#: ../../../source/functions/rand.txt:11 -msgid "rand - 乱数を生成する" -msgstr "rand - 乱数を生成する" +#: ../../../source/functions/edit_distance.txt:29 +msgid "``string1``" +msgstr "``string1``" -#: ../../../source/functions/rand.txt:17 -msgid "rand([max])" -msgstr "rand([max])" +#: ../../../source/functions/geo_in_rectangle.txt:24 +msgid "" +"geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがな" +"す矩形の範囲内にあるかどうかを調べます。" +msgstr "" +"geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがな" +"す矩形の範囲内にあるかどうかを調べます。" -#: ../../../source/functions/rand.txt:22 +#: ../../../source/functions/geo_in_rectangle.txt:22 msgid "" -"groonga組込関数の一つであるrandについて説明します。組込関数は、script形式の" -"grn_expr中で呼び出すことができます。" +"groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、" +"script形式のgrn_expr中で呼び出すことができます。" msgstr "" -"groonga組込関数の一つであるrandについて説明します。組込関数は、script形式の" -"grn_expr中で呼び出すことができます。" +"groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、" +"script形式のgrn_expr中で呼び出すことができます。" -#: ../../../source/functions/rand.txt:24 -msgid "rand() 関数は 0 から max の間の疑似乱数整数を返します。" -msgstr "rand() 関数は 0 から max の間の疑似乱数整数を返します。" +#: ../../../source/functions/geo_in_circle.txt:45 +msgid "pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。" +msgstr "pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。" -#: ../../../source/functions/rand.txt:29 -msgid "``max``" -msgstr "``max``" +#: ../../../source/functions/geo_in_rectangle.txt:11 +msgid "geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。" +msgstr "geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。" -#: ../../../source/functions/rand.txt:31 -msgid "" -"返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされ" -"ます。" -msgstr "" -"返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされ" -"ます。" +#: ../../../source/functions/now.txt:35 +msgid "now() 1256791194.55541" +msgstr "now() 1256791194.55541" #: ../../../source/functions/rand.txt:36 msgid "0 と max の間の数を表すInt32型の値を返します。" msgstr "0 と max の間の数を表すInt32型の値を返します。" -#: ../../../source/functions/rand.txt:42 -msgid "rand(10) 3" -msgstr "rand(10) 3" +#: ../../../source/functions/geo_in_circle.txt:24 +msgid "" +"geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とす" +"る円の範囲内にあるかどうかを調べます。" +msgstr "" +"geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とす" +"る円の範囲内にあるかどうかを調べます。" Deleted: doc/locale/en/LC_MESSAGES/grnslap.po (+0 -140) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/grnslap.po 2011-06-28 14:48:48 +0000 (6feba75) +++ /dev/null @@ -1,140 +0,0 @@ -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/grnslap.txt:6 -msgid "grnslap" -msgstr "grnslap" - -#: ../../../source/grnslap.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/grnslap.txt:11 -msgid "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" -msgstr "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" - -#: ../../../source/grnslap.txt:14 -msgid "書式" -msgstr "書式" - -#: ../../../source/grnslap.txt:18 -msgid "grnslap [options] [dest]" -msgstr "grnslap [options] [dest]" - -#: ../../../source/grnslap.txt:21 -msgid "説明" -msgstr "説明" - -#: ../../../source/grnslap.txt:23 -msgid "" -"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" -"チェックするためのツールです。" -msgstr "" -"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" -"チェックするためのツールです。" - -#: ../../../source/grnslap.txt:25 -msgid "" -"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" -"できます。また、リクエストの多重度を指定することができます。" -msgstr "" -"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" -"できます。また、リクエストの多重度を指定することができます。" - -#: ../../../source/grnslap.txt:27 -msgid "" -"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" -"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" -"ことができます。" -msgstr "" -"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" -"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" -"ことができます。" - -#: ../../../source/grnslap.txt:29 -msgid "現在は、make installしてもインストールは行われない。" -msgstr "現在は、make installしてもインストールは行われない。" - -#: ../../../source/grnslap.txt:32 -msgid "オプション" -msgstr "オプション" - -#: ../../../source/grnslap.txt:36 -msgid "リクエストのプロトコルを指定します。" -msgstr "リクエストのプロトコルを指定します。" - -#: ../../../source/grnslap.txt:38 -msgid "`http`" -msgstr "`http`" - -#: ../../../source/grnslap.txt:40 -msgid "" -"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" -"で標準入力に与えると、それらのパスに順次アクセスします。" -msgstr "" -"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" -"で標準入力に与えると、それらのパスに順次アクセスします。" - -#: ../../../source/grnslap.txt:42 -msgid "`gqtp`" -msgstr "`gqtp`" - -#: ../../../source/grnslap.txt:44 -msgid "" -"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" -"それらのリクエストを順次行います。" -msgstr "" -"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" -"それらのリクエストを順次行います。" - -#: ../../../source/grnslap.txt:48 -msgid "リクエストの多重度を指定します。初期値は10です。" -msgstr "リクエストの多重度を指定します。初期値は10です。" - -#: ../../../source/grnslap.txt:51 -msgid "引数" -msgstr "引数" - -#: ../../../source/grnslap.txt:55 -msgid "" -"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" -"ポート番号を指定しない場合には、10041が指定されたものとします。" -msgstr "" -"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" -"ポート番号を指定しない場合には、10041が指定されたものとします。" - -#: ../../../source/grnslap.txt:58 -msgid "サンプル" -msgstr "サンプル" - -#: ../../../source/grnslap.txt:60 -msgid "http://localhost:10041/d/status に、多重度100でリクエストを行う。" -msgstr "http://localhost:10041/d/status に、多重度100でリクエストを行う。" - -#: ../../../source/grnslap.txt:64 -msgid "" -"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " -"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " -"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " -"etime=0.012511" -msgstr "" -"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " -"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " -"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " -"etime=0.012511" Deleted: doc/locale/en/LC_MESSAGES/grntest.po (+0 -604) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/grntest.po 2011-06-28 14:48:48 +0000 (652198a) +++ /dev/null @@ -1,604 +0,0 @@ -msgid "groonga < コマンドファイル > 出力ファイル" -msgstr "groonga < コマンドファイル > 出力ファイル" - -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/grntest.txt:6 -msgid "grntest" -msgstr "grntest" - -#: ../../../source/grntest.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/grntest.txt:11 -msgid "grntest - groongaテストプログラム" -msgstr "grntest - groongaテストプログラム" - -#: ../../../source/grntest.txt:14 -msgid "書式" -msgstr "書式" - -#: ../../../source/grntest.txt:18 -msgid "grntest [options...] [script] [db]" -msgstr "grntest [options...] [script] [db]" - -#: ../../../source/grntest.txt:21 -msgid "説明" -msgstr "説明" - -#: ../../../source/grntest.txt:23 -msgid "grntestは、groonga汎用テストツールです。" -msgstr "grntestは、groonga汎用テストツールです。" - -#: ../../../source/grntest.txt:25 -msgid "" -"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" -"用する場合の動作確認や実行速度測定が可能です。" -msgstr "" -"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" -"用する場合の動作確認や実行速度測定が可能です。" - -#: ../../../source/grntest.txt:27 -msgid "" -"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" -"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" -"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" -msgstr "" -"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" -"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" -"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" - -#: ../../../source/grntest.txt:29 -msgid "" -"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" -"れません。" -msgstr "" -"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" -"れません。" - -#: ../../../source/grntest.txt:32 -msgid "オプション" -msgstr "オプション" - -#: ../../../source/grntest.txt:35 -msgid "" -"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" -"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" -"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" -"動して接続します。" -msgstr "" -"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" -"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" -"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" -"動して接続します。" - -#: ../../../source/grntest.txt:40 -msgid "" -"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" -"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" -"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" -"ください。" -msgstr "" -"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" -"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" -"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" -"ください。" - -#: ../../../source/grntest.txt:45 -msgid "ftp.groonga.org に用意されているスクリプトファイルを表示します。" -msgstr "ftp.groonga.org に用意されているスクリプトファイルを表示します。" - -#: ../../../source/grntest.txt:49 -msgid "" -"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" -"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" -"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" -"意してください。" -msgstr "" -"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" -"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" -"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" -"意してください。" - -#: ../../../source/grntest.txt:53 -msgid "" -"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" -"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" -"きます。" -msgstr "" -"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" -"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" -"きます。" - -#: ../../../source/grntest.txt:57 -msgid "" -"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" -"ドを探します。" -msgstr "" -"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" -"ドを探します。" - -#: ../../../source/grntest.txt:61 -msgid "" -"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" -msgstr "" -"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" - -#: ../../../source/grntest.txt:64 -msgid "引数" -msgstr "引数" - -#: ../../../source/grntest.txt:68 -msgid "" -"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" -"す。拡張子は.scrです。" -msgstr "" -"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" -"す。拡張子は.scrです。" - -#: ../../../source/grntest.txt:72 -msgid "" -"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" -"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" -"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" -"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" -"ることに注意してください。" -msgstr "" -"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" -"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" -"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" -"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" -"ることに注意してください。" - -#: ../../../source/grntest.txt:76 -msgid "使い方" -msgstr "使い方" - -#: ../../../source/grntest.txt:77 -msgid "まず、シェル上(Windowsならコマンドプロンプト上)で::" -msgstr "まず、シェル上(Windowsならコマンドプロンプト上)で::" - -#: ../../../source/grntest.txt:79 -msgid "grntest test.scr 任意のDB名" -msgstr "grntest test.scr 任意のDB名" - -#: ../../../source/grntest.txt:81 -msgid "とタイプしてください。もしgrntestが正常に動作すれば、::" -msgstr "とタイプしてください。もしgrntestが正常に動作すれば、::" - -#: ../../../source/grntest.txt:83 -msgid "test-ユーザ名-数字.log" -msgstr "test-ユーザ名-数字.log" - -#: ../../../source/grntest.txt:85 -msgid "" -"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" -"ラブルシューティング」の章を参照してください。" -msgstr "" -"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" -"ラブルシューティング」の章を参照してください。" - -#: ../../../source/grntest.txt:89 -msgid "スクリプトファイル" -msgstr "スクリプトファイル" - -#: ../../../source/grntest.txt:91 -msgid "" -"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" -"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" -"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" -"として扱われます。" -msgstr "" -"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" -"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" -"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" -"として扱われます。" - -#: ../../../source/grntest.txt:98 -msgid "grntest命令" -msgstr "grntest命令" - -#: ../../../source/grntest.txt:100 -msgid "現在サポートされているgrntest命令は以下の8つです。" -msgstr "現在サポートされているgrntest命令は以下の8つです。" - -#: ../../../source/grntest.txt:102 -msgid "do_local コマンドファイル [スレッド数] [繰り返し数]" -msgstr "do_local コマンドファイル [スレッド数] [繰り返し数]" - -#: ../../../source/grntest.txt:104 -msgid "" -"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" -"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" -"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" -"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" -"ル 1 [繰り返し数]と明示的に指定してください。" -msgstr "" -"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" -"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" -"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" -"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" -"ル 1 [繰り返し数]と明示的に指定してください。" - -#: ../../../source/grntest.txt:106 -msgid "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" -msgstr "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" - -#: ../../../source/grntest.txt:108 -msgid "" -"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" -"do_localの場合と同じです。" -msgstr "" -"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" -"do_localの場合と同じです。" - -#: ../../../source/grntest.txt:110 -msgid "rep_local コマンドファイル [スレッド数] [繰り返し数]" -msgstr "rep_local コマンドファイル [スレッド数] [繰り返し数]" - -#: ../../../source/grntest.txt:112 -msgid "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" -msgstr "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" - -#: ../../../source/grntest.txt:114 -msgid "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" -msgstr "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" - -#: ../../../source/grntest.txt:116 -msgid "" -"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" -"数や繰り返し数の意味はdo_localと 同じです。" -msgstr "" -"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" -"数や繰り返し数の意味はdo_localと 同じです。" - -#: ../../../source/grntest.txt:118 -msgid "out_local コマンドファイル 入力ファイル名" -msgstr "out_local コマンドファイル 入力ファイル名" - -#: ../../../source/grntest.txt:120 -msgid "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" -"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" -"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" -"のものです。grntestではコメントが利用できる以外、::" -msgstr "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" -"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" -"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" -"のものです。grntestではコメントが利用できる以外、::" - -#: ../../../source/grntest.txt:124 -msgid "とした場合と同じです。" -msgstr "とした場合と同じです。" - -#: ../../../source/grntest.txt:126 -msgid "out_gqtp コマンドファイル 出力ファイル名" -msgstr "out_gqtp コマンドファイル 出力ファイル名" - -#: ../../../source/grntest.txt:128 -msgid "" -"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" -"す。" -msgstr "" -"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" -"す。" - -#: ../../../source/grntest.txt:131 -msgid "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" -"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." -"diffというファイルに書きだします。" -msgstr "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" -"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." -"diffというファイルに書きだします。" - -#: ../../../source/grntest.txt:135 -msgid "コマンドファイル" -msgstr "コマンドファイル" - -#: ../../../source/grntest.txt:137 -#, fuzzy -msgid "" -"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" -"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:" -"`commands` を参照してください。" -msgstr "" -"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" -"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :ref:" -"`commands` を参照してください。" - -#: ../../../source/grntest.txt:140 -msgid "サンプル" -msgstr "サンプル" - -#: ../../../source/grntest.txt:142 -msgid "スクリプトファイルのサンプルです。::" -msgstr "スクリプトファイルのサンプルです。::" - -#: ../../../source/grntest.txt:144 -msgid "" -"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " -"10 10; do_local test.status 10" -msgstr "" -"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " -"10 10; do_local test.status 10" - -#: ../../../source/grntest.txt:150 -msgid "上記の意味は以下のとおりです。" -msgstr "上記の意味は以下のとおりです。" - -#: ../../../source/grntest.txt:153 -msgid "コメント行。" -msgstr "コメント行。" - -#: ../../../source/grntest.txt:155 -msgid "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" -msgstr "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" - -#: ../../../source/grntest.txt:157 -msgid "" -"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" -"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" -"令を実行する場合に付与しても問題ありません。)" -msgstr "" -"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" -"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" -"令を実行する場合に付与しても問題ありません。)" - -#: ../../../source/grntest.txt:159 -msgid "" -"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" -"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" -"test.statusというコマンドファイルを10個のスレッドで実行する。" -msgstr "" -"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" -"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" -"test.statusというコマンドファイルを10個のスレッドで実行する。" - -#: ../../../source/grntest.txt:162 -msgid "特殊命令" -msgstr "特殊命令" - -#: ../../../source/grntest.txt:164 -msgid "" -"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" -"サポートされている特殊命令は以下の二つです。" -msgstr "" -"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" -"サポートされている特殊命令は以下の二つです。" - -#: ../../../source/grntest.txt:167 -msgid "" -"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" -"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" -"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" -"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" -"ションで指定した場合と同様です。" -msgstr "" -"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" -"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" -"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" -"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" -"ションで指定した場合と同様です。" - -#: ../../../source/grntest.txt:170 -msgid "" -"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" -"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" -"ンを指定しなかった場合にもSET_PORTが優先されます。" -msgstr "" -"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" -"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" -"ンを指定しなかった場合にもSET_PORTが優先されます。" - -#: ../../../source/grntest.txt:173 -msgid "" -"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" -"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" -msgstr "" -"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" -"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" - -#: ../../../source/grntest.txt:175 -msgid "例えば、" -msgstr "例えば、" - -#: ../../../source/grntest.txt:179 -msgid "$ ./grntest --port 20010 test.scr testdb" -msgstr "$ ./grntest --port 20010 test.scr testdb" - -#: ../../../source/grntest.txt:181 -msgid "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" -msgstr "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" - -#: ../../../source/grntest.txt:185 -msgid "" -"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " -"10 10; rep_local test.status 10 #SET_PORT 10400" -msgstr "" -"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " -"10 10; rep_local test.status 10 #SET_PORT 10400" - -#: ../../../source/grntest.txt:191 -msgid "" -"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" -msgstr "" -"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" - -#: ../../../source/grntest.txt:195 -msgid "grntest実行結果" -msgstr "grntest実行結果" - -#: ../../../source/grntest.txt:197 -msgid "" -"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" -"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" -"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" -"式のテキストです。" -msgstr "" -"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" -"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" -"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" -"式のテキストです。" - -#: ../../../source/grntest.txt:202 -msgid "" -"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " -"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " -"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " -"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " -"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" -"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " -"\"table_create res_table --key_type ShortText\", 1490, 3086, " -"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" -"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " -"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " -"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " -"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " -"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " -"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " -"\"table_create thread_table --key_type ShortText\", 13289, 14541, " -"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " -"thread_title_column --type ShortText\", 14570, 17380, [0,12 " -"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " -"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" -"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " -"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " -"inv_res_column 514 res_table res_column \", 18998, 33248, " -"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " -"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " -"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " -"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" -"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " -"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " -"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" -"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " -"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " -"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " -"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" -"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" -"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " -"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" -msgstr "" -"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " -"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " -"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " -"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " -"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" -"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " -"\"table_create res_table --key_type ShortText\", 1490, 3086, " -"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" -"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " -"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " -"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " -"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " -"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " -"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " -"\"table_create thread_table --key_type ShortText\", 13289, 14541, " -"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " -"thread_title_column --type ShortText\", 14570, 17380, [0,12 " -"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " -"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" -"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " -"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " -"inv_res_column 514 res_table res_column \", 18998, 33248, " -"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " -"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " -"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " -"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" -"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " -"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " -"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" -"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " -"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " -"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " -"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" -"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" -"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " -"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" - -#: ../../../source/grntest.txt:255 -msgid "制限事項" -msgstr "制限事項" - -#: ../../../source/grntest.txt:257 -msgid "" -"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" -"ド数の合計は最大64までに制限されます。" -msgstr "" -"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" -"ド数の合計は最大64までに制限されます。" - -#: ../../../source/grntest.txt:259 -msgid "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" -msgstr "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" - -#: ../../../source/grntest.txt:263 -msgid "トラブルシューティング" -msgstr "トラブルシューティング" - -#: ../../../source/grntest.txt:265 -msgid "もし、grntestが正常に動作しない場合、まず以下を確認してください。" -msgstr "もし、grntestが正常に動作しない場合、まず以下を確認してください。" - -#: ../../../source/grntest.txt:267 -msgid "" -"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" -"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" -"grntestは正常に動作しません。" -msgstr "" -"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" -"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" -"grntestは正常に動作しません。" - -#: ../../../source/grntest.txt:269 -msgid "" -"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" -"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" -"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" -"ます。" -msgstr "" -"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" -"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" -"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" -"ます。" - -#: ../../../source/grntest.txt:271 -msgid "" -"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" -"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" -"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" -"す。" -msgstr "" -"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" -"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" -"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" -"す。" - -#: ../../../source/grntest.txt:273 -msgid "" -"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" -"す。" -msgstr "" -"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" -"す。" Deleted: doc/locale/en/LC_MESSAGES/http.po (+0 -153) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/http.po 2011-06-28 14:48:48 +0000 (0c84056) +++ /dev/null @@ -1,153 +0,0 @@ -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/http.txt:6 -msgid "http" -msgstr "http" - -#: ../../../source/http.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/http.txt:11 -msgid "groonga httpサービス" -msgstr "groonga httpサービス" - -#: ../../../source/http.txt:14 -msgid "書式" -msgstr "書式" - -#: ../../../source/http.txt:17 -msgid "" -"groonga -d --protocol http --document-root /usr/share/groonga/admin_html dest" -msgstr "" -"groonga -d --protocol http --document-root /usr/share/groonga/admin_html dest" - -#: ../../../source/http.txt:20 -msgid "説明" -msgstr "説明" - -#: ../../../source/http.txt:22 -msgid "" -"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" -"可能になります。また、--document-root によって静的ページのパスを指定すると、" -"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" -"す。" -msgstr "" -"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" -"可能になります。また、--document-root によって静的ページのパスを指定すると、" -"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" -"す。" - -#: ../../../source/http.txt:24 -msgid "" -"デフォルトでは/usr/share/groonga/admin_html配下に、データベース管理ツールとな" -"るファイル群がインストールされますので、このパスを指定してgroongaサーバを起動" -"し、ウェブブラウザでhttp://hostname:port/index.htmlにアクセスすると、管理ツー" -"ルが使用可能になります。" -msgstr "" -"デフォルトでは/usr/share/groonga/admin_html配下に、データベース管理ツールとな" -"るファイル群がインストールされますので、このパスを指定してgroongaサーバを起動" -"し、ウェブブラウザでhttp://hostname:port/index.htmlにアクセスすると、管理ツー" -"ルが使用可能になります。" - -#: ../../../source/http.txt:27 -msgid "コマンド" -msgstr "コマンド" - -#: ../../../source/http.txt:29 -msgid "" -"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" -"同じコマンドが使用できます。" -msgstr "" -"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" -"同じコマンドが使用できます。" - -#: ../../../source/http.txt:31 -msgid "" -"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" -"な引数である「output_type」と「command_version」があります。" -msgstr "" -"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" -"な引数である「output_type」と「command_version」があります。" - -#: ../../../source/http.txt:33 -msgid "" -"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" -"す。" -msgstr "" -"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" -"す。" - -#: ../../../source/http.txt:35 -msgid "形式1: コマンド名 値1 値2,.." -msgstr "形式1: コマンド名 値1 値2,.." - -#: ../../../source/http.txt:37 -msgid "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." -msgstr "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." - -#: ../../../source/http.txt:39 -msgid "" -"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" -"数名を用いてoutput_typeを指定します。" -msgstr "" -"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" -"数名を用いてoutput_typeを指定します。" - -#: ../../../source/http.txt:41 -msgid "" -"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" -"す。::" -msgstr "" -"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" -"す。::" - -#: ../../../source/http.txt:43 -msgid "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." -msgstr "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." - -#: ../../../source/http.txt:45 -msgid "ただし、コマンド名、引数名、値はURLエンコードが必要です。" -msgstr "ただし、コマンド名、引数名、値はURLエンコードが必要です。" - -#: ../../../source/http.txt:47 -msgid "GETメソッドのみが使用可能です。" -msgstr "GETメソッドのみが使用可能です。" - -#: ../../../source/http.txt:49 -msgid "output_typeにはjson, tsv, xmlが指定可能です。" -msgstr "output_typeにはjson, tsv, xmlが指定可能です。" - -#: ../../../source/http.txt:51 -#, fuzzy -msgid "" -"command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:" -"`command_version` を参照してください。" -msgstr "" -"command_versionはコマンドの仕様の互換性を指定します。詳細は :ref:" -"`command_version` を参照してください。" - -#: ../../../source/http.txt:54 -msgid "返値" -msgstr "返値" - -#: ../../../source/http.txt:56 -msgid "output_typeの指定に従って、コマンドの実行結果を出力します。" -msgstr "output_typeの指定に従って、コマンドの実行結果を出力します。" Modified: doc/locale/en/LC_MESSAGES/index.po (+16 -17) =================================================================== --- doc/locale/en/LC_MESSAGES/index.po 2011-06-28 14:48:48 +0000 (ecf9437) +++ doc/locale/en/LC_MESSAGES/index.po 2011-06-28 15:04:00 +0000 (8318af3) @@ -1,39 +1,38 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/index.txt:9 -msgid "groonga ドキュメント" -msgstr "groonga ドキュメント" - -#: ../../../source/index.txt:11 -#, fuzzy -msgid ":doc:`news`" -msgstr ":ref:`news`" - #: ../../../source/index.txt:27 msgid ":ref:`genindex`" msgstr ":ref:`genindex`" +#: ../../../source/index.txt:29 +msgid ":ref:`search`" +msgstr ":ref:`search`" + +#: ../../../source/index.txt:9 +msgid "groonga ドキュメント" +msgstr "groonga ドキュメント" + #: ../../../source/index.txt:28 msgid ":ref:`modindex`" msgstr ":ref:`modindex`" -#: ../../../source/index.txt:29 -msgid ":ref:`search`" -msgstr ":ref:`search`" +#: ../../../source/index.txt:11 +msgid ":doc:`news`" +msgstr ":doc:`news`" Modified: doc/locale/en/LC_MESSAGES/install.po (+148 -146) =================================================================== --- doc/locale/en/LC_MESSAGES/install.po 2011-06-28 14:48:48 +0000 (893f126) +++ doc/locale/en/LC_MESSAGES/install.po 2011-06-28 15:04:00 +0000 (33f33db) @@ -1,30 +1,56 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 12:26\n" -"PO-Revision-Date: 2011-05-29 12:28+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/install.txt:6 -msgid "Install" -msgstr "Install" +#: ../../../source/install.txt:143 +msgid "" +"% git clone https://github.com/groonga/macports.git ~/groonga-macports % " +"(echo; echo file://$HOME/groonga-macports) | sudo sh -c \"cat >> /opt/local/" +"etc/macports/sources.conf\" % sudo port install groonga" +msgstr "" +"% git clone https://github.com/groonga/macports.git ~/groonga-macports % " +"(echo; echo file://$HOME/groonga-macports) | sudo sh -c \"cat >> /opt/local/" +"etc/macports/sources.conf\" % sudo port install groonga" #: ../../../source/install.txt:8 msgid "We will explain of how to install Groonga for each environments." msgstr "We will explain of how to install Groonga for each environments." +#: ../../../source/install.txt:139 +msgid "Mac OS X (MacPorts)" +msgstr "Mac OS X (MacPorts)" + +#: ../../../source/install.txt:134 +msgid "" +"% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-" +"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" +msgstr "" +"% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-" +"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" + +#: ../../../source/install.txt:80 +msgid "" +"deb http://packages.groonga.org/ubuntu/ lucid universe deb-src http://" +"packages.groonga.org/ubuntu/ lucid universe" +msgstr "" +"deb http://packages.groonga.org/ubuntu/ lucid universe deb-src http://" +"packages.groonga.org/ubuntu/ lucid universe" + #: ../../../source/install.txt:10 msgid "" "The packages for 64-bit binary are only distributed. Please attention not to " @@ -33,17 +59,21 @@ msgstr "" "The packages for 64-bit binary are only distributed. Please attention not to " "distributing others for 32-bit binaly." -#: ../../../source/install.txt:13 -msgid "Debian GNU/Linux squeeze" -msgstr "Debian GNU/Linux squeeze" +#: ../../../source/install.txt:49 +msgid "Debian GNU/Linux sid" +msgstr "Debian GNU/Linux sid" -#: ../../../source/install.txt:17 ../../../source/install.txt:35 -#: ../../../source/install.txt:53 ../../../source/install.txt:71 -#: ../../../source/install.txt:94 ../../../source/install.txt:117 -#: ../../../source/install.txt:130 -#, fuzzy -msgid "We only distribute the package for amd64." -msgstr "ATTENTION: We only distribute the package for amd64." +#: ../../../source/install.txt:75 ../../../source/install.txt:98 +msgid "" +"You should specify universe section of Ubuntu for installing by add file(ex. " +"below-mentioned)." +msgstr "" +"You should specify universe section of Ubuntu for installing by add file(ex. " +"below-mentioned)." + +#: ../../../source/install.txt:148 +msgid "Mac OS X (Homebrew)" +msgstr "Mac OS X (Homebrew)" #: ../../../source/install.txt:19 ../../../source/install.txt:37 #: ../../../source/install.txt:55 ../../../source/install.txt:78 @@ -51,21 +81,17 @@ msgstr "ATTENTION: We only distribute the package for amd64." msgid "/etc/apt/sources.list.d/groonga.list::" msgstr "/etc/apt/sources.list.d/groonga.list::" -#: ../../../source/install.txt:21 +#: ../../../source/install.txt:67 +msgid "Ubuntu 10.04 LTS Lucid Lynx" +msgstr "Ubuntu 10.04 LTS Lucid Lynx" + +#: ../../../source/install.txt:39 msgid "" -"deb http://packages.groonga.org/debian/ squeeze main deb-src http://packages." -"groonga.org/debian/ squeeze main" +"deb http://packages.groonga.org/debian/ wheezy main deb-src http://packages." +"groonga.org/debian/ wheezy main" msgstr "" -"deb http://packages.groonga.org/debian/ squeeze main deb-src http://packages." -"groonga.org/debian/ squeeze main" - -#: ../../../source/install.txt:24 ../../../source/install.txt:42 -#: ../../../source/install.txt:60 ../../../source/install.txt:83 -#: ../../../source/install.txt:106 ../../../source/install.txt:119 -#: ../../../source/install.txt:132 ../../../source/install.txt:141 -#: ../../../source/install.txt:150 -msgid "Install::" -msgstr "Install::" +"deb http://packages.groonga.org/debian/ wheezy main deb-src http://packages." +"groonga.org/debian/ wheezy main" #: ../../../source/install.txt:26 ../../../source/install.txt:44 #: ../../../source/install.txt:62 ../../../source/install.txt:85 @@ -77,54 +103,57 @@ msgstr "" "% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31 % " "sudo aptitude update % sudo aptitude -V -D -y install groonga" -#: ../../../source/install.txt:31 -msgid "Debian GNU/Linux wheezy" -msgstr "Debian GNU/Linux wheezy" +#: ../../../source/install.txt:159 +msgid "We only distribute the package for x64." +msgstr "We only distribute the package for x64." -#: ../../../source/install.txt:39 -msgid "" -"deb http://packages.groonga.org/debian/ wheezy main deb-src http://packages." -"groonga.org/debian/ wheezy main" -msgstr "" -"deb http://packages.groonga.org/debian/ wheezy main deb-src http://packages." -"groonga.org/debian/ wheezy main" +#: ../../../source/install.txt:166 +msgid "Others" +msgstr "Others" -#: ../../../source/install.txt:49 -msgid "Debian GNU/Linux sid" -msgstr "Debian GNU/Linux sid" +#: ../../../source/install.txt:113 +msgid "CentOS 5" +msgstr "CentOS 5" -#: ../../../source/install.txt:57 +#: ../../../source/install.txt:177 msgid "" -"deb http://packages.groonga.org/debian/ unstable main deb-src http://" -"packages.groonga.org/debian/ unstable main" +"./configure --prefix=/usr --localstatedir=/var && make && sudo make install" msgstr "" -"deb http://packages.groonga.org/debian/ unstable main deb-src http://" -"packages.groonga.org/debian/ unstable main" +"./configure --prefix=/usr --localstatedir=/var && make && sudo make install" -#: ../../../source/install.txt:67 -msgid "Ubuntu 10.04 LTS Lucid Lynx" -msgstr "Ubuntu 10.04 LTS Lucid Lynx" +#: ../../../source/install.txt:155 +msgid "Windows" +msgstr "Windows" -#: ../../../source/install.txt:75 ../../../source/install.txt:98 -#, fuzzy +#: ../../../source/install.txt:13 +msgid "Debian GNU/Linux squeeze" +msgstr "Debian GNU/Linux squeeze" + +#: ../../../source/install.txt:152 +msgid "% brew install groonga" +msgstr "% brew install groonga" + +#: ../../../source/install.txt:161 msgid "" -"You should specify universe section of Ubuntu for installing by add file(ex. " -"below-mentioned)." +"You just download zip-file from `packages.groonga.org/windows/ <http://" +"packages.groonga.org/windows/groonga/>`_ and extract it. We doesn't " +"distribute installer for now. Sorry." msgstr "" -"ATTENTION: You should specify universe section of Ubuntu for installing by " -"add file(ex. below-mentioned)." +"You just download zip-file from `packages.groonga.org/windows/ <http://" +"packages.groonga.org/windows/groonga/>`_ and extract it. We doesn't " +"distribute installer for now. Sorry." -#: ../../../source/install.txt:80 +#: ../../../source/install.txt:121 msgid "" -"deb http://packages.groonga.org/ubuntu/ lucid universe deb-src http://" -"packages.groonga.org/ubuntu/ lucid universe" +"% sudo rpm -ivh http://packages.groonga.org/centos/groonga-" +"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" msgstr "" -"deb http://packages.groonga.org/ubuntu/ lucid universe deb-src http://" -"packages.groonga.org/ubuntu/ lucid universe" +"% sudo rpm -ivh http://packages.groonga.org/centos/groonga-" +"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" -#: ../../../source/install.txt:90 -msgid "Ubuntu 11.04 Natty Narwhal" -msgstr "Ubuntu 11.04 Natty Narwhal" +#: ../../../source/install.txt:6 +msgid "Install" +msgstr "Install" #: ../../../source/install.txt:103 msgid "" @@ -134,106 +163,79 @@ msgstr "" "deb http://packages.groonga.org/ubuntu/ natty universe deb-src http://" "packages.groonga.org/ubuntu/ natty universe" -#: ../../../source/install.txt:113 -msgid "CentOS 5" -msgstr "CentOS 5" - -#: ../../../source/install.txt:121 +#: ../../../source/install.txt:172 msgid "" -"% sudo rpm -ivh http://packages.groonga.org/centos/groonga-" -"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" +"After, you should download tar.gz-file from `packages.groonga.org/source/ " +"<http://packages.groonga.org/source/groonga/>`_ for installing groonga. You " +"should extract this file in place to install, and run commands below-" +"mentioned. ::" msgstr "" -"% sudo rpm -ivh http://packages.groonga.org/centos/groonga-" -"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" +"After, you should download tar.gz-file from `packages.groonga.org/source/ " +"<http://packages.groonga.org/source/groonga/>`_ for installing groonga. You " +"should extract this file in place to install, and run commands below-" +"mentioned. ::" #: ../../../source/install.txt:126 msgid "Fedora 15" -msgstr "" +msgstr "Fedora 15" -#: ../../../source/install.txt:134 -msgid "" -"% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-" -"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" -msgstr "" -"% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-" -"repository-1.0.0-0.noarch.rpm % sudo yum update % sudo yum install -y groonga" - -#: ../../../source/install.txt:139 -msgid "Mac OS X (MacPorts)" -msgstr "Mac OS X (MacPorts)" +#: ../../../source/install.txt:24 ../../../source/install.txt:42 +#: ../../../source/install.txt:60 ../../../source/install.txt:83 +#: ../../../source/install.txt:106 ../../../source/install.txt:119 +#: ../../../source/install.txt:132 ../../../source/install.txt:141 +#: ../../../source/install.txt:150 +msgid "Install::" +msgstr "Install::" -#: ../../../source/install.txt:143 +#: ../../../source/install.txt:57 msgid "" -"% git clone https://github.com/groonga/macports.git ~/groonga-macports % " -"(echo; echo file://$HOME/groonga-macports) | sudo sh -c \"cat >> /opt/local/" -"etc/macports/sources.conf\" % sudo port install groonga" -msgstr "" -"% git clone https://github.com/groonga/macports.git ~/groonga-macports % " -"(echo; echo file://$HOME/groonga-macports) | sudo sh -c \"cat >> /opt/local/" -"etc/macports/sources.conf\" % sudo port install groonga" - -#: ../../../source/install.txt:148 -msgid "Mac OS X (Homebrew)" -msgstr "Mac OS X (Homebrew)" - -#: ../../../source/install.txt:152 -msgid "% brew install groonga" -msgstr "% brew install groonga" - -#: ../../../source/install.txt:155 -msgid "Windows" +"deb http://packages.groonga.org/debian/ unstable main deb-src http://" +"packages.groonga.org/debian/ unstable main" msgstr "" +"deb http://packages.groonga.org/debian/ unstable main deb-src http://" +"packages.groonga.org/debian/ unstable main" -#: ../../../source/install.txt:159 -#, fuzzy -msgid "We only distribute the package for x64." -msgstr "ATTENTION: We only distribute the package for amd64." +#: ../../../source/install.txt:90 +msgid "Ubuntu 11.04 Natty Narwhal" +msgstr "Ubuntu 11.04 Natty Narwhal" -#: ../../../source/install.txt:161 +#: ../../../source/install.txt:179 msgid "" -"You just download zip-file from `packages.groonga.org/windows/`_ and extract " -"it. We doesn't distribute installer for now. Sorry." +"The \"prefix\" option is the paramater for specified place to install. If " +"you won't specify the option, \"/usr/local\" is specified. Please specify \"/" +"usr\" for this option if you don't know environment variables" +"(LD_LIBRARY_PATH and so on) well." msgstr "" +"The \"prefix\" option is the paramater for specified place to install. If " +"you won't specify the option, \"/usr/local\" is specified. Please specify \"/" +"usr\" for this option if you don't know environment variables" +"(LD_LIBRARY_PATH and so on) well." -#: ../../../source/install.txt:168 -msgid "Others" -msgstr "Others" +#: ../../../source/install.txt:17 ../../../source/install.txt:35 +#: ../../../source/install.txt:53 ../../../source/install.txt:71 +#: ../../../source/install.txt:94 ../../../source/install.txt:117 +#: ../../../source/install.txt:130 +msgid "We only distribute the package for amd64." +msgstr "We only distribute the package for amd64." -#: ../../../source/install.txt:170 -#, fuzzy +#: ../../../source/install.txt:168 msgid "" "If you will use indexes of tokenizing of each morpheme for full-text search, " -"you should install MeCab_ before you install groonga." +"you should install `MeCab <http://mecab.sourceforge.net/>`_ before you " +"install groonga." msgstr "" "If you will use indexes of tokenizing of each morpheme for full-text search, " -"you should install MeCab(http://mecab.sourceforge.net/) before you install " -"groonga." +"you should install `MeCab <http://mecab.sourceforge.net/>`_ before you " +"install groonga." -#: ../../../source/install.txt:173 -#, fuzzy -msgid "" -"After, you should download tar.gz-file from `packages.groonga.org/source/`_ " -"for installing groonga. You should extract this file in place to install, " -"and run commands below-mentioned. ::" -msgstr "" -"After, you should download tar.gz-file from this site(http://groonga.org/" -"download/) for installing groonga. You should unzip this file in place to " -"install, and run commands below-mentioned. ::" - -#: ../../../source/install.txt:178 +#: ../../../source/install.txt:21 msgid "" -"./configure --prefix=/usr --localstatedir=/var && make && sudo make install" +"deb http://packages.groonga.org/debian/ squeeze main deb-src http://packages." +"groonga.org/debian/ squeeze main" msgstr "" -"./configure --prefix=/usr --localstatedir=/var && make && sudo make install" +"deb http://packages.groonga.org/debian/ squeeze main deb-src http://packages." +"groonga.org/debian/ squeeze main" -#: ../../../source/install.txt:180 -msgid "" -"The \"prefix\" option is the paramater for specified place to install. If " -"you won't specify the option, \"/usr/local\" is specified. Please specify \"/" -"usr\" for this option if you don't know environment variables" -"(LD_LIBRARY_PATH and so on) well." -msgstr "" -"The \"prefix\" option is the paramater for specified place to install. If " -"you won't specify the option, \"/usr/local\" is specified. Please specify \"/" -"usr\" for this option if you don't know environment variables" -"(LD_LIBRARY_PATH and so on) well." +#: ../../../source/install.txt:31 +msgid "Debian GNU/Linux wheezy" +msgstr "Debian GNU/Linux wheezy" Modified: doc/locale/en/LC_MESSAGES/limitations.po (+23 -23) =================================================================== --- doc/locale/en/LC_MESSAGES/limitations.po 2011-06-28 14:48:48 +0000 (3c3e187) +++ doc/locale/en/LC_MESSAGES/limitations.po 2011-06-28 15:04:00 +0000 (5f57273) @@ -1,29 +1,29 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-22 22:49\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/limitations.txt:6 -msgid "制限事項" -msgstr "制限事項" +#: ../../../source/limitations.txt:16 +msgid "最大語彙数: 268,435,455 (約2億6千万)" +msgstr "最大語彙数: 268,435,455 (約2億6千万)" -#: ../../../source/limitations.txt:8 -msgid "groongaにはいくつか制限事項があります。" -msgstr "groongaにはいくつか制限事項があります。" +#: ../../../source/limitations.txt:17 +msgid "最大インデックスサイズ: 256GByte" +msgstr "最大インデックスサイズ: 256GByte" #: ../../../source/limitations.txt:11 msgid "インデックス上限値" @@ -33,18 +33,18 @@ msgstr "インデックス上限値" msgid "1つのインデックスにおける論理上の上限値は以下のとおりです。" msgstr "1つのインデックスにおける論理上の上限値は以下のとおりです。" -#: ../../../source/limitations.txt:15 -msgid "最大レコード数: 268,435,455 (約2億6千万)" -msgstr "最大レコード数: 268,435,455 (約2億6千万)" - -#: ../../../source/limitations.txt:16 -msgid "最大語彙数: 268,435,455 (約2億6千万)" -msgstr "最大語彙数: 268,435,455 (約2億6千万)" - -#: ../../../source/limitations.txt:17 -msgid "最大インデックスサイズ: 256GByte" -msgstr "最大インデックスサイズ: 256GByte" - #: ../../../source/limitations.txt:19 msgid "(実際には他の諸条件の制約により上記の値まで到達しない場合もあります)" msgstr "(実際には他の諸条件の制約により上記の値まで到達しない場合もあります)" + +#: ../../../source/limitations.txt:8 +msgid "groongaにはいくつか制限事項があります。" +msgstr "groongaにはいくつか制限事項があります。" + +#: ../../../source/limitations.txt:6 +msgid "制限事項" +msgstr "制限事項" + +#: ../../../source/limitations.txt:15 +msgid "最大レコード数: 268,435,455 (約2億6千万)" +msgstr "最大レコード数: 268,435,455 (約2億6千万)" Modified: doc/locale/en/LC_MESSAGES/news.po (+914 -883) =================================================================== --- doc/locale/en/LC_MESSAGES/news.po 2011-06-28 14:48:48 +0000 (acf1aa2) +++ doc/locale/en/LC_MESSAGES/news.po 2011-06-28 15:04:00 +0000 (4480f1c) @@ -1,256 +1,236 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 00:56\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/news.txt:6 -msgid "News" +#: ../../../source/news/1.0.x.txt:135 +msgid "" +"プラグインの置き場所を変更: lib/groonga/modules/ -> lib/groonga/plugins/ #624" msgstr "" +"プラグインの置き場所を変更: lib/groonga/modules/ -> lib/groonga/plugins/ #624" -#: ../../../source/news.txt:11 -msgid "Release 1.2.2 - 2011/05/29" +#: ../../../source/news/1.0.x.txt:34 +msgid "" +"ベクタの値を :doc:`/commands/load` するときにキャストに失敗したら、そ のこと" +"を報告するようにした。" msgstr "" +"ベクタの値を :doc:`/commands/load` するときにキャストに失敗したら、そ のこと" +"を報告するようにした。" -#: ../../../source/news.txt:14 -msgid "Improvements" -msgstr "" +#: ../../../source/news/0.x.txt:112 +msgid "データ投入後のインデックスカラム作成に対応。" +msgstr "データ投入後のインデックスカラム作成に対応。" -#: ../../../source/news.txt:16 -msgid "Added packages for Ubuntu 11.04 Natty Narwhal." -msgstr "" +#: ../../../source/news/0.x.txt:98 +msgid "データに不整合が発生する場合はデータを削除しないように変更。" +msgstr "データに不整合が発生する場合はデータを削除しないように変更。" -#: ../../../source/news.txt:17 -msgid "Removed packages for Ubuntu 10.10 Maverick Meerkat." -msgstr "" +#: ../../../source/news.txt:75 ../../../source/news.txt:100 +#: ../../../source/news/0.x.txt:12 ../../../source/news/0.x.txt:39 +#: ../../../source/news/1.0.x.txt:27 ../../../source/news/1.0.x.txt:75 +#: ../../../source/news/1.0.x.txt:115 ../../../source/news/1.0.x.txt:156 +#: ../../../source/news/1.0.x.txt:220 ../../../source/news/1.0.x.txt:246 +#: ../../../source/news/1.0.x.txt:271 ../../../source/news/1.1.x.txt:12 +msgid "改良" +msgstr "改良" -#: ../../../source/news.txt:18 -msgid "RPM: Split server related packages to groonga-server package." -msgstr "" +#: ../../../source/news/1.0.x.txt:81 +msgid "grntestがmlockの情報出力に対応。" +msgstr "grntestがmlockの情報出力に対応。" -#: ../../../source/news.txt:19 -msgid "suggest: Added target object name into error messages." -msgstr "" +#: ../../../source/news/0.x.txt:68 +msgid "存在しないデータベースを指定したときのエラーメッセージを改善。" +msgstr "存在しないデータベースを指定したときのエラーメッセージを改善。" -#: ../../../source/news.txt:20 -msgid "document: Started English support. (not completed yet.)" +#: ../../../source/news/1.0.x.txt:227 +msgid "" +"HTTPで公開するディレクトリを指定する--admin-html-pathを--document-rootに変" +"更。" msgstr "" +"HTTPで公開するディレクトリを指定する--admin-html-pathを--document-rootに変" +"更。" -#: ../../../source/news.txt:21 -msgid "groonga-suggest-httpd: Added --disable-max-fd-check option." -msgstr "" +#: ../../../source/news.txt:109 +msgid "Debian GNU/Linux lennyのパッケージを削除。" +msgstr "Debian GNU/Linux lennyのパッケージを削除。" -#: ../../../source/news.txt:22 -msgid "" -"groonga: Renamed :option:`--address <-a>` option to :option:`--bind-address`." -msgstr "" +#: ../../../source/news/1.0.x.txt:243 +msgid "1.0.1リリース - 2010/09/06" +msgstr "1.0.1リリース - 2010/09/06" -#: ../../../source/news.txt:23 -msgid "groonga-suggest-httpd: Renamed --address option to --bind-address." -msgstr "" +#: ../../../source/news/1.0.x.txt:201 +msgid "モジュールの初期化関数が複数回呼ばれる問題を修正。#567" +msgstr "モジュールの初期化関数が複数回呼ばれる問題を修正。#567" -#: ../../../source/news.txt:24 -msgid "" -"Changed admin HTML install directory to $PREFIX/share/groonga/html/admin/ " -"from $PREFIX/share/groonga/admin_html/." -msgstr "" +#: ../../../source/news/1.0.x.txt:200 +msgid "値が存在しないレコードがあるカラムでソートすると落ちる問題を修正。" +msgstr "値が存在しないレコードがあるカラムでソートすると落ちる問題を修正。" -#: ../../../source/news.txt:27 +#: ../../../source/news/1.0.x.txt:90 msgid "" -"groonga-suggest-httpd: Used \"application/json\" for JSON response instead " -"of \"text/javascript\"." +":doc:`/commands/table_list` のXML出力のタグ名をより適切な名前に変更。 #757" msgstr "" +":doc:`/commands/table_list` のXML出力のタグ名をより適切な名前に変更。 #757" + +#: ../../../source/news/1.0.x.txt:121 +msgid "Int8/UInt8/Int16/UInt16の等値比較にC言語の比較演算子を使用。 #660" +msgstr "Int8/UInt8/Int16/UInt16の等値比較にC言語の比較演算子を使用。 #660" + +#: ../../../source/news/0.x.txt:59 +msgid "uptimeの表示形式を読みやすい形式に変更。" +msgstr "uptimeの表示形式を読みやすい形式に変更。" -#: ../../../source/news.txt:29 +#: ../../../source/news/1.0.x.txt:119 msgid "" -"Windows: Used DLL relative path instead of executable file relative path." +":doc:`/commands/select` の--filter内での数値比較演算をサポート。 (@s3kiさん" +"が報告)" msgstr "" +":doc:`/commands/select` の--filter内での数値比較演算をサポート。 (@s3kiさん" +"が報告)" -#: ../../../source/news.txt:31 -msgid "MeCab: Added error message from MeCab on MeCab initialize error." -msgstr "" +#: ../../../source/news/1.0.x.txt:38 +msgid ":doc:`/commands/dump` がテーブル単位のダンプに対応。" +msgstr ":doc:`/commands/dump` がテーブル単位のダンプに対応。" -#: ../../../source/news.txt:32 -msgid "suggest: Added prefix_search parameter to suggest command. #909" -msgstr "" +#: ../../../source/news/1.0.x.txt:162 +msgid "groongaコマンドに、--defalt-command-versionオプションの追加。" +msgstr "groongaコマンドに、--defalt-command-versionオプションの追加。" -#: ../../../source/news.txt:34 -msgid "" -"plugin: Added grn_plugin_get_system_plugins_dir() and grn_plugin_get_suffix" -"() API." -msgstr "" +#: ../../../source/news/1.0.x.txt:280 +msgid "関数もコマンドとして呼び出してしまう問題を修正。#431" +msgstr "関数もコマンドとして呼び出してしまう問題を修正。#431" -#: ../../../source/news.txt:36 -msgid "Added grn_obj_is_builtin() API." -msgstr "" +#: ../../../source/news/1.0.x.txt:142 +msgid "GRN_CURSOR_PREFIXが動作しない問題を修正。" +msgstr "GRN_CURSOR_PREFIXが動作しない問題を修正。" -#: ../../../source/news.txt:37 -msgid ":doc:`/commands/load`: Added table name check. #934" -msgstr "" +#: ../../../source/news.txt:134 +msgid "実験的" +msgstr "実験的" -#: ../../../source/news.txt:38 -msgid "Showed invalid name context in error message. #935" -msgstr "" +#: ../../../source/news.txt:142 +msgid "@tomotaka_itoさん" +msgstr "@tomotaka_itoさん" -#: ../../../source/news.txt:41 -msgid "Fixes" +#: ../../../source/news/0.x.txt:83 +msgid "" +"索引を用いた高速なGeoPointのソート機能を追加。 (ただし複数のソートキーと一緒" +"に使うことはできない。)" msgstr "" +"索引を用いた高速なGeoPointのソート機能を追加。 (ただし複数のソートキーと一緒" +"に使うことはできない。)" -#: ../../../source/news.txt:43 -msgid "Fixed a data breaking bug on multi process update. #890" -msgstr "" +#: ../../../source/news.txt:21 +msgid "Added GRN_OBJ_TABLE_DAT_KEY, double array trie, table. (experimental)" +msgstr "Added GRN_OBJ_TABLE_DAT_KEY, double array trie, table. (experimental)" -#: ../../../source/news.txt:46 -msgid "1.2.1リリース - 2011/04/29" -msgstr "1.2.1リリース - 2011/04/29" +#: ../../../source/news/1.0.x.txt:84 +msgid "" +"開いているファイルディスクリプタが多すぎてacceptできない状態の負荷を低減。 " +"#802" +msgstr "" +"開いているファイルディスクリプタが多すぎてacceptできない状態の負荷を低減。 " +"#802" -#: ../../../source/news.txt:49 ../../../source/news.txt:74 -#: ../../../source/news/0.x.txt:12 ../../../source/news/0.x.txt:39 -#: ../../../source/news/1.0.x.txt:27 ../../../source/news/1.0.x.txt:75 -#: ../../../source/news/1.0.x.txt:115 ../../../source/news/1.0.x.txt:156 -#: ../../../source/news/1.0.x.txt:220 ../../../source/news/1.0.x.txt:246 -#: ../../../source/news/1.0.x.txt:271 ../../../source/news/1.1.x.txt:12 -msgid "改良" -msgstr "改良" +#: ../../../source/news/1.0.x.txt:56 +msgid "Kenichi Aramakiさん" +msgstr "Kenichi Aramakiさん" -#: ../../../source/news.txt:51 -msgid "suggestコマンドにthresholdパラメーターを追加。#895" -msgstr "suggestコマンドにthresholdパラメーターを追加。#895" +#: ../../../source/news/1.0.x.txt:124 +msgid "grn_table_cursor_next()をGRN_CURSOR_COLUMN_INDEX対応にした。" +msgstr "grn_table_cursor_next()をGRN_CURSOR_COLUMN_INDEX対応にした。" -#: ../../../source/news.txt:52 -msgid "suggestのHTTPサーバにlimitパラメーターを追加。#899" -msgstr "suggestのHTTPサーバにlimitパラメーターを追加。#899" +#: ../../../source/news/1.0.x.txt:129 +msgid "コメント行に対応。 #723" +msgstr "コメント行に対応。 #723" -#: ../../../source/news.txt:53 -msgid "grntest: SIGINTでの中断に対応。" -msgstr "grntest: SIGINTでの中断に対応。" +#: ../../../source/news/0.x.txt:92 +msgid "column_listコマンド:" +msgstr "column_listコマンド:" -#: ../../../source/news.txt:56 ../../../source/news.txt:90 -#: ../../../source/news/0.x.txt:27 ../../../source/news/0.x.txt:115 -#: ../../../source/news/1.0.x.txt:12 ../../../source/news/1.0.x.txt:41 -#: ../../../source/news/1.0.x.txt:62 ../../../source/news/1.0.x.txt:93 -#: ../../../source/news/1.0.x.txt:139 ../../../source/news/1.0.x.txt:185 -#: ../../../source/news/1.0.x.txt:231 ../../../source/news/1.0.x.txt:255 -#: ../../../source/news/1.0.x.txt:278 ../../../source/news/1.1.x.txt:22 -msgid "修正" -msgstr "修正" +#: ../../../source/news.txt:6 +msgid "News" +msgstr "News" -#: ../../../source/news.txt:58 +#: ../../../source/news/1.0.x.txt:14 msgid "" -"同時に複数のデータベースを開いているとき、1つでもデータベー スを閉じると関連" -"するプラグインも閉じられてしまう問題を修正。 #894" +"ShortText型カラムへデータ追加・削除を繰り返すとデータが壊れ ることがある問題" +"を修正。 (Mitsuhiro Shibuyaさんが報告)" msgstr "" -"同時に複数のデータベースを開いているとき、1つでもデータベー スを閉じると関連" -"するプラグインも閉じられてしまう問題を修正。 #894" +"ShortText型カラムへデータ追加・削除を繰り返すとデータが壊れ ることがある問題" +"を修正。 (Mitsuhiro Shibuyaさんが報告)" -#: ../../../source/news.txt:60 +#: ../../../source/news/1.0.x.txt:222 msgid "" -"configureの--helpで出力される--with-deafult-encodingの値が 間違っていた問題を" -"修正。(ICHII Takashiさんが報告)" +":doc:`/commands/suggest` コマンドのサンプルを追加。(examples/dictionary/)" msgstr "" -"configureの--helpで出力される--with-deafult-encodingの値が 間違っていた問題を" -"修正。(ICHII Takashiさんが報告)" - -#: ../../../source/news.txt:62 -msgid "チュートリアル中のtypoを修正。(moozさんが修正)" -msgstr "チュートリアル中のtypoを修正。(moozさんが修正)" - -#: ../../../source/news.txt:65 ../../../source/news.txt:114 -#: ../../../source/news/0.x.txt:124 ../../../source/news/1.0.x.txt:19 -#: ../../../source/news/1.0.x.txt:53 ../../../source/news/1.0.x.txt:67 -#: ../../../source/news/1.0.x.txt:106 ../../../source/news/1.0.x.txt:146 -#: ../../../source/news/1.0.x.txt:209 ../../../source/news/1.0.x.txt:237 -#: ../../../source/news/1.0.x.txt:262 ../../../source/news/1.0.x.txt:287 -#: ../../../source/news/1.1.x.txt:29 -msgid "感謝" -msgstr "感謝" +":doc:`/commands/suggest` コマンドのサンプルを追加。(examples/dictionary/)" -#: ../../../source/news.txt:67 -msgid "ICHII Takashiさん" -msgstr "ICHII Takashiさん" +#: ../../../source/news/0.x.txt:100 +msgid "statusコマンド:" +msgstr "statusコマンド:" -#: ../../../source/news.txt:68 -msgid "moozさん" -msgstr "moozさん" +#: ../../../source/news/0.x.txt:24 +msgid "デフォルトの設定ファイルを追加。" +msgstr "デフォルトの設定ファイルを追加。" -#: ../../../source/news.txt:71 -msgid "1.2.0リリース - 2011/03/29" -msgstr "1.2.0リリース - 2011/03/29" +#: ../../../source/news/0.x.txt:17 +msgid "manを追加。" +msgstr "manを追加。" -#: ../../../source/news.txt:76 -msgid "MacPortsでのインストールドキュメントを追加。" -msgstr "MacPortsでのインストールドキュメントを追加。" +#: ../../../source/news.txt:69 +msgid "Fixed a data breaking bug on multi process update. #890" +msgstr "Fixed a data breaking bug on multi process update. #890" -#: ../../../source/news.txt:77 -msgid "Homebrewでのインストールドキュメントを追加。" -msgstr "Homebrewでのインストールドキュメントを追加。" +#: ../../../source/news.txt:45 +msgid "suggest: Added target object name into error messages." +msgstr "suggest: Added target object name into error messages." -#: ../../../source/news.txt:78 -msgid "WindowsではMinGWでもpthreadを使わないようにした。" -msgstr "WindowsではMinGWでもpthreadを使わないようにした。" +#: ../../../source/news/0.x.txt:74 +msgid "true/false/nullリテラルをサポート。" +msgstr "true/false/nullリテラルをサポート。" -#: ../../../source/news.txt:79 -msgid "オーバーフローチェックを強化。" -msgstr "オーバーフローチェックを強化。" +#: ../../../source/news/1.0.x.txt:192 +msgid "" +"grn_pat_at()でエンコードされたキーが常にGRN_NILになってしまう問題を修正。#514" +msgstr "" +"grn_pat_at()でエンコードされたキーが常にGRN_NILになってしまう問題を修正。#514" -#: ../../../source/news.txt:80 -msgid "位置情報の入力値チェックを強化。" -msgstr "位置情報の入力値チェックを強化。" - -#: ../../../source/news.txt:81 -msgid "インデックスを用いたジオサーチの例をチュートリアルに追加。 #438" -msgstr "インデックスを用いたジオサーチの例をチュートリアルに追加。 #438" - -#: ../../../source/news.txt:82 -msgid "Debian GNU/Linux wheezyのパッケージを追加。" -msgstr "Debian GNU/Linux wheezyのパッケージを追加。" - -#: ../../../source/news.txt:83 -msgid "Debian GNU/Linux lennyのパッケージを削除。" -msgstr "Debian GNU/Linux lennyのパッケージを削除。" - -#: ../../../source/news.txt:84 +#: ../../../source/news/1.0.x.txt:181 msgid "" -"Debianパッケージをcdbsベースからdebhelperベースへ移行。 パッケージ名の変更あ" -"り。 #887" +"パッケージを提供するUbuntuのバージョンをHardy, Lucidから Lucid, Marverickに変" +"更。" msgstr "" -"Debianパッケージをcdbsベースからdebhelperベースへ移行。 パッケージ名の変更あ" -"り。 #887" +"パッケージを提供するUbuntuのバージョンをHardy, Lucidから Lucid, Marverickに変" +"更。" -#: ../../../source/news.txt:86 -msgid "" -"MeCabトークナイザーの読み込みエラーを無視するようにした。た だし、ログには残" -"る。 #893" -msgstr "" -"MeCabトークナイザーの読み込みエラーを無視するようにした。た だし、ログには残" -"る。 #893" +#: ../../../source/news.txt:24 ../../../source/news.txt:67 +msgid "Fixes" +msgstr "Fixes" -#: ../../../source/news.txt:92 +#: ../../../source/news/1.0.x.txt:102 msgid "" -"autoconf 2.59環境において、ファイルシステムのルート直下に groongaディレクトリ" -"を作成しようとする問題を修正。 #833" +":doc:`/commands/load` で不正なJSONを指定した場合にそれ以降コマンドを受け付け" +"なくなる 問題を修正。 #807" msgstr "" -"autoconf 2.59環境において、ファイルシステムのルート直下に groongaディレクトリ" -"を作成しようとする問題を修正。 #833" - -#: ../../../source/news.txt:94 -msgid "JSONPが動作しなくなっていた問題を修正。" -msgstr "JSONPが動作しなくなっていた問題を修正。" +":doc:`/commands/load` で不正なJSONを指定した場合にそれ以降コマンドを受け付け" +"なくなる 問題を修正。 #807" -#: ../../../source/news.txt:95 +#: ../../../source/news.txt:121 msgid "" "MeCabトークナイザーの読み込みに失敗したときにクラッシュする問題を修正。 " "(@tomotaka_itoさんが報告)" @@ -258,737 +238,670 @@ msgstr "" "MeCabトークナイザーの読み込みに失敗したときにクラッシュする問題を修正。 " "(@tomotaka_itoさんが報告)" -#: ../../../source/news.txt:97 -msgid "[非互換] 位置情報の小数表記からミリ秒への変換誤差が大きい問題を修正。" -msgstr "[非互換] 位置情報の小数表記からミリ秒への変換誤差が大きい問題を修正。" +#: ../../../source/news.txt:120 +msgid "JSONPが動作しなくなっていた問題を修正。" +msgstr "JSONPが動作しなくなっていた問題を修正。" + +#: ../../../source/news/0.x.txt:9 +msgid "0.7.7リリース - 2010/08/25" +msgstr "0.7.7リリース - 2010/08/25" + +#: ../../../source/news.txt:16 +msgid "Added invalid table name check. #912" +msgstr "Added invalid table name check. #912" + +#: ../../../source/news/0.x.txt:6 +msgid "バージョン0.xのお知らせ" +msgstr "バージョン0.xのお知らせ" -#: ../../../source/news.txt:98 -#, fuzzy +#: ../../../source/news/1.0.x.txt:196 msgid "" -":doc:`/functions/geo_in_rectangle` の ``top_left`` と ``bottom_right`` に同じ" -"位置を指定するとクラッシュする問題を修正。" +"インデックスがついたカラムでソートすると結果がおかしくなる問題を修正。#571" msgstr "" -":ref:`geo_in_rectangle` の ``top_left`` と ``bottom_right`` に同じ位置を指定" -"するとクラッシュする問題を修正。" +"インデックスがついたカラムでソートすると結果がおかしくなる問題を修正。#571" -#: ../../../source/news.txt:100 ../../../source/news/1.0.x.txt:188 -msgid "メモリリークを修正。" -msgstr "メモリリークを修正。" +#: ../../../source/news/1.0.x.txt:31 +msgid "エラーメッセージをわかりやすくした。" +msgstr "エラーメッセージをわかりやすくした。" -#: ../../../source/news.txt:101 -msgid "小数形式のTimeリテラルをロードするとミリ秒情報が落ちる問題を修正。 #880" -msgstr "" -"小数形式のTimeリテラルをロードするとミリ秒情報が落ちる問題を修正。 #880" +#: ../../../source/news/1.0.x.txt:127 +msgid "grn_table_at()を公開。" +msgstr "grn_table_at()を公開。" -#: ../../../source/news.txt:102 -#, fuzzy -msgid ":doc:`/commands/column_list` のドキュメントを修正。 #758" -msgstr ":ref:`column_list` のドキュメントを修正。 #758" +#: ../../../source/news/1.0.x.txt:259 +msgid "テストが失敗する問題の修正。(OBATA Akioさんが報告)" +msgstr "テストが失敗する問題の修正。(OBATA Akioさんが報告)" -#: ../../../source/news.txt:103 -#, fuzzy -msgid ":doc:`/commands/table_list` のドキュメントを修正。" -msgstr ":ref:`table_list` のドキュメントを修正。" +#: ../../../source/news.txt:11 +msgid "Release 1.2.3 - 2011/06/29" +msgstr "Release 1.2.3 - 2011/06/29" -#: ../../../source/news.txt:104 -#, fuzzy -msgid "" -":doc:`/commands/load` で_valueを指定するとメモリリークする問題を修正。 #878" -msgstr ":ref:`load` で_valueを指定するとメモリリークする問題を修正。 #878" +#: ../../../source/news/1.0.x.txt:211 ../../../source/news/1.0.x.txt:264 +#: ../../../source/news/1.1.x.txt:31 +msgid "Daiki Uenoさん" +msgstr "Daiki Uenoさん" + +#: ../../../source/news/1.0.x.txt:194 +msgid "不正なレコードがあるときにdumpすると落ちてしまう問題を修正。" +msgstr "不正なレコードがあるときにdumpすると落ちてしまう問題を修正。" + +#: ../../../source/news/0.x.txt:86 +msgid "不正な入力値に対してエラーを出力するようにした。" +msgstr "不正な入力値に対してエラーを出力するようにした。" #: ../../../source/news.txt:105 -#, fuzzy -msgid ":doc:`/commands/load` でクラッシュする問題を修正。 #661" -msgstr ":ref:`load` でクラッシュする問題を修正。 #661" +msgid "オーバーフローチェックを強化。" +msgstr "オーバーフローチェックを強化。" -#: ../../../source/news.txt:108 -msgid "実験的" -msgstr "実験的" +#: ../../../source/news.txt:94 +msgid "moozさん" +msgstr "moozさん" -#: ../../../source/news.txt:110 -msgid "grn_table_truncate()を追加。(実験的。問題あり)" -msgstr "grn_table_truncate()を追加。(実験的。問題あり)" +#: ../../../source/news.txt:129 +msgid ":doc:`/commands/table_list` のドキュメントを修正。" +msgstr ":doc:`/commands/table_list` のドキュメントを修正。" -#: ../../../source/news.txt:111 -msgid "truncateコマンドを追加。(実験的。問題あり) #888" -msgstr "truncateコマンドを追加。(実験的。問題あり) #888" +#: ../../../source/news.txt:37 +msgid "Release 1.2.2 - 2011/05/29" +msgstr "Release 1.2.2 - 2011/05/29" -#: ../../../source/news.txt:116 -msgid "@tomotaka_itoさん" -msgstr "@tomotaka_itoさん" +#: ../../../source/news.txt:30 +msgid "Thanks" +msgstr "Thanks" -#: ../../../source/news.txt:119 -msgid "過去のリリース" -msgstr "" +#: ../../../source/news.txt:126 ../../../source/news/1.0.x.txt:188 +msgid "メモリリークを修正。" +msgstr "メモリリークを修正。" -#: ../../../source/news/0.x.txt:6 -msgid "バージョン0.xのお知らせ" -msgstr "" +#: ../../../source/news/0.x.txt:64 +msgid "ディスク使用量計測用" +msgstr "ディスク使用量計測用" -#: ../../../source/news/0.x.txt:9 -msgid "0.7.7リリース - 2010/08/25" -msgstr "0.7.7リリース - 2010/08/25" +#: ../../../source/news/1.0.x.txt:126 +msgid "zlib/LZOサポート付きでビルドされているかをチェックするAPIを追加。 #686" +msgstr "zlib/LZOサポート付きでビルドされているかをチェックするAPIを追加。 #686" + +#: ../../../source/news/1.0.x.txt:166 +msgid "辞書検索のサンプルアプリケーションを追加。" +msgstr "辞書検索のサンプルアプリケーションを追加。" + +#: ../../../source/news/1.0.x.txt:161 +msgid "GeoPointのキャストに対応。#515" +msgstr "GeoPointのキャストに対応。#515" #: ../../../source/news/0.x.txt:14 -#, fuzzy msgid "" "編集距離(レーベンシュタイン距離)を計算する :doc:`/functions/edit_distance` " "()関数の追加。" msgstr "" -"編集距離(レーベンシュタイン距離)を計算する :ref:`edit_distance` ()関数の追" -"加。" - -#: ../../../source/news/0.x.txt:17 -msgid "manを追加。" -msgstr "manを追加。" - -#: ../../../source/news/0.x.txt:19 -#, fuzzy -msgid "" -":doc:`/commands/delete` コマンドでデータの整合性が壊れる場合はエラー を返すよ" -"うにした。" -msgstr "" -":ref:`delete` コマンドでデータの整合性が壊れる場合はエラー を返すようにした。" - -#: ../../../source/news/0.x.txt:22 -msgid "MeCabの辞書のエンコーディング検出処理を改善。" -msgstr "MeCabの辞書のエンコーディング検出処理を改善。" - -#: ../../../source/news/0.x.txt:24 -msgid "デフォルトの設定ファイルを追加。" -msgstr "デフォルトの設定ファイルを追加。" +"編集距離(レーベンシュタイン距離)を計算する :doc:`/functions/edit_distance` " +"()関数の追加。" -#: ../../../source/news/0.x.txt:29 -#, fuzzy +#: ../../../source/news/0.x.txt:75 msgid "" -":doc:`/functions/geo_in_rectangle` ()関数が引数を「左上」と「右下」で はな" -"く、「左下」と「右上」と扱っていた問題を修正。" +"GeoPointの度での指定をサポート。 (例: " +"\"35.6954581363924,139.564207350021\")" msgstr "" -":ref:`geo_in_rectangle` ()関数が引数を「左上」と「右下」で はなく、「左下」と" -"「右上」と扱っていた問題を修正。" +"GeoPointの度での指定をサポート。 (例: " +"\"35.6954581363924,139.564207350021\")" -#: ../../../source/news/0.x.txt:32 -msgid "前方一致検索がマッチしない問題を修正。" -msgstr "前方一致検索がマッチしない問題を修正。" +#: ../../../source/news/0.x.txt:120 +msgid "メモリリークの修正。" +msgstr "メモリリークの修正。" -#: ../../../source/news/0.x.txt:36 -msgid "0.7.6リリース - 2010/08/19" -msgstr "0.7.6リリース - 2010/08/19" +#: ../../../source/news/1.0.x.txt:202 +msgid "shutdownで終了しない問題を修正。#114" +msgstr "shutdownで終了しない問題を修正。#114" -#: ../../../source/news/0.x.txt:41 -msgid "デーモンになるときは標準出力を閉じるようにした。" -msgstr "デーモンになるときは標準出力を閉じるようにした。" +#: ../../../source/news/0.x.txt:94 +msgid "_keyカラムの出力に対応。" +msgstr "_keyカラムの出力に対応。" -#: ../../../source/news/0.x.txt:43 -msgid "PIDファイルを指定する``--pid-path``オプションを追加。" -msgstr "PIDファイルを指定する``--pid-path``オプションを追加。" +#: ../../../source/news/1.0.x.txt:9 +msgid "1.0.8リリース - 2011/02/02" +msgstr "1.0.8リリース - 2011/02/02" -#: ../../../source/news/0.x.txt:45 -msgid "設定ファイルを指定する``--config-path``オプションを追加。" -msgstr "設定ファイルを指定する``--config-path``オプションを追加。" +#: ../../../source/news/1.0.x.txt:30 +msgid "configureの最後に検出したMeCabの情報も表示するようにした。" +msgstr "configureの最後に検出したMeCabの情報も表示するようにした。" -#: ../../../source/news/0.x.txt:47 -msgid "最大キャッシュ数を指定する``--cache-limit``オプションを追加。" -msgstr "最大キャッシュ数を指定する``--cache-limit``オプションを追加。" +#: ../../../source/news.txt:43 +msgid "Removed packages for Ubuntu 10.10 Maverick Meerkat." +msgstr "Removed packages for Ubuntu 10.10 Maverick Meerkat." -#: ../../../source/news/0.x.txt:49 -msgid "設定値を表示する``--show-config``オプションを追加。" -msgstr "設定値を表示する``--show-config``オプションを追加。" +#: ../../../source/news.txt:62 +msgid "Added grn_obj_is_builtin() API." +msgstr "Added grn_obj_is_builtin() API." -#: ../../../source/news/0.x.txt:51 -msgid "指定したファイルからコマンドを読み込む``--file``オプションを追加。" -msgstr "指定したファイルからコマンドを読み込む``--file``オプションを追加。" +#: ../../../source/news/1.0.x.txt:47 +msgid "groonga-suggest-learnerのメモリリークを修正。" +msgstr "groonga-suggest-learnerのメモリリークを修正。" -#: ../../../source/news/0.x.txt:53 +#: ../../../source/news.txt:53 msgid "" -"groongaとMeCabの辞書のエンコーディングが同じかどうかを確 認するようにした。" +"groonga-suggest-httpd: Used \"application/json\" for JSON response instead " +"of \"text/javascript\"." msgstr "" -"groongaとMeCabの辞書のエンコーディングが同じかどうかを確 認するようにした。" +"groonga-suggest-httpd: Used \"application/json\" for JSON response instead " +"of \"text/javascript\"." -#: ../../../source/news/0.x.txt:56 -msgid "Web管理画面:" -msgstr "Web管理画面:" +#: ../../../source/news.txt:108 +msgid "Debian GNU/Linux wheezyのパッケージを追加。" +msgstr "Debian GNU/Linux wheezyのパッケージを追加。" -#: ../../../source/news/0.x.txt:58 -msgid "データロード機能を追加。" -msgstr "データロード機能を追加。" +#: ../../../source/news/1.0.x.txt:117 +msgid "すべてのモジュールで同じ名前の関数をエクスポートするようにした。#624" +msgstr "すべてのモジュールで同じ名前の関数をエクスポートするようにした。#624" -#: ../../../source/news/0.x.txt:59 -msgid "uptimeの表示形式を読みやすい形式に変更。" -msgstr "uptimeの表示形式を読みやすい形式に変更。" +#: ../../../source/news.txt:18 +msgid "groonga command shows failed command on error." +msgstr "groonga command shows failed command on error." -#: ../../../source/news/0.x.txt:61 -msgid "Muninプラグインの追加。" -msgstr "Muninプラグインの追加。" +#: ../../../source/news/1.0.x.txt:55 +msgid "ongaeshiさん" +msgstr "ongaeshiさん" -#: ../../../source/news/0.x.txt:63 -msgid "クエリパフォーマンス計測用" -msgstr "クエリパフォーマンス計測用" +#: ../../../source/news/1.0.x.txt:83 +msgid "" +"MeCabトークナイザーが見つからない時のエラーメッセージをより親切にした。 #790" +msgstr "" +"MeCabトークナイザーが見つからない時のエラーメッセージをより親切にした。 #790" -#: ../../../source/news/0.x.txt:64 -msgid "ディスク使用量計測用" -msgstr "ディスク使用量計測用" +#: ../../../source/news/0.x.txt:108 +msgid "最大キャッシュ数を指定するcache_limitコマンドの追加。" +msgstr "最大キャッシュ数を指定するcache_limitコマンドの追加。" -#: ../../../source/news/0.x.txt:66 -msgid "libedit対応。" -msgstr "libedit対応。" +#: ../../../source/news/1.0.x.txt:252 +msgid "BOM付きUTF-8に対応。" +msgstr "BOM付きUTF-8に対応。" -#: ../../../source/news/0.x.txt:68 -msgid "存在しないデータベースを指定したときのエラーメッセージを改善。" -msgstr "存在しないデータベースを指定したときのエラーメッセージを改善。" +#: ../../../source/news/0.x.txt:85 +msgid "ベクタのGeoPointの出力に対応。" +msgstr "ベクタのGeoPointの出力に対応。" -#: ../../../source/news/0.x.txt:70 -msgid "loadコマンド:" -msgstr "loadコマンド:" +#: ../../../source/news/1.0.x.txt:46 +msgid "grntestで結果の比較が常に失敗していた問題を修正。" +msgstr "grntestで結果の比較が常に失敗していた問題を修正。" -#: ../../../source/news/0.x.txt:72 -msgid "不正な文字を見つけた場合はログに出力。" -msgstr "不正な文字を見つけた場合はログに出力。" +#: ../../../source/news/1.0.x.txt:82 +msgid "NetBSDでのビルドに対応。 (OBATA Akioさんがパッチ作成)" +msgstr "NetBSDでのビルドに対応。 (OBATA Akioさんがパッチ作成)" + +#: ../../../source/news.txt:17 +msgid "Added groonga-query-log-analyzer that analyze query log." +msgstr "Added groonga-query-log-analyzer that analyze query log." #: ../../../source/news/0.x.txt:73 msgid "必要な項目がない場合はログに出力。" msgstr "必要な項目がない場合はログに出力。" -#: ../../../source/news/0.x.txt:74 -msgid "true/false/nullリテラルをサポート。" -msgstr "true/false/nullリテラルをサポート。" +#: ../../../source/news/1.1.x.txt:9 +msgid "1.1.0リリース - 2011/02/09" +msgstr "1.1.0リリース - 2011/02/09" -#: ../../../source/news/0.x.txt:75 +#: ../../../source/news.txt:60 msgid "" -"GeoPointの度での指定をサポート。 (例: " -"\"35.6954581363924,139.564207350021\")" +"plugin: Added grn_plugin_get_system_plugins_dir() and grn_plugin_get_suffix" +"() API." msgstr "" -"GeoPointの度での指定をサポート。 (例: " -"\"35.6954581363924,139.564207350021\")" - -#: ../../../source/news/0.x.txt:77 -msgid "NO_KEYテーブルを参照しているカラム値をサポート。" -msgstr "NO_KEYテーブルを参照しているカラム値をサポート。" - -#: ../../../source/news/0.x.txt:78 -msgid "数値のベクタをサポート。" -msgstr "数値のベクタをサポート。" +"plugin: Added grn_plugin_get_system_plugins_dir() and grn_plugin_get_suffix" +"() API." -#: ../../../source/news/0.x.txt:80 -msgid "selectコマンド" -msgstr "selectコマンド" +#: ../../../source/news/1.1.x.txt:17 +msgid "" +":doc:`/commands/select` の--query内で前方一致検索構文\"キーワード*\"対応。 " +"#837" +msgstr "" +":doc:`/commands/select` の--query内で前方一致検索構文\"キーワード*\"対応。 " +"#837" -#: ../../../source/news/0.x.txt:82 -msgid "索引を用いた高速なGeoPointの検索機能を追加。" -msgstr "索引を用いた高速なGeoPointの検索機能を追加。" +#: ../../../source/news.txt:104 +msgid "WindowsではMinGWでもpthreadを使わないようにした。" +msgstr "WindowsではMinGWでもpthreadを使わないようにした。" -#: ../../../source/news/0.x.txt:83 +#: ../../../source/news/0.x.txt:53 msgid "" -"索引を用いた高速なGeoPointのソート機能を追加。 (ただし複数のソートキーと一緒" -"に使うことはできない。)" +"groongaとMeCabの辞書のエンコーディングが同じかどうかを確 認するようにした。" msgstr "" -"索引を用いた高速なGeoPointのソート機能を追加。 (ただし複数のソートキーと一緒" -"に使うことはできない。)" - -#: ../../../source/news/0.x.txt:85 -msgid "ベクタのGeoPointの出力に対応。" -msgstr "ベクタのGeoPointの出力に対応。" +"groongaとMeCabの辞書のエンコーディングが同じかどうかを確 認するようにした。" -#: ../../../source/news/0.x.txt:86 -msgid "不正な入力値に対してエラーを出力するようにした。" -msgstr "不正な入力値に対してエラーを出力するようにした。" +#: ../../../source/news/0.x.txt:106 +msgid "強制的にロックを解除するclearlockコマンドの追加。" +msgstr "強制的にロックを解除するclearlockコマンドの追加。" -#: ../../../source/news/0.x.txt:88 -msgid "dumpコマンド:" -msgstr "dumpコマンド:" +#: ../../../source/news/1.0.x.txt:29 +msgid "automake 1.9.6でも動作するようにした。 #508" +msgstr "automake 1.9.6でも動作するようにした。 #508" -#: ../../../source/news/0.x.txt:90 -msgid "フラグを数値ではなくキーワードで出力するように変更。" -msgstr "フラグを数値ではなくキーワードで出力するように変更。" +#: ../../../source/news/1.0.x.txt:6 +msgid "バージョン1.0.xのお知らせ" +msgstr "バージョン1.0.xのお知らせ" -#: ../../../source/news/0.x.txt:92 -msgid "column_listコマンド:" -msgstr "column_listコマンド:" +#: ../../../source/news.txt:78 +msgid "suggestのHTTPサーバにlimitパラメーターを追加。#899" +msgstr "suggestのHTTPサーバにlimitパラメーターを追加。#899" -#: ../../../source/news/0.x.txt:94 -msgid "_keyカラムの出力に対応。" -msgstr "_keyカラムの出力に対応。" +#: ../../../source/news/0.x.txt:22 +msgid "MeCabの辞書のエンコーディング検出処理を改善。" +msgstr "MeCabの辞書のエンコーディング検出処理を改善。" -#: ../../../source/news/0.x.txt:96 -msgid "deleteコマンド:" -msgstr "deleteコマンド:" +#: ../../../source/news/1.0.x.txt:150 +msgid "Tomoatsu Shimadaさん" +msgstr "Tomoatsu Shimadaさん" -#: ../../../source/news/0.x.txt:98 -msgid "データに不整合が発生する場合はデータを削除しないように変更。" -msgstr "データに不整合が発生する場合はデータを削除しないように変更。" +#: ../../../source/news.txt:32 +msgid "OBATA Akio" +msgstr "OBATA Akio" -#: ../../../source/news/0.x.txt:100 -msgid "statusコマンド:" -msgstr "statusコマンド:" +#: ../../../source/news/1.0.x.txt:191 +msgid "警告を除去。(MATSUU Takutoさんが報告)" +msgstr "警告を除去。(MATSUU Takutoさんが報告)" -#: ../../../source/news/0.x.txt:102 -msgid "キャッシュ情報を追加。" -msgstr "キャッシュ情報を追加。" +#: ../../../source/news/1.0.x.txt:125 +msgid "右辺が式の演算代入演算子をサポート。 #669" +msgstr "右辺が式の演算代入演算子をサポート。 #669" -#: ../../../source/news/0.x.txt:104 -msgid "データの整合性を確認するcheckコマンドの追加。" -msgstr "データの整合性を確認するcheckコマンドの追加。" +#: ../../../source/news.txt:57 +msgid "MeCab: Added error message from MeCab on MeCab initialize error." +msgstr "MeCab: Added error message from MeCab on MeCab initialize error." -#: ../../../source/news/0.x.txt:106 -msgid "強制的にロックを解除するclearlockコマンドの追加。" -msgstr "強制的にロックを解除するclearlockコマンドの追加。" +#: ../../../source/news/0.x.txt:61 +msgid "Muninプラグインの追加。" +msgstr "Muninプラグインの追加。" -#: ../../../source/news/0.x.txt:108 -msgid "最大キャッシュ数を指定するcache_limitコマンドの追加。" -msgstr "最大キャッシュ数を指定するcache_limitコマンドの追加。" +#: ../../../source/news/0.x.txt:88 +msgid "dumpコマンド:" +msgstr "dumpコマンド:" -#: ../../../source/news/0.x.txt:110 -msgid "フラグメンテーションを解消するdefragコマンドの追加。" -msgstr "フラグメンテーションを解消するdefragコマンドの追加。" +#: ../../../source/news/1.0.x.txt:128 +msgid "grn_db_touch()を公開。 #703" +msgstr "grn_db_touch()を公開。 #703" -#: ../../../source/news/0.x.txt:112 -msgid "データ投入後のインデックスカラム作成に対応。" -msgstr "データ投入後のインデックスカラム作成に対応。" +#: ../../../source/news.txt:48 +msgid "" +"groonga: Renamed :option:`--address <-a>` option to :option:`--bind-address`." +msgstr "" +"groonga: Renamed :option:`--address <-a>` option to :option:`--bind-address`." -#: ../../../source/news/0.x.txt:117 -msgid "不正なsortキーを指定された場合はSEGVする問題の修正。" -msgstr "不正なsortキーを指定された場合はSEGVする問題の修正。" +#: ../../../source/news.txt:20 +msgid "Improved error message of :doc:`commands/column_create`. #952" +msgstr "Improved error message of :doc:`commands/column_create`. #952" -#: ../../../source/news/0.x.txt:118 -msgid "selectの出力に不正なカラムを指定された時にSEGVする問題を修正。" -msgstr "selectの出力に不正なカラムを指定された時にSEGVする問題を修正。" +#: ../../../source/news/1.0.x.txt:160 +msgid "Fedoraのオフィシャルリポジトリに登録。(Daiki Uenoさん)" +msgstr "Fedoraのオフィシャルリポジトリに登録。(Daiki Uenoさん)" -#: ../../../source/news/0.x.txt:119 -msgid "空のベクタをloadするとSEGVする問題の修正。" -msgstr "空のベクタをloadするとSEGVする問題の修正。" +#: ../../../source/news/1.0.x.txt:122 +msgid "" +"HTTP経由で存在しないパスにアクセスした時に存在しないパスを報告するように し" +"た。" +msgstr "" +"HTTP経由で存在しないパスにアクセスした時に存在しないパスを報告するように し" +"た。" -#: ../../../source/news/0.x.txt:120 -msgid "メモリリークの修正。" -msgstr "メモリリークの修正。" +#: ../../../source/news.txt:19 +msgid "groonga command shows file name and line no on error." +msgstr "groonga command shows file name and line no on error." -#: ../../../source/news/0.x.txt:121 -msgid "drilldown時に参照先が存在しない場合にSEGVする問題の修正。" -msgstr "drilldown時に参照先が存在しない場合にSEGVする問題の修正。" +#: ../../../source/news/0.x.txt:70 +msgid "loadコマンド:" +msgstr "loadコマンド:" -#: ../../../source/news/0.x.txt:126 -msgid "おばたさん" -msgstr "おばたさん" +#: ../../../source/news/1.0.x.txt:79 +msgid ":doc:`/commands/column_list` のXML出力対応。 #748" +msgstr ":doc:`/commands/column_list` のXML出力対応。 #748" -#: ../../../source/news/1.0.x.txt:6 -msgid "バージョン1.0.xのお知らせ" +#: ../../../source/news/0.x.txt:19 +msgid "" +":doc:`/commands/delete` コマンドでデータの整合性が壊れる場合はエラー を返すよ" +"うにした。" msgstr "" +":doc:`/commands/delete` コマンドでデータの整合性が壊れる場合はエラー を返すよ" +"うにした。" -#: ../../../source/news/1.0.x.txt:9 -msgid "1.0.8リリース - 2011/02/02" -msgstr "1.0.8リリース - 2011/02/02" - -#: ../../../source/news/1.0.x.txt:14 +#: ../../../source/news.txt:84 msgid "" -"ShortText型カラムへデータ追加・削除を繰り返すとデータが壊れ ることがある問題" -"を修正。 (Mitsuhiro Shibuyaさんが報告)" +"同時に複数のデータベースを開いているとき、1つでもデータベー スを閉じると関連" +"するプラグインも閉じられてしまう問題を修正。 #894" msgstr "" -"ShortText型カラムへデータ追加・削除を繰り返すとデータが壊れ ることがある問題" -"を修正。 (Mitsuhiro Shibuyaさんが報告)" +"同時に複数のデータベースを開いているとき、1つでもデータベー スを閉じると関連" +"するプラグインも閉じられてしまう問題を修正。 #894" #: ../../../source/news/1.0.x.txt:21 msgid "Mitsuhiro Shibuyaさん" msgstr "Mitsuhiro Shibuyaさん" -#: ../../../source/news/1.0.x.txt:24 -msgid "1.0.7リリース - 2011/01/29" -msgstr "1.0.7リリース - 2011/01/29" - -#: ../../../source/news/1.0.x.txt:29 -msgid "automake 1.9.6でも動作するようにした。 #508" -msgstr "automake 1.9.6でも動作するようにした。 #508" - -#: ../../../source/news/1.0.x.txt:30 -msgid "configureの最後に検出したMeCabの情報も表示するようにした。" -msgstr "configureの最後に検出したMeCabの情報も表示するようにした。" - -#: ../../../source/news/1.0.x.txt:31 -msgid "エラーメッセージをわかりやすくした。" -msgstr "エラーメッセージをわかりやすくした。" +#: ../../../source/news/1.0.x.txt:268 +msgid "1.0.0リリース - 2010/08/29" +msgstr "1.0.0リリース - 2010/08/29" -#: ../../../source/news/1.0.x.txt:32 +#: ../../../source/news/1.0.x.txt:48 msgid "" -"--enable-memory-debug付きでビルドしたときに終了時に未開放のメモリが 割り当て" -"られた場所を表示するようにした。" +":doc:`/commands/load` 時のメモリリークを修正。 (Kenichi Aramakiさんが報告)" msgstr "" -"--enable-memory-debug付きでビルドしたときに終了時に未開放のメモリが 割り当て" -"られた場所を表示するようにした。" +":doc:`/commands/load` 時のメモリリークを修正。 (Kenichi Aramakiさんが報告)" -#: ../../../source/news/1.0.x.txt:34 -#, fuzzy -msgid "" -"ベクタの値を :doc:`/commands/load` するときにキャストに失敗したら、そ のこと" -"を報告するようにした。" -msgstr "" -"ベクタの値を :ref:`load` するときにキャストに失敗したら、そ のことを報告する" -"ようにした。" +#: ../../../source/news/0.x.txt:90 +msgid "フラグを数値ではなくキーワードで出力するように変更。" +msgstr "フラグを数値ではなくキーワードで出力するように変更。" -#: ../../../source/news/1.0.x.txt:36 -msgid "" -"groongaのメモリリークを検出するユーティリティツール groonga-check-memory-" -"leak.rbを追加。(インストールはされない。)" -msgstr "" -"groongaのメモリリークを検出するユーティリティツール groonga-check-memory-" -"leak.rbを追加。(インストールはされない。)" - -#: ../../../source/news/1.0.x.txt:38 -#, fuzzy -msgid ":doc:`/commands/dump` がテーブル単位のダンプに対応。" -msgstr ":ref:`dump` がテーブル単位のダンプに対応。" - -#: ../../../source/news/1.0.x.txt:43 -msgid "" -"Mac OS Xでモジュールの拡張子の検出に失敗する問題を修正。 (ongaeshiさんが報" -"告)" -msgstr "" -"Mac OS Xでモジュールの拡張子の検出に失敗する問題を修正。 (ongaeshiさんが報" -"告)" - -#: ../../../source/news/1.0.x.txt:45 -msgid "Mac OS Xではrealloc(ptr, 0)ではなくfree()を使うように修正。" -msgstr "Mac OS Xではrealloc(ptr, 0)ではなくfree()を使うように修正。" - -#: ../../../source/news/1.0.x.txt:46 -msgid "grntestで結果の比較が常に失敗していた問題を修正。" -msgstr "grntestで結果の比較が常に失敗していた問題を修正。" - -#: ../../../source/news/1.0.x.txt:47 -msgid "groonga-suggest-learnerのメモリリークを修正。" -msgstr "groonga-suggest-learnerのメモリリークを修正。" +#: ../../../source/news/1.0.x.txt:108 +msgid "Tomita Masahiroさん" +msgstr "Tomita Masahiroさん" -#: ../../../source/news/1.0.x.txt:48 -#, fuzzy -msgid "" -":doc:`/commands/load` 時のメモリリークを修正。 (Kenichi Aramakiさんが報告)" -msgstr ":ref:`load` 時のメモリリークを修正。 (Kenichi Aramakiさんが報告)" +#: ../../../source/news.txt:79 +msgid "grntest: SIGINTでの中断に対応。" +msgstr "grntest: SIGINTでの中断に対応。" -#: ../../../source/news/1.0.x.txt:50 -msgid "ベクタの値を出力するときのメモリリークを修正。" -msgstr "ベクタの値を出力するときのメモリリークを修正。" +#: ../../../source/news/1.0.x.txt:153 +msgid "1.0.3リリース - 2010/10/29" +msgstr "1.0.3リリース - 2010/10/29" -#: ../../../source/news/1.0.x.txt:55 -msgid "ongaeshiさん" -msgstr "ongaeshiさん" +#: ../../../source/news/1.0.x.txt:165 +msgid ":doc:`/troubleshooting` を追加。" +msgstr ":doc:`/troubleshooting` を追加。" -#: ../../../source/news/1.0.x.txt:56 -msgid "Kenichi Aramakiさん" -msgstr "Kenichi Aramakiさん" +#: ../../../source/news/0.x.txt:56 +msgid "Web管理画面:" +msgstr "Web管理画面:" -#: ../../../source/news/1.0.x.txt:59 -msgid "1.0.6リリース - 2010/12/31" -msgstr "1.0.6リリース - 2010/12/31" +#: ../../../source/news/1.0.x.txt:179 +msgid "記号でトークンを区切るTokenBigramSplitSymbolを使用。 #225" +msgstr "記号でトークンを区切るTokenBigramSplitSymbolを使用。 #225" -#: ../../../source/news/1.0.x.txt:64 -#, fuzzy -msgid "\\*BSDでビルドできない問題を修正。(OBATA Akioさんが報告)" -msgstr "*BSDでビルドできない問題を修正。(OBATA Akioさんが報告)" +#: ../../../source/news.txt:42 +msgid "Added packages for Ubuntu 11.04 Natty Narwhal." +msgstr "Added packages for Ubuntu 11.04 Natty Narwhal." -#: ../../../source/news/1.0.x.txt:69 ../../../source/news/1.0.x.txt:109 -#: ../../../source/news/1.0.x.txt:149 ../../../source/news/1.0.x.txt:239 -#: ../../../source/news/1.0.x.txt:265 -msgid "OBATA Akioさん" -msgstr "OBATA Akioさん" +#: ../../../source/news/1.0.x.txt:198 +msgid "" +"レコードを追加・削除したパトリシアトライからID順に取り出すカーソルが おかしな" +"結果を返す問題を修正。#538" +msgstr "" +"レコードを追加・削除したパトリシアトライからID順に取り出すカーソルが おかしな" +"結果を返す問題を修正。#538" -#: ../../../source/news/1.0.x.txt:72 -msgid "1.0.5リリース - 2010/12/29" -msgstr "1.0.5リリース - 2010/12/29" +#: ../../../source/news/0.x.txt:45 +msgid "設定ファイルを指定する``--config-path``オプションを追加。" +msgstr "設定ファイルを指定する``--config-path``オプションを追加。" -#: ../../../source/news/1.0.x.txt:77 -msgid "サジェスト機能用の学習プログラムを追加。" -msgstr "サジェスト機能用の学習プログラムを追加。" +#: ../../../source/news.txt:72 +msgid "1.2.1リリース - 2011/04/29" +msgstr "1.2.1リリース - 2011/04/29" -#: ../../../source/news/1.0.x.txt:78 -msgid "groongaスクリプト内での行コメントに対応。(「#」以降を無視) #723" -msgstr "groongaスクリプト内での行コメントに対応。(「#」以降を無視) #723" +#: ../../../source/news.txt:103 +msgid "Homebrewでのインストールドキュメントを追加。" +msgstr "Homebrewでのインストールドキュメントを追加。" -#: ../../../source/news/1.0.x.txt:79 -#, fuzzy -msgid ":doc:`/commands/column_list` のXML出力対応。 #748" -msgstr ":ref:`column_list` のXML出力対応。 #748" +#: ../../../source/news/0.x.txt:104 +msgid "データの整合性を確認するcheckコマンドの追加。" +msgstr "データの整合性を確認するcheckコマンドの追加。" -#: ../../../source/news/1.0.x.txt:80 -msgid "主キーが数値のテーブルを参照しているカラムでの比較演算に対応。 #776" -msgstr "主キーが数値のテーブルを参照しているカラムでの比較演算に対応。 #776" +#: ../../../source/news/1.0.x.txt:189 +msgid "" +"--disable-libeditオプションがヘルプメッセージと違う問題の修正。 (MATSUU " +"Takutoさんが報告)" +msgstr "" +"--disable-libeditオプションがヘルプメッセージと違う問題の修正。 (MATSUU " +"Takutoさんが報告)" -#: ../../../source/news/1.0.x.txt:81 -msgid "grntestがmlockの情報出力に対応。" -msgstr "grntestがmlockの情報出力に対応。" +#: ../../../source/news/0.x.txt:32 +msgid "前方一致検索がマッチしない問題を修正。" +msgstr "前方一致検索がマッチしない問題を修正。" -#: ../../../source/news/1.0.x.txt:82 -msgid "NetBSDでのビルドに対応。 (OBATA Akioさんがパッチ作成)" -msgstr "NetBSDでのビルドに対応。 (OBATA Akioさんがパッチ作成)" +#: ../../../source/news.txt:49 +msgid "groonga-suggest-httpd: Renamed --address option to --bind-address." +msgstr "groonga-suggest-httpd: Renamed --address option to --bind-address." -#: ../../../source/news/1.0.x.txt:83 +#: ../../../source/news/1.0.x.txt:36 msgid "" -"MeCabトークナイザーが見つからない時のエラーメッセージをより親切にした。 #790" +"groongaのメモリリークを検出するユーティリティツール groonga-check-memory-" +"leak.rbを追加。(インストールはされない。)" msgstr "" -"MeCabトークナイザーが見つからない時のエラーメッセージをより親切にした。 #790" +"groongaのメモリリークを検出するユーティリティツール groonga-check-memory-" +"leak.rbを追加。(インストールはされない。)" -#: ../../../source/news/1.0.x.txt:84 +#: ../../../source/news/1.0.x.txt:233 +msgid "パッケージミスを修正。 (OBATA Akioさんが報告)" +msgstr "パッケージミスを修正。 (OBATA Akioさんが報告)" + +#: ../../../source/news.txt:50 msgid "" -"開いているファイルディスクリプタが多すぎてacceptできない状態の負荷を低減。 " -"#802" +"Changed admin HTML install directory to $PREFIX/share/groonga/html/admin/ " +"from $PREFIX/share/groonga/admin_html/." msgstr "" -"開いているファイルディスクリプタが多すぎてacceptできない状態の負荷を低減。 " -"#802" +"Changed admin HTML install directory to $PREFIX/share/groonga/html/admin/ " +"from $PREFIX/share/groonga/admin_html/." #: ../../../source/news/1.0.x.txt:85 msgid "DragonFlyでのビルドに対応。 (OBATA Akioさんが報告)" msgstr "DragonFlyでのビルドに対応。 (OBATA Akioさんが報告)" -#: ../../../source/news/1.0.x.txt:88 ../../../source/news/1.0.x.txt:133 -#: ../../../source/news/1.0.x.txt:177 ../../../source/news/1.0.x.txt:225 -msgid "変更" -msgstr "変更" +#: ../../../source/news/1.1.x.txt:14 +msgid "TokenDelimitNullトークナイザーを追加。" +msgstr "TokenDelimitNullトークナイザーを追加。" -#: ../../../source/news/1.0.x.txt:90 -#, fuzzy -msgid "" -":doc:`/commands/table_list` のXML出力のタグ名をより適切な名前に変更。 #757" -msgstr ":ref:`table_list` のXML出力のタグ名をより適切な名前に変更。 #757" +#: ../../../source/news/0.x.txt:82 +msgid "索引を用いた高速なGeoPointの検索機能を追加。" +msgstr "索引を用いた高速なGeoPointの検索機能を追加。" -#: ../../../source/news/1.0.x.txt:95 -#, fuzzy -msgid "" -":doc:`/commands/load` で存在しないカラムを--columnsで指定するとクラッシュする" -"問題を修正。 (Masahiro Tomitaさんが報告) #751" -msgstr "" -":ref:`load` で存在しないカラムを--columnsで指定するとクラッシュする問題を修" -"正。 (Masahiro Tomitaさんが報告) #751" +#: ../../../source/news/1.0.x.txt:217 +msgid "1.0.2リリース - 2010/09/09" +msgstr "1.0.2リリース - 2010/09/09" -#: ../../../source/news/1.0.x.txt:97 -#, fuzzy +#: ../../../source/news/1.0.x.txt:187 +msgid "grn_table_cursor_open()のドキュメントを修正。" +msgstr "grn_table_cursor_open()のドキュメントを修正。" + +#: ../../../source/news/1.0.x.txt:284 msgid "" -":doc:`/commands/load` で配列でTABLE_NO_KEYなテーブルにレコードをロードできな" -"い問題を修正。 (Masahiro Tomitaさんが報告) #750" +":doc:`/commands/delete` コマンドでキーがShortText以外のレコードを削除できない" +"問題の修正。(Itagaki Takahiroさんが報告)" msgstr "" -":ref:`load` で配列でTABLE_NO_KEYなテーブルにレコードをロードできない問題を修" -"正。 (Masahiro Tomitaさんが報告) #750" +":doc:`/commands/delete` コマンドでキーがShortText以外のレコードを削除できない" +"問題の修正。(Itagaki Takahiroさんが報告)" -#: ../../../source/news/1.0.x.txt:99 -#, fuzzy +#: ../../../source/news.txt:130 msgid "" -":doc:`/commands/delete` でTABLE_NO_KEYなテーブルのレコードを削除するとテーブ" -"ルが壊れる 問題を修正。 (Masahiro Tomitaさんがパッチ作成) #794" +":doc:`/commands/load` で_valueを指定するとメモリリークする問題を修正。 #878" msgstr "" -":ref:`delete` でTABLE_NO_KEYなテーブルのレコードを削除するとテーブルが壊れる " -"問題を修正。 (Masahiro Tomitaさんがパッチ作成) #794" +":doc:`/commands/load` で_valueを指定するとメモリリークする問題を修正。 #878" -#: ../../../source/news/1.0.x.txt:102 -#, fuzzy +#: ../../../source/news/1.0.x.txt:43 msgid "" -":doc:`/commands/load` で不正なJSONを指定した場合にそれ以降コマンドを受け付け" -"なくなる 問題を修正。 #807" +"Mac OS Xでモジュールの拡張子の検出に失敗する問題を修正。 (ongaeshiさんが報" +"告)" msgstr "" -":ref:`load` で不正なJSONを指定した場合にそれ以降コマンドを受け付けなくなる 問" -"題を修正。 #807" - -#: ../../../source/news/1.0.x.txt:108 -msgid "Tomita Masahiroさん" -msgstr "Tomita Masahiroさん" +"Mac OS Xでモジュールの拡張子の検出に失敗する問題を修正。 (ongaeshiさんが報" +"告)" -#: ../../../source/news/1.0.x.txt:112 -msgid "1.0.4リリース - 2010/11/29" -msgstr "1.0.4リリース - 2010/11/29" +#: ../../../source/news/0.x.txt:126 +msgid "おばたさん" +msgstr "おばたさん" -#: ../../../source/news/1.0.x.txt:117 -msgid "すべてのモジュールで同じ名前の関数をエクスポートするようにした。#624" -msgstr "すべてのモジュールで同じ名前の関数をエクスポートするようにした。#624" +#: ../../../source/news.txt:82 ../../../source/news.txt:116 +#: ../../../source/news/0.x.txt:27 ../../../source/news/0.x.txt:115 +#: ../../../source/news/1.0.x.txt:12 ../../../source/news/1.0.x.txt:41 +#: ../../../source/news/1.0.x.txt:62 ../../../source/news/1.0.x.txt:93 +#: ../../../source/news/1.0.x.txt:139 ../../../source/news/1.0.x.txt:185 +#: ../../../source/news/1.0.x.txt:231 ../../../source/news/1.0.x.txt:255 +#: ../../../source/news/1.0.x.txt:278 ../../../source/news/1.1.x.txt:22 +msgid "修正" +msgstr "修正" -#: ../../../source/news/1.0.x.txt:118 -msgid "不正な名前を指定したときに指定された名前も報告するようにした。" -msgstr "不正な名前を指定したときに指定された名前も報告するようにした。" +#: ../../../source/news/1.0.x.txt:88 ../../../source/news/1.0.x.txt:133 +#: ../../../source/news/1.0.x.txt:177 ../../../source/news/1.0.x.txt:225 +msgid "変更" +msgstr "変更" -#: ../../../source/news/1.0.x.txt:119 -#, fuzzy +#: ../../../source/news/1.1.x.txt:25 msgid "" -":doc:`/commands/select` の--filter内での数値比較演算をサポート。 (@s3kiさん" -"が報告)" +"サンプル内のスクリプトに実行属性がつかない問題を修正。 (Daiki Uenoさんが報" +"告)" msgstr "" -":ref:`select` の--filter内での数値比較演算をサポート。 (@s3kiさんが報告)" +"サンプル内のスクリプトに実行属性がつかない問題を修正。 (Daiki Uenoさんが報" +"告)" -#: ../../../source/news/1.0.x.txt:120 -#, fuzzy -msgid ":doc:`/grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690" -msgstr ":ref:`grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690" +#: ../../../source/news.txt:136 +msgid "grn_table_truncate()を追加。(実験的。問題あり)" +msgstr "grn_table_truncate()を追加。(実験的。問題あり)" -#: ../../../source/news/1.0.x.txt:121 -msgid "Int8/UInt8/Int16/UInt16の等値比較にC言語の比較演算子を使用。 #660" -msgstr "Int8/UInt8/Int16/UInt16の等値比較にC言語の比較演算子を使用。 #660" +#: ../../../source/news.txt:46 +msgid "document: Started English support. (not completed yet.)" +msgstr "document: Started English support. (not completed yet.)" -#: ../../../source/news/1.0.x.txt:122 -msgid "" -"HTTP経由で存在しないパスにアクセスした時に存在しないパスを報告するように し" -"た。" -msgstr "" -"HTTP経由で存在しないパスにアクセスした時に存在しないパスを報告するように し" -"た。" +#: ../../../source/news.txt:128 +msgid ":doc:`/commands/column_list` のドキュメントを修正。 #758" +msgstr ":doc:`/commands/column_list` のドキュメントを修正。 #758" -#: ../../../source/news/1.0.x.txt:124 -msgid "grn_table_cursor_next()をGRN_CURSOR_COLUMN_INDEX対応にした。" -msgstr "grn_table_cursor_next()をGRN_CURSOR_COLUMN_INDEX対応にした。" +#: ../../../source/news/0.x.txt:119 +msgid "空のベクタをloadするとSEGVする問題の修正。" +msgstr "空のベクタをloadするとSEGVする問題の修正。" -#: ../../../source/news/1.0.x.txt:125 -msgid "右辺が式の演算代入演算子をサポート。 #669" -msgstr "右辺が式の演算代入演算子をサポート。 #669" +#: ../../../source/news/1.1.x.txt:24 +msgid "ログにタイムスタンプの秒より小さい値が常に0になる問題を修正。" +msgstr "ログにタイムスタンプの秒より小さい値が常に0になる問題を修正。" -#: ../../../source/news/1.0.x.txt:126 -msgid "zlib/LZOサポート付きでビルドされているかをチェックするAPIを追加。 #686" -msgstr "zlib/LZOサポート付きでビルドされているかをチェックするAPIを追加。 #686" +#: ../../../source/news/1.0.x.txt:168 +msgid "メモリデバッグ用オプション--enable-memory-debugを追加。" +msgstr "メモリデバッグ用オプション--enable-memory-debugを追加。" -#: ../../../source/news/1.0.x.txt:127 -msgid "grn_table_at()を公開。" -msgstr "grn_table_at()を公開。" +#: ../../../source/news/1.0.x.txt:78 +msgid "groongaスクリプト内での行コメントに対応。(「#」以降を無視) #723" +msgstr "groongaスクリプト内での行コメントに対応。(「#」以降を無視) #723" -#: ../../../source/news/1.0.x.txt:128 -msgid "grn_db_touch()を公開。 #703" -msgstr "grn_db_touch()を公開。 #703" - -#: ../../../source/news/1.0.x.txt:129 -msgid "コメント行に対応。 #723" -msgstr "コメント行に対応。 #723" +#: ../../../source/news/0.x.txt:58 +msgid "データロード機能を追加。" +msgstr "データロード機能を追加。" -#: ../../../source/news/1.0.x.txt:130 -msgid "grn_bool型を追加。 #713" -msgstr "grn_bool型を追加。 #713" +#: ../../../source/news/1.0.x.txt:206 +msgid "インストールドキュメントの誤字を修正。(SHIMODA Hiroshiさんが報告)" +msgstr "インストールドキュメントの誤字を修正。(SHIMODA Hiroshiさんが報告)" -#: ../../../source/news/1.0.x.txt:135 +#: ../../../source/news.txt:118 msgid "" -"プラグインの置き場所を変更: lib/groonga/modules/ -> lib/groonga/plugins/ #624" +"autoconf 2.59環境において、ファイルシステムのルート直下に groongaディレクトリ" +"を作成しようとする問題を修正。 #833" msgstr "" -"プラグインの置き場所を変更: lib/groonga/modules/ -> lib/groonga/plugins/ #624" - -#: ../../../source/news/1.0.x.txt:141 -msgid "ドキュメントの誤字を修正。(OBATA Akioさんが報告)" -msgstr "ドキュメントの誤字を修正。(OBATA Akioさんが報告)" +"autoconf 2.59環境において、ファイルシステムのルート直下に groongaディレクトリ" +"を作成しようとする問題を修正。 #833" -#: ../../../source/news/1.0.x.txt:142 -msgid "GRN_CURSOR_PREFIXが動作しない問題を修正。" -msgstr "GRN_CURSOR_PREFIXが動作しない問題を修正。" +#: ../../../source/news/1.0.x.txt:197 +msgid "deleteが常に失敗する問題を修正。#541" +msgstr "deleteが常に失敗する問題を修正。#541" -#: ../../../source/news/1.0.x.txt:143 -msgid "索引が不正に大きくなる問題を修正。(Tomoatsu Shimadaさんが報告) #689" -msgstr "索引が不正に大きくなる問題を修正。(Tomoatsu Shimadaさんが報告) #689" +#: ../../../source/news.txt:44 +msgid "RPM: Split server related packages to groonga-server package." +msgstr "RPM: Split server related packages to groonga-server package." -#: ../../../source/news/1.0.x.txt:148 -msgid "@s3kiさん" -msgstr "@s3kiさん" +#: ../../../source/news/0.x.txt:63 +msgid "クエリパフォーマンス計測用" +msgstr "クエリパフォーマンス計測用" -#: ../../../source/news/1.0.x.txt:150 -msgid "Tomoatsu Shimadaさん" -msgstr "Tomoatsu Shimadaさん" +#: ../../../source/news/1.0.x.txt:45 +msgid "Mac OS Xではrealloc(ptr, 0)ではなくfree()を使うように修正。" +msgstr "Mac OS Xではrealloc(ptr, 0)ではなくfree()を使うように修正。" -#: ../../../source/news/1.0.x.txt:153 -msgid "1.0.3リリース - 2010/10/29" -msgstr "1.0.3リリース - 2010/10/29" +#: ../../../source/news.txt:131 +msgid ":doc:`/commands/load` でクラッシュする問題を修正。 #661" +msgstr ":doc:`/commands/load` でクラッシュする問題を修正。 #661" -#: ../../../source/news/1.0.x.txt:158 +#: ../../../source/news/1.0.x.txt:170 msgid "" -"CentOS/Fedora用パッケージをディストリビューションのルールに従うように改良。 " -"(上野乃毅さん)" +"テキストから数値へのキャスト処理を強化。#612, #613 (Itagaki Takahiroさんが報" +"告)" msgstr "" -"CentOS/Fedora用パッケージをディストリビューションのルールに従うように改良。 " -"(上野乃毅さん)" +"テキストから数値へのキャスト処理を強化。#612, #613 (Itagaki Takahiroさんが報" +"告)" -#: ../../../source/news/1.0.x.txt:160 -msgid "Fedoraのオフィシャルリポジトリに登録。(Daiki Uenoさん)" -msgstr "Fedoraのオフィシャルリポジトリに登録。(Daiki Uenoさん)" +#: ../../../source/news/0.x.txt:41 +msgid "デーモンになるときは標準出力を閉じるようにした。" +msgstr "デーモンになるときは標準出力を閉じるようにした。" -#: ../../../source/news/1.0.x.txt:161 -msgid "GeoPointのキャストに対応。#515" -msgstr "GeoPointのキャストに対応。#515" +#: ../../../source/news.txt:127 +msgid "小数形式のTimeリテラルをロードするとミリ秒情報が落ちる問題を修正。 #880" +msgstr "" +"小数形式のTimeリテラルをロードするとミリ秒情報が落ちる問題を修正。 #880" -#: ../../../source/news/1.0.x.txt:162 -msgid "groongaコマンドに、--defalt-command-versionオプションの追加。" -msgstr "groongaコマンドに、--defalt-command-versionオプションの追加。" +#: ../../../source/news/1.0.x.txt:248 +msgid "CentOS 5/Fedora 13用RPMの提供。(Daiki Uenoさん作成のspecがベース)" +msgstr "CentOS 5/Fedora 13用RPMの提供。(Daiki Uenoさん作成のspecがベース)" -#: ../../../source/news/1.0.x.txt:163 -msgid "statusの出力結果にコマンドバージョンを追加。" -msgstr "statusの出力結果にコマンドバージョンを追加。" +#: ../../../source/news.txt:106 +msgid "位置情報の入力値チェックを強化。" +msgstr "位置情報の入力値チェックを強化。" -#: ../../../source/news/1.0.x.txt:164 -#, fuzzy -msgid ":doc:`/spec/search` の仕様を追加。" -msgstr ":ref:`spec_search` の仕様を追加。" +#: ../../../source/news.txt:93 +msgid "ICHII Takashiさん" +msgstr "ICHII Takashiさん" -#: ../../../source/news/1.0.x.txt:165 -#, fuzzy -msgid ":doc:`/troubleshooting` を追加。" -msgstr ":ref:`troubleshooting` を追加。" +#: ../../../source/news/1.0.x.txt:141 +msgid "ドキュメントの誤字を修正。(OBATA Akioさんが報告)" +msgstr "ドキュメントの誤字を修正。(OBATA Akioさんが報告)" -#: ../../../source/news/1.0.x.txt:166 -msgid "辞書検索のサンプルアプリケーションを追加。" -msgstr "辞書検索のサンプルアプリケーションを追加。" +#: ../../../source/news/1.0.x.txt:173 +msgid "" +":doc:`/spec/search` の挙動を動的に変更する``--match-escalation-threashold`` " +"起動オプションと``--match_escalation_threshold``selectオプションを追加。 #628" +msgstr "" +":doc:`/spec/search` の挙動を動的に変更する``--match-escalation-threashold`` " +"起動オプションと``--match_escalation_threshold``selectオプションを追加。 #628" -#: ../../../source/news/1.0.x.txt:167 -msgid "pkg-configがない場合はlibeditを検出しないようにした。 #540" -msgstr "pkg-configがない場合はlibeditを検出しないようにした。 #540" +#: ../../../source/news/1.0.x.txt:234 +msgid "GeoPointの度表記の解釈を修正。 #460" +msgstr "GeoPointの度表記の解釈を修正。 #460" -#: ../../../source/news/1.0.x.txt:168 -msgid "メモリデバッグ用オプション--enable-memory-debugを追加。" -msgstr "メモリデバッグ用オプション--enable-memory-debugを追加。" +#: ../../../source/news.txt:88 +msgid "チュートリアル中のtypoを修正。(moozさんが修正)" +msgstr "チュートリアル中のtypoを修正。(moozさんが修正)" -#: ../../../source/news/1.0.x.txt:169 -msgid "不正な関数呼び出しをチェックするようにした。#596" -msgstr "不正な関数呼び出しをチェックするようにした。#596" +#: ../../../source/news/1.0.x.txt:213 ../../../source/news/1.0.x.txt:289 +msgid "Itagaki Takahiroさん" +msgstr "Itagaki Takahiroさん" -#: ../../../source/news/1.0.x.txt:170 -msgid "" -"テキストから数値へのキャスト処理を強化。#612, #613 (Itagaki Takahiroさんが報" -"告)" -msgstr "" -"テキストから数値へのキャスト処理を強化。#612, #613 (Itagaki Takahiroさんが報" -"告)" +#: ../../../source/news.txt:58 +msgid "suggest: Added prefix_search parameter to suggest command. #909" +msgstr "suggest: Added prefix_search parameter to suggest command. #909" -#: ../../../source/news/1.0.x.txt:172 -msgid "クライアントモードでの--fileオプションのサポート。#578" -msgstr "クライアントモードでの--fileオプションのサポート。#578" +#: ../../../source/news/1.1.x.txt:6 +msgid "バージョン1.1.xのお知らせ" +msgstr "バージョン1.1.xのお知らせ" -#: ../../../source/news/1.0.x.txt:173 -#, fuzzy -msgid "" -":doc:`/spec/search` の挙動を動的に変更する``--match-escalation-threashold`` " -"起動オプションと``--match_escalation_threshold``selectオプションを追加。 #628" -msgstr "" -":ref:`spec_search` の挙動を動的に変更する``--match-escalation-threashold`` 起" -"動オプションと``--match_escalation_threshold``selectオプションを追加。 #628" +#: ../../../source/news/1.0.x.txt:50 +msgid "ベクタの値を出力するときのメモリリークを修正。" +msgstr "ベクタの値を出力するときのメモリリークを修正。" -#: ../../../source/news/1.0.x.txt:179 -msgid "記号でトークンを区切るTokenBigramSplitSymbolを使用。 #225" -msgstr "記号でトークンを区切るTokenBigramSplitSymbolを使用。 #225" +#: ../../../source/news.txt:107 +msgid "インデックスを用いたジオサーチの例をチュートリアルに追加。 #438" +msgstr "インデックスを用いたジオサーチの例をチュートリアルに追加。 #438" -#: ../../../source/news/1.0.x.txt:180 -msgid "時間の解像度をナノ秒に変更。" -msgstr "時間の解像度をナノ秒に変更。" +#: ../../../source/news.txt:14 ../../../source/news.txt:40 +msgid "Improvements" +msgstr "Improvements" -#: ../../../source/news/1.0.x.txt:181 -msgid "" -"パッケージを提供するUbuntuのバージョンをHardy, Lucidから Lucid, Marverickに変" -"更。" -msgstr "" -"パッケージを提供するUbuntuのバージョンをHardy, Lucidから Lucid, Marverickに変" -"更。" +#: ../../../source/news/0.x.txt:47 +msgid "最大キャッシュ数を指定する``--cache-limit``オプションを追加。" +msgstr "最大キャッシュ数を指定する``--cache-limit``オプションを追加。" -#: ../../../source/news/1.0.x.txt:187 -msgid "grn_table_cursor_open()のドキュメントを修正。" -msgstr "grn_table_cursor_open()のドキュメントを修正。" +#: ../../../source/news.txt:26 +msgid "fix get command crash. (Reported by OBATA Akio)" +msgstr "fix get command crash. (Reported by OBATA Akio)" -#: ../../../source/news/1.0.x.txt:189 -msgid "" -"--disable-libeditオプションがヘルプメッセージと違う問題の修正。 (MATSUU " -"Takutoさんが報告)" -msgstr "" -"--disable-libeditオプションがヘルプメッセージと違う問題の修正。 (MATSUU " -"Takutoさんが報告)" +#: ../../../source/news/1.0.x.txt:59 +msgid "1.0.6リリース - 2010/12/31" +msgstr "1.0.6リリース - 2010/12/31" -#: ../../../source/news/1.0.x.txt:191 -msgid "警告を除去。(MATSUU Takutoさんが報告)" -msgstr "警告を除去。(MATSUU Takutoさんが報告)" +#: ../../../source/news.txt:77 +msgid "suggestコマンドにthresholdパラメーターを追加。#895" +msgstr "suggestコマンドにthresholdパラメーターを追加。#895" -#: ../../../source/news/1.0.x.txt:192 +#: ../../../source/news/1.0.x.txt:273 msgid "" -"grn_pat_at()でエンコードされたキーが常にGRN_NILになってしまう問題を修正。#514" +"指定したクエリに対する補完・修正・提案を行う :doc:`/commands/suggest` コマン" +"ドを追加。" msgstr "" -"grn_pat_at()でエンコードされたキーが常にGRN_NILになってしまう問題を修正。#514" +"指定したクエリに対する補完・修正・提案を行う :doc:`/commands/suggest` コマン" +"ドを追加。" #: ../../../source/news/1.0.x.txt:193 msgid "" @@ -998,219 +911,337 @@ msgstr "" "固定長カラムにカラム長より短いデータを設定するとゴミが残ってしまう問題を修" "正。" -#: ../../../source/news/1.0.x.txt:194 -msgid "不正なレコードがあるときにdumpすると落ちてしまう問題を修正。" -msgstr "不正なレコードがあるときにdumpすると落ちてしまう問題を修正。" +#: ../../../source/news/0.x.txt:96 +msgid "deleteコマンド:" +msgstr "deleteコマンド:" -#: ../../../source/news/1.0.x.txt:195 -msgid "geo_in_rectangle()が無限ループする問題を修正。#563" -msgstr "geo_in_rectangle()が無限ループする問題を修正。#563" +#: ../../../source/news/1.0.x.txt:130 +msgid "grn_bool型を追加。 #713" +msgstr "grn_bool型を追加。 #713" -#: ../../../source/news/1.0.x.txt:196 +#: ../../../source/news/1.1.x.txt:15 msgid "" -"インデックスがついたカラムでソートすると結果がおかしくなる問題を修正。#571" +"プラグイン登録APIの名前を改良。 grn_db_register_by_name() -> " +"grn_plugin_register() #834" msgstr "" -"インデックスがついたカラムでソートすると結果がおかしくなる問題を修正。#571" +"プラグイン登録APIの名前を改良。 grn_db_register_by_name() -> " +"grn_plugin_register() #834" -#: ../../../source/news/1.0.x.txt:197 -msgid "deleteが常に失敗する問題を修正。#541" -msgstr "deleteが常に失敗する問題を修正。#541" +#: ../../../source/news.txt:91 ../../../source/news.txt:140 +#: ../../../source/news/0.x.txt:124 ../../../source/news/1.0.x.txt:19 +#: ../../../source/news/1.0.x.txt:53 ../../../source/news/1.0.x.txt:67 +#: ../../../source/news/1.0.x.txt:106 ../../../source/news/1.0.x.txt:146 +#: ../../../source/news/1.0.x.txt:209 ../../../source/news/1.0.x.txt:237 +#: ../../../source/news/1.0.x.txt:262 ../../../source/news/1.0.x.txt:287 +#: ../../../source/news/1.1.x.txt:29 +msgid "感謝" +msgstr "感謝" -#: ../../../source/news/1.0.x.txt:198 +#: ../../../source/news/1.0.x.txt:112 +msgid "1.0.4リリース - 2010/11/29" +msgstr "1.0.4リリース - 2010/11/29" + +#: ../../../source/news/1.0.x.txt:97 msgid "" -"レコードを追加・削除したパトリシアトライからID順に取り出すカーソルが おかしな" -"結果を返す問題を修正。#538" +":doc:`/commands/load` で配列でTABLE_NO_KEYなテーブルにレコードをロードできな" +"い問題を修正。 (Masahiro Tomitaさんが報告) #750" msgstr "" -"レコードを追加・削除したパトリシアトライからID順に取り出すカーソルが おかしな" -"結果を返す問題を修正。#538" - -#: ../../../source/news/1.0.x.txt:200 -msgid "値が存在しないレコードがあるカラムでソートすると落ちる問題を修正。" -msgstr "値が存在しないレコードがあるカラムでソートすると落ちる問題を修正。" +":doc:`/commands/load` で配列でTABLE_NO_KEYなテーブルにレコードをロードできな" +"い問題を修正。 (Masahiro Tomitaさんが報告) #750" -#: ../../../source/news/1.0.x.txt:201 -msgid "モジュールの初期化関数が複数回呼ばれる問題を修正。#567" -msgstr "モジュールの初期化関数が複数回呼ばれる問題を修正。#567" +#: ../../../source/news/1.0.x.txt:158 +msgid "" +"CentOS/Fedora用パッケージをディストリビューションのルールに従うように改良。 " +"(上野乃毅さん)" +msgstr "" +"CentOS/Fedora用パッケージをディストリビューションのルールに従うように改良。 " +"(上野乃毅さん)" -#: ../../../source/news/1.0.x.txt:202 -msgid "shutdownで終了しない問題を修正。#114" -msgstr "shutdownで終了しない問題を修正。#114" +#: ../../../source/news/0.x.txt:36 +msgid "0.7.6リリース - 2010/08/19" +msgstr "0.7.6リリース - 2010/08/19" -#: ../../../source/news/1.0.x.txt:203 -msgid "全文検索時に削除したレコードが返る問題を修正。#617" -msgstr "全文検索時に削除したレコードが返る問題を修正。#617" +#: ../../../source/news/0.x.txt:51 +msgid "指定したファイルからコマンドを読み込む``--file``オプションを追加。" +msgstr "指定したファイルからコマンドを読み込む``--file``オプションを追加。" -#: ../../../source/news/1.0.x.txt:204 -msgid "必要な時以外にMeCabの辞書チェックをしてしまう問題を修正。#555" -msgstr "必要な時以外にMeCabの辞書チェックをしてしまう問題を修正。#555" +#: ../../../source/news/1.0.x.txt:180 +msgid "時間の解像度をナノ秒に変更。" +msgstr "時間の解像度をナノ秒に変更。" -#: ../../../source/news/1.0.x.txt:205 -msgid "存在しないパトリシアトライのレコードを参照すると落ちる問題を修正。#630" -msgstr "存在しないパトリシアトライのレコードを参照すると落ちる問題を修正。#630" +#: ../../../source/news.txt:137 +msgid "truncateコマンドを追加。(実験的。問題あり) #888" +msgstr "truncateコマンドを追加。(実験的。問題あり) #888" -#: ../../../source/news/1.0.x.txt:206 -msgid "インストールドキュメントの誤字を修正。(SHIMODA Hiroshiさんが報告)" -msgstr "インストールドキュメントの誤字を修正。(SHIMODA Hiroshiさんが報告)" +#: ../../../source/news/1.0.x.txt:282 +msgid "索引付きカラムを等価条件で検索できない問題を修正。" +msgstr "索引付きカラムを等価条件で検索できない問題を修正。" -#: ../../../source/news/1.0.x.txt:211 ../../../source/news/1.0.x.txt:264 -#: ../../../source/news/1.1.x.txt:31 -msgid "Daiki Uenoさん" -msgstr "Daiki Uenoさん" +#: ../../../source/news/1.0.x.txt:32 +msgid "" +"--enable-memory-debug付きでビルドしたときに終了時に未開放のメモリが 割り当て" +"られた場所を表示するようにした。" +msgstr "" +"--enable-memory-debug付きでビルドしたときに終了時に未開放のメモリが 割り当て" +"られた場所を表示するようにした。" -#: ../../../source/news/1.0.x.txt:212 -msgid "MATSUU Takutoさん" -msgstr "MATSUU Takutoさん" +#: ../../../source/news/1.0.x.txt:257 +msgid "JSON JQueryプラグインが同梱されていない問題の修正。" +msgstr "JSON JQueryプラグインが同梱されていない問題の修正。" -#: ../../../source/news/1.0.x.txt:213 ../../../source/news/1.0.x.txt:289 -msgid "Itagaki Takahiroさん" -msgstr "Itagaki Takahiroさん" +#: ../../../source/news/0.x.txt:78 +msgid "数値のベクタをサポート。" +msgstr "数値のベクタをサポート。" #: ../../../source/news/1.0.x.txt:214 msgid "SHIMODA Hiroshiさん" msgstr "SHIMODA Hiroshiさん" -#: ../../../source/news/1.0.x.txt:217 -msgid "1.0.2リリース - 2010/09/09" -msgstr "1.0.2リリース - 2010/09/09" +#: ../../../source/news/1.0.x.txt:203 +msgid "全文検索時に削除したレコードが返る問題を修正。#617" +msgstr "全文検索時に削除したレコードが返る問題を修正。#617" -#: ../../../source/news/1.0.x.txt:222 -#, fuzzy -msgid "" -":doc:`/commands/suggest` コマンドのサンプルを追加。(examples/dictionary/)" -msgstr ":ref:`suggest` コマンドのサンプルを追加。(examples/dictionary/)" +#: ../../../source/news.txt:47 +msgid "groonga-suggest-httpd: Added --disable-max-fd-check option." +msgstr "groonga-suggest-httpd: Added --disable-max-fd-check option." -#: ../../../source/news/1.0.x.txt:227 +#: ../../../source/news.txt:86 msgid "" -"HTTPで公開するディレクトリを指定する--admin-html-pathを--document-rootに変" -"更。" +"configureの--helpで出力される--with-deafult-encodingの値が 間違っていた問題を" +"修正。(ICHII Takashiさんが報告)" msgstr "" -"HTTPで公開するディレクトリを指定する--admin-html-pathを--document-rootに変" -"更。" +"configureの--helpで出力される--with-deafult-encodingの値が 間違っていた問題を" +"修正。(ICHII Takashiさんが報告)" + +#: ../../../source/news.txt:123 +msgid "[非互換] 位置情報の小数表記からミリ秒への変換誤差が大きい問題を修正。" +msgstr "[非互換] 位置情報の小数表記からミリ秒への変換誤差が大きい問題を修正。" #: ../../../source/news/1.0.x.txt:228 -#, fuzzy msgid "" ":doc:`/commands/select` コマンドのデフォルトの--output_columnsから_valueを削" "除。" -msgstr ":ref:`select` コマンドのデフォルトの--output_columnsから_valueを削除。" +msgstr "" +":doc:`/commands/select` コマンドのデフォルトの--output_columnsから_valueを削" +"除。" -#: ../../../source/news/1.0.x.txt:233 -msgid "パッケージミスを修正。 (OBATA Akioさんが報告)" -msgstr "パッケージミスを修正。 (OBATA Akioさんが報告)" +#: ../../../source/news/0.x.txt:43 +msgid "PIDファイルを指定する``--pid-path``オプションを追加。" +msgstr "PIDファイルを指定する``--pid-path``オプションを追加。" -#: ../../../source/news/1.0.x.txt:234 -msgid "GeoPointの度表記の解釈を修正。 #460" -msgstr "GeoPointの度表記の解釈を修正。 #460" +#: ../../../source/news/1.0.x.txt:195 +msgid "geo_in_rectangle()が無限ループする問題を修正。#563" +msgstr "geo_in_rectangle()が無限ループする問題を修正。#563" -#: ../../../source/news/1.0.x.txt:243 -msgid "1.0.1リリース - 2010/09/06" -msgstr "1.0.1リリース - 2010/09/06" +#: ../../../source/news.txt:97 +msgid "1.2.0リリース - 2011/03/29" +msgstr "1.2.0リリース - 2011/03/29" -#: ../../../source/news/1.0.x.txt:248 -msgid "CentOS 5/Fedora 13用RPMの提供。(Daiki Uenoさん作成のspecがベース)" -msgstr "CentOS 5/Fedora 13用RPMの提供。(Daiki Uenoさん作成のspecがベース)" +#: ../../../source/news/1.0.x.txt:64 +msgid "\\*BSDでビルドできない問題を修正。(OBATA Akioさんが報告)" +msgstr "\\*BSDでビルドできない問題を修正。(OBATA Akioさんが報告)" -#: ../../../source/news/1.0.x.txt:250 -msgid "ログパスのデフォルト値に--localstatedirを使用。(OBATA Akioさんが提案)" +#: ../../../source/news/1.0.x.txt:212 +msgid "MATSUU Takutoさん" +msgstr "MATSUU Takutoさん" + +#: ../../../source/news.txt:124 +msgid "" +":doc:`/functions/geo_in_rectangle` の ``top_left`` と ``bottom_right`` に同じ" +"位置を指定するとクラッシュする問題を修正。" msgstr "" -"ログパスのデフォルト値に--localstatedirを使用。(OBATA Akioさんが提案)" +":doc:`/functions/geo_in_rectangle` の ``top_left`` と ``bottom_right`` に同じ" +"位置を指定するとクラッシュする問題を修正。" -#: ../../../source/news/1.0.x.txt:252 -msgid "BOM付きUTF-8に対応。" -msgstr "BOM付きUTF-8に対応。" +#: ../../../source/news/0.x.txt:49 +msgid "設定値を表示する``--show-config``オプションを追加。" +msgstr "設定値を表示する``--show-config``オプションを追加。" -#: ../../../source/news/1.0.x.txt:257 -msgid "JSON JQueryプラグインが同梱されていない問題の修正。" -msgstr "JSON JQueryプラグインが同梱されていない問題の修正。" +#: ../../../source/news/1.1.x.txt:18 +msgid "" +"groonga.pcにgroonga-suggest-create-datasetのパスが設定されている " +"groonga_suggest_create_dataset変数を追加。" +msgstr "" +"groonga.pcにgroonga-suggest-create-datasetのパスが設定されている " +"groonga_suggest_create_dataset変数を追加。" -#: ../../../source/news/1.0.x.txt:259 -msgid "テストが失敗する問題の修正。(OBATA Akioさんが報告)" -msgstr "テストが失敗する問題の修正。(OBATA Akioさんが報告)" +#: ../../../source/news/1.0.x.txt:143 +msgid "索引が不正に大きくなる問題を修正。(Tomoatsu Shimadaさんが報告) #689" +msgstr "索引が不正に大きくなる問題を修正。(Tomoatsu Shimadaさんが報告) #689" -#: ../../../source/news/1.0.x.txt:268 -msgid "1.0.0リリース - 2010/08/29" -msgstr "1.0.0リリース - 2010/08/29" +#: ../../../source/news/1.0.x.txt:120 +msgid ":doc:`/grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690" +msgstr ":doc:`/grntest` の一行あたりの最大バイト数の制限を撤廃。 #608, #690" -#: ../../../source/news/1.0.x.txt:273 -#, fuzzy +#: ../../../source/news/0.x.txt:80 +msgid "selectコマンド" +msgstr "selectコマンド" + +#: ../../../source/news/1.0.x.txt:95 msgid "" -"指定したクエリに対する補完・修正・提案を行う :doc:`/commands/suggest` コマン" -"ドを追加。" +":doc:`/commands/load` で存在しないカラムを--columnsで指定するとクラッシュする" +"問題を修正。 (Masahiro Tomitaさんが報告) #751" msgstr "" -"指定したクエリに対する補完・修正・提案を行う :ref:`suggest` コマンドを追加。" +":doc:`/commands/load` で存在しないカラムを--columnsで指定するとクラッシュする" +"問題を修正。 (Masahiro Tomitaさんが報告) #751" -#: ../../../source/news/1.0.x.txt:275 -#, fuzzy +#: ../../../source/news/1.0.x.txt:99 msgid "" -":doc:`/commands/delete` コマンドが失敗したらfalseを返すように変更。(Itagaki " -"Takahiroさんが提案)" +":doc:`/commands/delete` でTABLE_NO_KEYなテーブルのレコードを削除するとテーブ" +"ルが壊れる 問題を修正。 (Masahiro Tomitaさんがパッチ作成) #794" msgstr "" -":ref:`delete` コマンドが失敗したらfalseを返すように変更。(Itagaki Takahiroさ" -"んが提案)" +":doc:`/commands/delete` でTABLE_NO_KEYなテーブルのレコードを削除するとテーブ" +"ルが壊れる 問題を修正。 (Masahiro Tomitaさんがパッチ作成) #794" -#: ../../../source/news/1.0.x.txt:280 -msgid "関数もコマンドとして呼び出してしまう問題を修正。#431" -msgstr "関数もコマンドとして呼び出してしまう問題を修正。#431" +#: ../../../source/news/1.0.x.txt:169 +msgid "不正な関数呼び出しをチェックするようにした。#596" +msgstr "不正な関数呼び出しをチェックするようにした。#596" -#: ../../../source/news/1.0.x.txt:282 -msgid "索引付きカラムを等価条件で検索できない問題を修正。" -msgstr "索引付きカラムを等価条件で検索できない問題を修正。" +#: ../../../source/news.txt:145 +msgid "過去のリリース" +msgstr "過去のリリース" -#: ../../../source/news/1.0.x.txt:284 -#, fuzzy +#: ../../../source/news.txt:102 +msgid "MacPortsでのインストールドキュメントを追加。" +msgstr "MacPortsでのインストールドキュメントを追加。" + +#: ../../../source/news/0.x.txt:72 +msgid "不正な文字を見つけた場合はログに出力。" +msgstr "不正な文字を見つけた場合はログに出力。" + +#: ../../../source/news/1.0.x.txt:80 +msgid "主キーが数値のテーブルを参照しているカラムでの比較演算に対応。 #776" +msgstr "主キーが数値のテーブルを参照しているカラムでの比較演算に対応。 #776" + +#: ../../../source/news/1.0.x.txt:167 +msgid "pkg-configがない場合はlibeditを検出しないようにした。 #540" +msgstr "pkg-configがない場合はlibeditを検出しないようにした。 #540" + +#: ../../../source/news.txt:55 msgid "" -":doc:`/commands/delete` コマンドでキーがShortText以外のレコードを削除できない" -"問題の修正。(Itagaki Takahiroさんが報告)" +"Windows: Used DLL relative path instead of executable file relative path." msgstr "" -":ref:`delete` コマンドでキーがShortText以外のレコードを削除できない問題の修" -"正。(Itagaki Takahiroさんが報告)" +"Windows: Used DLL relative path instead of executable file relative path." -#: ../../../source/news/1.1.x.txt:6 -msgid "バージョン1.1.xのお知らせ" +#: ../../../source/news.txt:112 +msgid "" +"MeCabトークナイザーの読み込みエラーを無視するようにした。た だし、ログには残" +"る。 #893" msgstr "" +"MeCabトークナイザーの読み込みエラーを無視するようにした。た だし、ログには残" +"る。 #893" -#: ../../../source/news/1.1.x.txt:9 -msgid "1.1.0リリース - 2011/02/09" -msgstr "1.1.0リリース - 2011/02/09" +#: ../../../source/news/1.0.x.txt:69 ../../../source/news/1.0.x.txt:109 +#: ../../../source/news/1.0.x.txt:149 ../../../source/news/1.0.x.txt:239 +#: ../../../source/news/1.0.x.txt:265 +msgid "OBATA Akioさん" +msgstr "OBATA Akioさん" -#: ../../../source/news/1.1.x.txt:14 -msgid "TokenDelimitNullトークナイザーを追加。" -msgstr "TokenDelimitNullトークナイザーを追加。" +#: ../../../source/news/1.0.x.txt:148 +msgid "@s3kiさん" +msgstr "@s3kiさん" -#: ../../../source/news/1.1.x.txt:15 +#: ../../../source/news/0.x.txt:110 +msgid "フラグメンテーションを解消するdefragコマンドの追加。" +msgstr "フラグメンテーションを解消するdefragコマンドの追加。" + +#: ../../../source/news.txt:63 +msgid ":doc:`/commands/load`: Added table name check. #934" +msgstr ":doc:`/commands/load`: Added table name check. #934" + +#: ../../../source/news/0.x.txt:77 +msgid "NO_KEYテーブルを参照しているカラム値をサポート。" +msgstr "NO_KEYテーブルを参照しているカラム値をサポート。" + +#: ../../../source/news/0.x.txt:121 +msgid "drilldown時に参照先が存在しない場合にSEGVする問題の修正。" +msgstr "drilldown時に参照先が存在しない場合にSEGVする問題の修正。" + +#: ../../../source/news/1.0.x.txt:72 +msgid "1.0.5リリース - 2010/12/29" +msgstr "1.0.5リリース - 2010/12/29" + +#: ../../../source/news/1.0.x.txt:205 +msgid "存在しないパトリシアトライのレコードを参照すると落ちる問題を修正。#630" +msgstr "存在しないパトリシアトライのレコードを参照すると落ちる問題を修正。#630" + +#: ../../../source/news/1.0.x.txt:164 +msgid ":doc:`/spec/search` の仕様を追加。" +msgstr ":doc:`/spec/search` の仕様を追加。" + +#: ../../../source/news/1.0.x.txt:118 +msgid "不正な名前を指定したときに指定された名前も報告するようにした。" +msgstr "不正な名前を指定したときに指定された名前も報告するようにした。" + +#: ../../../source/news/1.0.x.txt:77 +msgid "サジェスト機能用の学習プログラムを追加。" +msgstr "サジェスト機能用の学習プログラムを追加。" + +#: ../../../source/news/0.x.txt:118 +msgid "selectの出力に不正なカラムを指定された時にSEGVする問題を修正。" +msgstr "selectの出力に不正なカラムを指定された時にSEGVする問題を修正。" + +#: ../../../source/news/1.0.x.txt:204 +msgid "必要な時以外にMeCabの辞書チェックをしてしまう問題を修正。#555" +msgstr "必要な時以外にMeCabの辞書チェックをしてしまう問題を修正。#555" + +#: ../../../source/news/0.x.txt:102 +msgid "キャッシュ情報を追加。" +msgstr "キャッシュ情報を追加。" + +#: ../../../source/news.txt:110 msgid "" -"プラグイン登録APIの名前を改良。 grn_db_register_by_name() -> " -"grn_plugin_register() #834" +"Debianパッケージをcdbsベースからdebhelperベースへ移行。 パッケージ名の変更あ" +"り。 #887" msgstr "" -"プラグイン登録APIの名前を改良。 grn_db_register_by_name() -> " -"grn_plugin_register() #834" +"Debianパッケージをcdbsベースからdebhelperベースへ移行。 パッケージ名の変更あ" +"り。 #887" -#: ../../../source/news/1.1.x.txt:17 -#, fuzzy -msgid "" -":doc:`/commands/select` の--query内で前方一致検索構文\"キーワード*\"対応。 " -"#837" -msgstr ":ref:`select` の--query内で前方一致検索構文\"キーワード*\"対応。 #837" +#: ../../../source/news/1.0.x.txt:24 +msgid "1.0.7リリース - 2011/01/29" +msgstr "1.0.7リリース - 2011/01/29" -#: ../../../source/news/1.1.x.txt:18 +#: ../../../source/news.txt:27 +msgid "fix elapsed time overflow in query log. #944" +msgstr "fix elapsed time overflow in query log. #944" + +#: ../../../source/news/1.0.x.txt:275 msgid "" -"groonga.pcにgroonga-suggest-create-datasetのパスが設定されている " -"groonga_suggest_create_dataset変数を追加。" +":doc:`/commands/delete` コマンドが失敗したらfalseを返すように変更。(Itagaki " +"Takahiroさんが提案)" msgstr "" -"groonga.pcにgroonga-suggest-create-datasetのパスが設定されている " -"groonga_suggest_create_dataset変数を追加。" +":doc:`/commands/delete` コマンドが失敗したらfalseを返すように変更。(Itagaki " +"Takahiroさんが提案)" -#: ../../../source/news/1.1.x.txt:24 -msgid "ログにタイムスタンプの秒より小さい値が常に0になる問題を修正。" -msgstr "ログにタイムスタンプの秒より小さい値が常に0になる問題を修正。" +#: ../../../source/news.txt:64 +msgid "Showed invalid name context in error message. #935" +msgstr "Showed invalid name context in error message. #935" -#: ../../../source/news/1.1.x.txt:25 +#: ../../../source/news/0.x.txt:66 +msgid "libedit対応。" +msgstr "libedit対応。" + +#: ../../../source/news/1.0.x.txt:172 +msgid "クライアントモードでの--fileオプションのサポート。#578" +msgstr "クライアントモードでの--fileオプションのサポート。#578" + +#: ../../../source/news/1.0.x.txt:163 +msgid "statusの出力結果にコマンドバージョンを追加。" +msgstr "statusの出力結果にコマンドバージョンを追加。" + +#: ../../../source/news/0.x.txt:117 +msgid "不正なsortキーを指定された場合はSEGVする問題の修正。" +msgstr "不正なsortキーを指定された場合はSEGVする問題の修正。" + +#: ../../../source/news/0.x.txt:29 msgid "" -"サンプル内のスクリプトに実行属性がつかない問題を修正。 (Daiki Uenoさんが報" -"告)" +":doc:`/functions/geo_in_rectangle` ()関数が引数を「左上」と「右下」で はな" +"く、「左下」と「右上」と扱っていた問題を修正。" msgstr "" -"サンプル内のスクリプトに実行属性がつかない問題を修正。 (Daiki Uenoさんが報" -"告)" +":doc:`/functions/geo_in_rectangle` ()関数が引数を「左上」と「右下」で はな" +"く、「左下」と「右上」と扱っていた問題を修正。" -#~ msgid "お知らせ" -#~ msgstr "お知らせ" +#: ../../../source/news/1.0.x.txt:250 +msgid "ログパスのデフォルト値に--localstatedirを使用。(OBATA Akioさんが提案)" +msgstr "" +"ログパスのデフォルト値に--localstatedirを使用。(OBATA Akioさんが提案)" Deleted: doc/locale/en/LC_MESSAGES/process.po (+0 -22) 100644 =================================================================== --- doc/locale/en/LC_MESSAGES/process.po 2011-06-28 14:48:48 +0000 (051b54b) +++ /dev/null @@ -1,22 +0,0 @@ -# English translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: English\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: ../../../source/process.txt:6 -msgid "実行環境" -msgstr "実行環境" Modified: doc/locale/en/LC_MESSAGES/pseudo_column.po (+61 -61) =================================================================== --- doc/locale/en/LC_MESSAGES/pseudo_column.po 2011-06-28 14:48:48 +0000 (e53a063) +++ doc/locale/en/LC_MESSAGES/pseudo_column.po 2011-06-28 15:04:00 +0000 (fad5f77) @@ -1,57 +1,29 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/pseudo_column.txt:6 -msgid "疑似カラム (pseudo_column)" -msgstr "疑似カラム (pseudo_column)" - -#: ../../../source/pseudo_column.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/pseudo_column.txt:11 -msgid "疑似カラム" -msgstr "疑似カラム" - -#: ../../../source/pseudo_column.txt:14 -msgid "説明" -msgstr "説明" - -#: ../../../source/pseudo_column.txt:16 -msgid "" -"groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義さ" -"れます。" -msgstr "" -"groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義さ" -"れます。" - -#: ../../../source/pseudo_column.txt:18 -msgid "" -"これらのカラムはいずれもアンダースコア('_')で始まる名前が付与されます。定義さ" -"れる疑似カラムは、テーブルの種類によって異なります。" -msgstr "" -"これらのカラムはいずれもアンダースコア('_')で始まる名前が付与されます。定義さ" -"れる疑似カラムは、テーブルの種類によって異なります。" +#: ../../../source/pseudo_column.txt:24 +msgid "``_key``" +msgstr "``_key``" -#: ../../../source/pseudo_column.txt:20 -msgid "``_id``" -msgstr "``_id``" +#: ../../../source/pseudo_column.txt:32 +msgid "``_score``" +msgstr "``_score``" #: ../../../source/pseudo_column.txt:22 msgid "" @@ -65,9 +37,25 @@ msgstr "" "は不変で、レコードが存在する限り変更することはできません。ただし、削除された" "レコードの_idの値は再利用されます。" -#: ../../../source/pseudo_column.txt:24 -msgid "``_key``" -msgstr "``_key``" +#: ../../../source/pseudo_column.txt:6 +msgid "疑似カラム (pseudo_column)" +msgstr "疑似カラム (pseudo_column)" + +#: ../../../source/pseudo_column.txt:40 +msgid "" +"主キーの値が同一であったレコードの件数を表します。検索結果として生成された" +"テーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化" +"前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グ" +"ループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。" +msgstr "" +"主キーの値が同一であったレコードの件数を表します。検索結果として生成された" +"テーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化" +"前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グ" +"ループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。" + +#: ../../../source/pseudo_column.txt:28 +msgid "``_value``" +msgstr "``_value``" #: ../../../source/pseudo_column.txt:26 msgid "" @@ -77,9 +65,9 @@ msgstr "" "レコードの主キー値を表します。主キーを持つテーブルのみに定義されます。主キー" "値はテーブルの中で一意であり、変更することはできません。" -#: ../../../source/pseudo_column.txt:28 -msgid "``_value``" -msgstr "``_value``" +#: ../../../source/pseudo_column.txt:14 +msgid "説明" +msgstr "説明" #: ../../../source/pseudo_column.txt:30 msgid "" @@ -89,9 +77,17 @@ msgstr "" "レコードの値を表します。value_typeを指定したテーブルのみに定義されます。自由" "に変更可能です。" -#: ../../../source/pseudo_column.txt:32 -msgid "``_score``" -msgstr "``_score``" +#: ../../../source/pseudo_column.txt:9 +msgid "名前" +msgstr "名前" + +#: ../../../source/pseudo_column.txt:38 +msgid "``_nsubrecs``" +msgstr "``_nsubrecs``" + +#: ../../../source/pseudo_column.txt:11 +msgid "疑似カラム" +msgstr "疑似カラム" #: ../../../source/pseudo_column.txt:34 msgid "" @@ -101,22 +97,26 @@ msgstr "" "各レコードのスコア値を表します。検索結果として生成されたテーブルのみに定義さ" "れます。" +#: ../../../source/pseudo_column.txt:16 +msgid "" +"groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義さ" +"れます。" +msgstr "" +"groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義さ" +"れます。" + #: ../../../source/pseudo_column.txt:36 msgid "検索処理を実行する過程で値が設定されますが、自由に変更可能です。" msgstr "検索処理を実行する過程で値が設定されますが、自由に変更可能です。" -#: ../../../source/pseudo_column.txt:38 -msgid "``_nsubrecs``" -msgstr "``_nsubrecs``" - -#: ../../../source/pseudo_column.txt:40 +#: ../../../source/pseudo_column.txt:18 msgid "" -"主キーの値が同一であったレコードの件数を表します。検索結果として生成された" -"テーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化" -"前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グ" -"ループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。" +"これらのカラムはいずれもアンダースコア('_')で始まる名前が付与されます。定義さ" +"れる疑似カラムは、テーブルの種類によって異なります。" msgstr "" -"主キーの値が同一であったレコードの件数を表します。検索結果として生成された" -"テーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化" -"前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グ" -"ループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。" +"これらのカラムはいずれもアンダースコア('_')で始まる名前が付与されます。定義さ" +"れる疑似カラムは、テーブルの種類によって異なります。" + +#: ../../../source/pseudo_column.txt:20 +msgid "``_id``" +msgstr "``_id``" Modified: doc/locale/en/LC_MESSAGES/reference.po (+5 -5) =================================================================== --- doc/locale/en/LC_MESSAGES/reference.po 2011-06-28 14:48:48 +0000 (056305a) +++ doc/locale/en/LC_MESSAGES/reference.po 2011-06-28 15:04:00 +0000 (d2ab687) @@ -1,20 +1,20 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../source/reference.txt:6 Modified: doc/locale/en/LC_MESSAGES/spec.po (+222 -223) =================================================================== --- doc/locale/en/LC_MESSAGES/spec.po 2011-06-28 14:48:48 +0000 (3920edc) +++ doc/locale/en/LC_MESSAGES/spec.po 2011-06-28 15:04:00 +0000 (4afcfa0) @@ -1,59 +1,55 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:54+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/spec.txt:6 -msgid "仕様" -msgstr "仕様" - -#: ../../../source/spec/search.txt:6 -msgid "検索" -msgstr "検索" - -#: ../../../source/spec/search.txt:8 -#, fuzzy +#: ../../../source/spec/search.txt:59 msgid "" -":doc:`/commands/select` コマンドがqueryパラメータを使ってどのように検索するの" -"かを説明します。" +"これに対して、TokenBigramSplitSymbolAlphaトークナイザではアルファベット文字列" +"についてもbigramを生成し、「楽しいbilliard」という文字列は、" msgstr "" -":ref:`select` コマンドがqueryパラメータを使ってどのように検索するのかを説明し" -"ます。" - -#: ../../../source/spec/search.txt:11 -msgid "検索の挙動" -msgstr "検索の挙動" +"これに対して、TokenBigramSplitSymbolAlphaトークナイザではアルファベット文字列" +"についてもbigramを生成し、「楽しいbilliard」という文字列は、" -#: ../../../source/spec/search.txt:13 -msgid "検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。" +#: ../../../source/spec/search.txt:103 +msgid "" +"groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定" +"の閾値を超えない場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値" +"を超えない場合は部分一致検索を行います。(閾値は1がデフォルト値となっています)" msgstr "" -"検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。" - -#: ../../../source/spec/search.txt:15 ../../../source/spec/search.txt:22 -msgid "完全一致検索" -msgstr "完全一致検索" +"groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定" +"の閾値を超えない場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値" +"を超えない場合は部分一致検索を行います。(閾値は1がデフォルト値となっています)" -#: ../../../source/spec/search.txt:16 ../../../source/spec/search.txt:70 -msgid "非わかち書き検索" -msgstr "非わかち書き検索" +#: ../../../source/spec/search.txt:80 +msgid "" +"TokenMeCabトークナイザーの場合はわかち書き前のキーワードで前方一致検索をしま" +"す。" +msgstr "" +"TokenMeCabトークナイザーの場合はわかち書き前のキーワードで前方一致検索をしま" +"す。" -#: ../../../source/spec/search.txt:17 ../../../source/spec/search.txt:85 -msgid "部分一致検索" -msgstr "部分一致検索" +#: ../../../source/spec/search.txt:27 +msgid "" +"このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列" +"を含む文書を検索する処理を完全一致検索と呼んでいます。" +msgstr "" +"このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列" +"を含む文書を検索する処理を完全一致検索と呼んでいます。" #: ../../../source/spec/search.txt:19 msgid "" @@ -63,43 +59,55 @@ msgstr "" "どのように検索の挙動を使い分けているかを説明する前に、まず、それぞれの検索の" "挙動を説明します。" -#: ../../../source/spec/search.txt:24 +#: ../../../source/spec/search.txt:97 msgid "" -"検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表" -"に索引を管理します。 検索キーワードも同一の方法でトークナイズされます。" +"例えば、「スープカレー」というキーワードで検索した場合、「スープカレー」" +"(\"スープ\"と\"カレー\"の2単語扱い)や「スープカレーライス」(\"スープ\"と" +"\"カレーライス\"の2単語扱い)、「スープカレーバー」(1単語扱い)にもヒットし" +"ます。" msgstr "" -"検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表" -"に索引を管理します。 検索キーワードも同一の方法でトークナイズされます。" +"例えば、「スープカレー」というキーワードで検索した場合、「スープカレー」" +"(\"スープ\"と\"カレー\"の2単語扱い)や「スープカレーライス」(\"スープ\"と" +"\"カレーライス\"の2単語扱い)、「スープカレーバー」(1単語扱い)にもヒットし" +"ます。" -#: ../../../source/spec/search.txt:27 +#: ../../../source/spec/search.txt:109 +msgid "select Shops --match_column description --query スープカレー" +msgstr "select Shops --match_column description --query スープカレー" + +#: ../../../source/spec/search.txt:47 msgid "" -"このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列" -"を含む文書を検索する処理を完全一致検索と呼んでいます。" +"という二つの語彙の配列として処理されます。この語彙の並びは、「東京 / 京都 / " +"都民」という語彙の並びに含まれますので、完全一致検索でヒットします。" msgstr "" -"このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列" -"を含む文書を検索する処理を完全一致検索と呼んでいます。" +"という二つの語彙の配列として処理されます。この語彙の並びは、「東京 / 京都 / " +"都民」という語彙の並びに含まれますので、完全一致検索でヒットします。" -#: ../../../source/spec/search.txt:29 +#: ../../../source/spec/search.txt:17 ../../../source/spec/search.txt:85 +msgid "部分一致検索" +msgstr "部分一致検索" + +#: ../../../source/spec/search.txt:95 msgid "" -"たとえば、TokenMecabトークナイザを使用した索引では「東京都民」という文字列は" +"TokenMeCabトークナイザーの場合はわかち書き後のキーワードで前方一致検索と中間" +"一致検索と後方一致検索をします。" msgstr "" -"たとえば、TokenMecabトークナイザを使用した索引では「東京都民」という文字列は" - -#: ../../../source/spec/search.txt:31 -msgid "東京 / 都民" -msgstr "東京 / 都民" +"TokenMeCabトークナイザーの場合はわかち書き後のキーワードで前方一致検索と中間" +"一致検索と後方一致検索をします。" -#: ../../../source/spec/search.txt:33 +#: ../../../source/spec/search.txt:67 msgid "" -"という二つの語彙の配列として格納されます。この索引に対して「東京都」という" -"キーワードで検索した時、このキーワードは、" +"という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / " +"bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一" +"致でヒットします。" msgstr "" -"という二つの語彙の配列として格納されます。この索引に対して「東京都」という" -"キーワードで検索した時、このキーワードは、" +"という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / " +"bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一" +"致でヒットします。" -#: ../../../source/spec/search.txt:35 -msgid "東京 / 都" -msgstr "東京 / 都" +#: ../../../source/spec/search.txt:15 ../../../source/spec/search.txt:22 +msgid "完全一致検索" +msgstr "完全一致検索" #: ../../../source/spec/search.txt:37 msgid "" @@ -109,6 +117,16 @@ msgstr "" "という二つの語彙の配列として処理されます。この語彙の並びは、「東京 / 都民」と" "いう語彙の並びには一致しませんので、完全一致検索ではヒットしません。" +#: ../../../source/spec/search.txt:29 +msgid "" +"たとえば、TokenMecabトークナイザを使用した索引では「東京都民」という文字列は" +msgstr "" +"たとえば、TokenMecabトークナイザを使用した索引では「東京都民」という文字列は" + +#: ../../../source/spec/search.txt:16 ../../../source/spec/search.txt:70 +msgid "非わかち書き検索" +msgstr "非わかち書き検索" + #: ../../../source/spec/search.txt:39 msgid "" "これに対して、TokenBigramトークナイザを使用した索引では「東京都民」という文字" @@ -117,55 +135,38 @@ msgstr "" "これに対して、TokenBigramトークナイザを使用した索引では「東京都民」という文字" "列は" -#: ../../../source/spec/search.txt:41 -msgid "東京 / 京都 / 都民 / 民" -msgstr "東京 / 京都 / 都民 / 民" - -#: ../../../source/spec/search.txt:43 +#: ../../../source/spec/search.txt:78 msgid "" -"という四つの語彙の配列として格納されます。この索引に対して「東京都」という" -"キーワードで検索した時、このキーワードは、" +"例えば、「bill」というキーワードで検索した場合、「bill」も「billiard」もヒッ" +"トします。" msgstr "" -"という四つの語彙の配列として格納されます。この索引に対して「東京都」という" -"キーワードで検索した時、このキーワードは、" +"例えば、「bill」というキーワードで検索した場合、「bill」も「billiard」もヒッ" +"トします。" -#: ../../../source/spec/search.txt:45 -msgid "東京 / 京都" -msgstr "東京 / 京都" +#: ../../../source/spec/search.txt:35 +msgid "東京 / 都" +msgstr "東京 / 都" -#: ../../../source/spec/search.txt:47 +#: ../../../source/spec/search.txt:93 msgid "" -"という二つの語彙の配列として処理されます。この語彙の並びは、「東京 / 京都 / " -"都民」という語彙の並びに含まれますので、完全一致検索でヒットします。" +"例えば、「ill」というキーワードで検索した場合、「bill」も「billiard」もヒット" +"します。" msgstr "" -"という二つの語彙の配列として処理されます。この語彙の並びは、「東京 / 京都 / " -"都民」という語彙の並びに含まれますので、完全一致検索でヒットします。" +"例えば、「ill」というキーワードで検索した場合、「bill」も「billiard」もヒット" +"します。" -#: ../../../source/spec/search.txt:49 -msgid "" -"なお、TokenBigramトークナイザでは、アルファベット・数値・記号文字列については" -"bigramを生成せず、一つの連続したトークンとして扱います。たとえば、「楽しい" -"billiard」という文字列は、" -msgstr "" -"なお、TokenBigramトークナイザでは、アルファベット・数値・記号文字列については" -"bigramを生成せず、一つの連続したトークンとして扱います。たとえば、「楽しい" -"billiard」という文字列は、" +#: ../../../source/spec/search.txt:45 +msgid "東京 / 京都" +msgstr "東京 / 京都" -#: ../../../source/spec/search.txt:51 -msgid "楽し / しい / billiard" -msgstr "楽し / しい / billiard" +#: ../../../source/spec/search.txt:11 +msgid "検索の挙動" +msgstr "検索の挙動" -#: ../../../source/spec/search.txt:53 -msgid "" -"という三つの語彙の配列として格納されます。これに対して「bill」というキーワー" -"ドで検索した時、このキーワードは、" +#: ../../../source/spec/search.txt:13 +msgid "検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。" msgstr "" -"という三つの語彙の配列として格納されます。これに対して「bill」というキーワー" -"ドで検索した時、このキーワードは、" - -#: ../../../source/spec/search.txt:55 -msgid "bill" -msgstr "bill" +"検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。" #: ../../../source/spec/search.txt:57 msgid "" @@ -175,77 +176,21 @@ msgstr "" "という一つの語彙として処理されます。この語彙の並びは「楽し / しい / " "billiard」という語彙の並びには含まれないので、完全一致でヒットしません。" -#: ../../../source/spec/search.txt:59 -msgid "" -"これに対して、TokenBigramSplitSymbolAlphaトークナイザではアルファベット文字列" -"についてもbigramを生成し、「楽しいbilliard」という文字列は、" -msgstr "" -"これに対して、TokenBigramSplitSymbolAlphaトークナイザではアルファベット文字列" -"についてもbigramを生成し、「楽しいbilliard」という文字列は、" - -#: ../../../source/spec/search.txt:61 -msgid "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" -msgstr "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" - -#: ../../../source/spec/search.txt:63 -msgid "" -"という十一の語彙の配列として格納されます。これに対して「bill」というキーワー" -"ドで検索した時、このキーワードは、" -msgstr "" -"という十一の語彙の配列として格納されます。これに対して「bill」というキーワー" -"ドで検索した時、このキーワードは、" - -#: ../../../source/spec/search.txt:65 -msgid "bi / il / ll" -msgstr "bi / il / ll" - -#: ../../../source/spec/search.txt:67 -msgid "" -"という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / " -"bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一" -"致でヒットします。" -msgstr "" -"という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / " -"bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一" -"致でヒットします。" - -#: ../../../source/spec/search.txt:72 -msgid "" -"非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。" -msgstr "" -"非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。" - -#: ../../../source/spec/search.txt:74 -msgid "" -"非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している" -"場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。" -msgstr "" -"非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している" -"場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。" - -#: ../../../source/spec/search.txt:76 -msgid "" -"N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をしま" -"す。" -msgstr "" -"N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をしま" -"す。" - -#: ../../../source/spec/search.txt:78 +#: ../../../source/spec/search.txt:111 msgid "" -"例えば、「bill」というキーワードで検索した場合、「bill」も「billiard」もヒッ" -"トします。" +"しかし、以下のように全文検索を行う前に検索結果セットが存在する場合は完全一致" +"検索のみを行います。(point > 3で閾値の件数以上ヒットしている場合)::" msgstr "" -"例えば、「bill」というキーワードで検索した場合、「bill」も「billiard」もヒッ" -"トします。" +"しかし、以下のように全文検索を行う前に検索結果セットが存在する場合は完全一致" +"検索のみを行います。(point > 3で閾値の件数以上ヒットしている場合)::" -#: ../../../source/spec/search.txt:80 +#: ../../../source/spec/search.txt:89 msgid "" -"TokenMeCabトークナイザーの場合はわかち書き前のキーワードで前方一致検索をしま" -"す。" +"部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合" +"とTokenMecabトークナイザーを利用している場合で挙動が変わります。" msgstr "" -"TokenMeCabトークナイザーの場合はわかち書き前のキーワードで前方一致検索をしま" -"す。" +"部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合" +"とTokenMecabトークナイザーを利用している場合で挙動が変わります。" #: ../../../source/spec/search.txt:82 msgid "" @@ -259,6 +204,20 @@ msgstr "" "語扱い)や「スープカレーライス」(\"スープ\"と\"カレーライス\"の2単語扱い)に" "はヒットしません。" +#: ../../../source/spec/search.txt:49 +msgid "" +"なお、TokenBigramトークナイザでは、アルファベット・数値・記号文字列については" +"bigramを生成せず、一つの連続したトークンとして扱います。たとえば、「楽しい" +"billiard」という文字列は、" +msgstr "" +"なお、TokenBigramトークナイザでは、アルファベット・数値・記号文字列については" +"bigramを生成せず、一つの連続したトークンとして扱います。たとえば、「楽しい" +"billiard」という文字列は、" + +#: ../../../source/spec/search.txt:91 +msgid "Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。" +msgstr "Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。" + #: ../../../source/spec/search.txt:87 msgid "" "部分一致検索はパトリシア木で語彙表を構築していて、かつ、KEY_WITH_SISオプショ" @@ -269,67 +228,65 @@ msgstr "" "ンを指定している場合のみ利用可能です。KEY_WITH_SISオプションが指定されていな" "い場合は非わかち書き検索と同等です。" -#: ../../../source/spec/search.txt:89 +#: ../../../source/spec/search.txt:31 +msgid "東京 / 都民" +msgstr "東京 / 都民" + +#: ../../../source/spec/search.txt:43 msgid "" -"部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合" -"とTokenMecabトークナイザーを利用している場合で挙動が変わります。" +"という四つの語彙の配列として格納されます。この索引に対して「東京都」という" +"キーワードで検索した時、このキーワードは、" msgstr "" -"部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合" -"とTokenMecabトークナイザーを利用している場合で挙動が変わります。" +"という四つの語彙の配列として格納されます。この索引に対して「東京都」という" +"キーワードで検索した時、このキーワードは、" -#: ../../../source/spec/search.txt:91 -msgid "Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。" -msgstr "Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。" +#: ../../../source/spec/search.txt:61 +msgid "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" +msgstr "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" -#: ../../../source/spec/search.txt:93 +#: ../../../source/spec/search.txt:63 msgid "" -"例えば、「ill」というキーワードで検索した場合、「bill」も「billiard」もヒット" -"します。" +"という十一の語彙の配列として格納されます。これに対して「bill」というキーワー" +"ドで検索した時、このキーワードは、" msgstr "" -"例えば、「ill」というキーワードで検索した場合、「bill」も「billiard」もヒット" -"します。" +"という十一の語彙の配列として格納されます。これに対して「bill」というキーワー" +"ドで検索した時、このキーワードは、" -#: ../../../source/spec/search.txt:95 +#: ../../../source/spec/search.txt:72 msgid "" -"TokenMeCabトークナイザーの場合はわかち書き後のキーワードで前方一致検索と中間" -"一致検索と後方一致検索をします。" +"非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。" msgstr "" -"TokenMeCabトークナイザーの場合はわかち書き後のキーワードで前方一致検索と中間" -"一致検索と後方一致検索をします。" +"非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。" -#: ../../../source/spec/search.txt:97 +#: ../../../source/spec/search.txt:8 msgid "" -"例えば、「スープカレー」というキーワードで検索した場合、「スープカレー」" -"(\"スープ\"と\"カレー\"の2単語扱い)や「スープカレーライス」(\"スープ\"と" -"\"カレーライス\"の2単語扱い)、「スープカレーバー」(1単語扱い)にもヒットし" -"ます。" +":doc:`/commands/select` コマンドがqueryパラメータを使ってどのように検索するの" +"かを説明します。" msgstr "" -"例えば、「スープカレー」というキーワードで検索した場合、「スープカレー」" -"(\"スープ\"と\"カレー\"の2単語扱い)や「スープカレーライス」(\"スープ\"と" -"\"カレーライス\"の2単語扱い)、「スープカレーバー」(1単語扱い)にもヒットし" -"ます。" +":doc:`/commands/select` コマンドがqueryパラメータを使ってどのように検索するの" +"かを説明します。" -#: ../../../source/spec/search.txt:101 -msgid "検索の使い分け" -msgstr "検索の使い分け" +#: ../../../source/spec/search.txt:65 +msgid "bi / il / ll" +msgstr "bi / il / ll" -#: ../../../source/spec/search.txt:103 +#: ../../../source/spec/search.txt:113 msgid "" -"groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定" -"の閾値を超えない場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値" -"を超えない場合は部分一致検索を行います。(閾値は1がデフォルト値となっています)" +"select Shops --filter '\"point > 3 && description @ \\\"スープカレー\\\"\"'" msgstr "" -"groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定" -"の閾値を超えない場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値" -"を超えない場合は部分一致検索を行います。(閾値は1がデフォルト値となっています)" +"select Shops --filter '\"point > 3 && description @ \\\"スープカレー\\\"\"'" -#: ../../../source/spec/search.txt:105 +#: ../../../source/spec/search.txt:41 +msgid "東京 / 京都 / 都民 / 民" +msgstr "東京 / 京都 / 都民 / 民" + +#: ../../../source/spec/search.txt:33 msgid "" -"ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値に満たなく" -"ても完全一致検索のみを行います。" +"という二つの語彙の配列として格納されます。この索引に対して「東京都」という" +"キーワードで検索した時、このキーワードは、" msgstr "" -"ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値に満たなく" -"ても完全一致検索のみを行います。" +"という二つの語彙の配列として格納されます。この索引に対して「東京都」という" +"キーワードで検索した時、このキーワードは、" #: ../../../source/spec/search.txt:107 msgid "" @@ -339,23 +296,13 @@ msgstr "" "例えば、以下のようなクエリの場合は、それぞれの検索でヒット件数が閾値に満たな" "い場合は完全一致検索、非わかち書き検索、部分一致検索を順に行います。::" -#: ../../../source/spec/search.txt:109 -msgid "select Shops --match_column description --query スープカレー" -msgstr "select Shops --match_column description --query スープカレー" - -#: ../../../source/spec/search.txt:111 -msgid "" -"しかし、以下のように全文検索を行う前に検索結果セットが存在する場合は完全一致" -"検索のみを行います。(point > 3で閾値の件数以上ヒットしている場合)::" -msgstr "" -"しかし、以下のように全文検索を行う前に検索結果セットが存在する場合は完全一致" -"検索のみを行います。(point > 3で閾値の件数以上ヒットしている場合)::" - -#: ../../../source/spec/search.txt:113 +#: ../../../source/spec/search.txt:105 msgid "" -"select Shops --filter '\"point > 3 && description @ \\\"スープカレー\\\"\"'" +"ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値に満たなく" +"ても完全一致検索のみを行います。" msgstr "" -"select Shops --filter '\"point > 3 && description @ \\\"スープカレー\\\"\"'" +"ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値に満たなく" +"ても完全一致検索のみを行います。" #: ../../../source/spec/search.txt:115 msgid "" @@ -364,3 +311,55 @@ msgid "" msgstr "" "そのため、descriptionに「スープカレーライス」が含まれていても、「スープカレー" "ライス」は「スープカレー」に完全一致しないのでヒットしません。" + +#: ../../../source/spec/search.txt:76 +msgid "" +"N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をしま" +"す。" +msgstr "" +"N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をしま" +"す。" + +#: ../../../source/spec.txt:6 +msgid "仕様" +msgstr "仕様" + +#: ../../../source/spec/search.txt:53 +msgid "" +"という三つの語彙の配列として格納されます。これに対して「bill」というキーワー" +"ドで検索した時、このキーワードは、" +msgstr "" +"という三つの語彙の配列として格納されます。これに対して「bill」というキーワー" +"ドで検索した時、このキーワードは、" + +#: ../../../source/spec/search.txt:55 +msgid "bill" +msgstr "bill" + +#: ../../../source/spec/search.txt:51 +msgid "楽し / しい / billiard" +msgstr "楽し / しい / billiard" + +#: ../../../source/spec/search.txt:74 +msgid "" +"非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している" +"場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。" +msgstr "" +"非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している" +"場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。" + +#: ../../../source/spec/search.txt:6 +msgid "検索" +msgstr "検索" + +#: ../../../source/spec/search.txt:24 +msgid "" +"検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表" +"に索引を管理します。 検索キーワードも同一の方法でトークナイズされます。" +msgstr "" +"検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表" +"に索引を管理します。 検索キーワードも同一の方法でトークナイズされます。" + +#: ../../../source/spec/search.txt:101 +msgid "検索の使い分け" +msgstr "検索の使い分け" Modified: doc/locale/en/LC_MESSAGES/troubleshooting.po (+300 -302) =================================================================== --- doc/locale/en/LC_MESSAGES/troubleshooting.po 2011-06-28 14:48:48 +0000 (f750fc4) +++ doc/locale/en/LC_MESSAGES/troubleshooting.po 2011-06-28 15:04:00 +0000 (1732902) @@ -1,53 +1,41 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:55+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/troubleshooting.txt:6 -msgid "トラブルシューティング" -msgstr "トラブルシューティング" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:6 -msgid "同じ検索キーワードなのに全文検索結果が異なる" -msgstr "同じ検索キーワードなのに全文検索結果が異なる" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:8 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:98 msgid "" -"同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なるこ" -"とがあります。ここでは、その原因と対策方法を説明します。" +"そこで、TokenMecabトークナイザーを使って作った索引の方をTokenBigramトークナイ" +"ザーを使って作った索引よりも重視するように重み付けを指定します。これは、" +"match_columnsオプションで指定できます。::" msgstr "" -"同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なるこ" -"とがあります。ここでは、その原因と対策方法を説明します。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:11 -msgid "例" -msgstr "例" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:13 -msgid "まず、実際に検索結果が異なる例を説明します。" -msgstr "まず、実際に検索結果が異なる例を説明します。" +"そこで、TokenMecabトークナイザーを使って作った索引の方をTokenBigramトークナイ" +"ザーを使って作った索引よりも重視するように重み付けを指定します。これは、" +"match_columnsオプションで指定できます。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:15 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:59 msgid "" -"DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを" -"使ってトークナイズしてからインデックスを作成しています。::" +"groongaは基本的に完全一致検索のみを行います。上記の例では「東京都民に深刻なダ" +"メージを与えました。」を「東京都」というクエリで検索していますが、TokenMecab" +"トークナイザーを使っている場合はこのクエリはマッチしません。" msgstr "" -"DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを" -"使ってトークナイズしてからインデックスを作成しています。::" +"groongaは基本的に完全一致検索のみを行います。上記の例では「東京都民に深刻なダ" +"メージを与えました。」を「東京都」というクエリで検索していますが、TokenMecab" +"トークナイザーを使っている場合はこのクエリはマッチしません。" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:17 msgid "" @@ -61,59 +49,85 @@ msgstr "" "Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenMecab " "column_create Terms blog_body COLUMN_INDEX|WITH_POSITION Blogs body" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:23 -msgid "テスト用のデータは1件だけ投入します。::" -msgstr "テスト用のデータは1件だけ投入します。::" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:11 +msgid "例" +msgstr "例" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:25 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:41 msgid "" -"load --table Blogs [ [\"body\", \"updated_at\"], [\"東京都民に深刻なダ" -"メージを与えました。\", \"2010/9/21 10:18:34\"], ]" +"最後に、範囲指定と全文検索の順番を入れ替えて検索します。個々の条件は同じです" +"が、この場合はヒットしません。::" msgstr "" -"load --table Blogs [ [\"body\", \"updated_at\"], [\"東京都民に深刻なダ" -"メージを与えました。\", \"2010/9/21 10:18:34\"], ]" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:31 -msgid "まず、全文検索のみで検索します。この場合ヒットします。::" -msgstr "まず、全文検索のみで検索します。この場合ヒットします。::" +"最後に、範囲指定と全文検索の順番を入れ替えて検索します。個々の条件は同じです" +"が、この場合はヒットしません。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:33 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:88 msgid "" -"> select Blogs --filter 'body @ \"東京都\"' [[0,4102.268052438,0.000743783]," -"[[[1],[[\"_id\",\"UInt32\"],[\"updated_at\",\"Time\"],[\"body\",\"ShortText" -"\"]],[1,1285031914.0,\"東京都民に深刻なダメージを与えました。\"]]]]" +"table_create Bigram TABLE_PAT_KEY|KEY_NORMALIZE ShortText --" +"default_tokenizer TokenBigram column_create Bigram blog_body COLUMN_INDEX|" +"WITH_POSITION Blogs body" msgstr "" -"> select Blogs --filter 'body @ \"東京都\"' [[0,4102.268052438,0.000743783]," -"[[[1],[[\"_id\",\"UInt32\"],[\"updated_at\",\"Time\"],[\"body\",\"ShortText" -"\"]],[1,1285031914.0,\"東京都民に深刻なダメージを与えました。\"]]]]" +"table_create Bigram TABLE_PAT_KEY|KEY_NORMALIZE ShortText --" +"default_tokenizer TokenBigram column_create Bigram blog_body COLUMN_INDEX|" +"WITH_POSITION Blogs body" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:36 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:57 +msgid "部分一致検索" +msgstr "部分一致検索" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:84 msgid "" -"続いて、範囲指定と全文検索を組み合わせて検索します(1285858800は2010/10/1 " -"0:0:0の秒表記)。この場合もヒットします。::" +"このようにN-gram系のトークナイザーを指定することにより再現率をあげることがで" +"きますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合い" +"を調整するためには :doc:`/commands/select` のmatch_columnsで使用する索引毎に" +"重み付けを指定します。" msgstr "" -"続いて、範囲指定と全文検索を組み合わせて検索します(1285858800は2010/10/1 " -"0:0:0の秒表記)。この場合もヒットします。::" +"このようにN-gram系のトークナイザーを指定することにより再現率をあげることがで" +"きますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合い" +"を調整するためには :doc:`/commands/select` のmatch_columnsで使用する索引毎に" +"重み付けを指定します。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:38 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:61 +msgid "検索対象の「東京都民に深刻なダメージを与えました。」は" +msgstr "検索対象の「東京都民に深刻なダメージを与えました。」は" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:96 msgid "" -"> select Blogs --filter 'body @ \"東京都\" && updated_at < " -"1285858800' [[0,4387.524084839,0.001525487],[[[1],[[\"_id\",\"UInt32\"]," -"[\"updated_at\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都" -"民に深刻なダメージを与えました。\"]]]]" +"しかし、N-gram系のトークナイザーの方がTokenMecabトークナイザーよりも語のヒッ" +"ト数が多いため、N-gram系のヒットスコアの方が重く扱われてしまいます。N-gram系" +"のトークナイザーの方がTokenMecabトークナイザーよりも適合率の低い場合が多いの" +"で、このままでは検索ノイズが上位に表示される可能性が高くなります。" msgstr "" -"> select Blogs --filter 'body @ \"東京都\" && updated_at < " -"1285858800' [[0,4387.524084839,0.001525487],[[[1],[[\"_id\",\"UInt32\"]," -"[\"updated_at\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都" -"民に深刻なダメージを与えました。\"]]]]" +"しかし、N-gram系のトークナイザーの方がTokenMecabトークナイザーよりも語のヒッ" +"ト数が多いため、N-gram系のヒットスコアの方が重く扱われてしまいます。N-gram系" +"のトークナイザーの方がTokenMecabトークナイザーよりも適合率の低い場合が多いの" +"で、このままでは検索ノイズが上位に表示される可能性が高くなります。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:41 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:55 +msgid "完全一致検索" +msgstr "完全一致検索" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:105 msgid "" -"最後に、範囲指定と全文検索の順番を入れ替えて検索します。個々の条件は同じです" -"が、この場合はヒットしません。::" +"この例は日本語だったのでTokenBigramトークナイザーでよかったのですが、アルファ" +"ベットの場合はTokenBigramSplitSymbolAlphaトークナイザーなども利用する必要があ" +"ります。例えば、「楽しいbilliard」はTokenBigramトークナイザーでは" msgstr "" -"最後に、範囲指定と全文検索の順番を入れ替えて検索します。個々の条件は同じです" -"が、この場合はヒットしません。::" +"この例は日本語だったのでTokenBigramトークナイザーでよかったのですが、アルファ" +"ベットの場合はTokenBigramSplitSymbolAlphaトークナイザーなども利用する必要があ" +"ります。例えば、「楽しいbilliard」はTokenBigramトークナイザーでは" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:56 +msgid "非わかち書き検索" +msgstr "非わかち書き検索" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:129 +msgid "対策方法2: 閾値をあげる" +msgstr "対策方法2: 閾値をあげる" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:67 +msgid "東京 / 都" +msgstr "東京 / 都" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:43 msgid "" @@ -125,82 +139,47 @@ msgstr "" "\"' [[0,4400.292570838,0.000647716],[[[0],[[\"_id\",\"UInt32\"],[\"updated_at" "\",\"Time\"],[\"body\",\"ShortText\"]]]]]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:46 -msgid "どうしてこのような挙動になるかを説明します。" -msgstr "どうしてこのような挙動になるかを説明します。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:49 -msgid "原因" -msgstr "原因" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:80 +msgid "対策方法1: トークナイザーを変更する" +msgstr "対策方法1: トークナイザーを変更する" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:51 -#, fuzzy +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:121 msgid "" -"このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからで" -"す。ここでは簡単に説明するので、詳細は :doc:`/spec/search` を参照してくださ" -"い。" +"TokenBigramSplitSymbolAlpha: 記号とアルファベットもバイグラムでトークナイズす" +"る。連続する数字は一語として扱う。" msgstr "" -"このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからで" -"す。ここでは簡単に説明するので、詳細は :ref:`spec_search` を参照してくださ" -"い。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:53 -msgid "検索の挙動には以下の3種類があります。" -msgstr "検索の挙動には以下の3種類があります。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:55 -msgid "完全一致検索" -msgstr "完全一致検索" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:56 -msgid "非わかち書き検索" -msgstr "非わかち書き検索" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:57 -msgid "部分一致検索" -msgstr "部分一致検索" +"TokenBigramSplitSymbolAlpha: 記号とアルファベットもバイグラムでトークナイズす" +"る。連続する数字は一語として扱う。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:59 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:25 msgid "" -"groongaは基本的に完全一致検索のみを行います。上記の例では「東京都民に深刻なダ" -"メージを与えました。」を「東京都」というクエリで検索していますが、TokenMecab" -"トークナイザーを使っている場合はこのクエリはマッチしません。" +"load --table Blogs [ [\"body\", \"updated_at\"], [\"東京都民に深刻なダ" +"メージを与えました。\", \"2010/9/21 10:18:34\"], ]" msgstr "" -"groongaは基本的に完全一致検索のみを行います。上記の例では「東京都民に深刻なダ" -"メージを与えました。」を「東京都」というクエリで検索していますが、TokenMecab" -"トークナイザーを使っている場合はこのクエリはマッチしません。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:61 -msgid "検索対象の「東京都民に深刻なダメージを与えました。」は" -msgstr "検索対象の「東京都民に深刻なダメージを与えました。」は" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:63 -msgid "東京 / 都民 / に / 深刻 / な / ダメージ / を / 与え / まし / た / 。" -msgstr "東京 / 都民 / に / 深刻 / な / ダメージ / を / 与え / まし / た / 。" +"load --table Blogs [ [\"body\", \"updated_at\"], [\"東京都民に深刻なダ" +"メージを与えました。\", \"2010/9/21 10:18:34\"], ]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:65 -msgid "とトークナイズされますが、クエリの「東京都」は" -msgstr "とトークナイズされますが、クエリの「東京都」は" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:33 +msgid "" +"> select Blogs --filter 'body @ \"東京都\"' [[0,4102.268052438,0.000743783]," +"[[[1],[[\"_id\",\"UInt32\"],[\"updated_at\",\"Time\"],[\"body\",\"ShortText" +"\"]],[1,1285031914.0,\"東京都民に深刻なダメージを与えました。\"]]]]" +msgstr "" +"> select Blogs --filter 'body @ \"東京都\"' [[0,4102.268052438,0.000743783]," +"[[[1],[[\"_id\",\"UInt32\"],[\"updated_at\",\"Time\"],[\"body\",\"ShortText" +"\"]],[1,1285031914.0,\"東京都民に深刻なダメージを与えました。\"]]]]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:67 -msgid "東京 / 都" -msgstr "東京 / 都" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:6 +msgid "同じ検索キーワードなのに全文検索結果が異なる" +msgstr "同じ検索キーワードなのに全文検索結果が異なる" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:69 -msgid "とトークナイズされるため、完全一致しません。" -msgstr "とトークナイズされるため、完全一致しません。" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:13 +msgid "まず、実際に検索結果が異なる例を説明します。" +msgstr "まず、実際に検索結果が異なる例を説明します。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:71 -msgid "" -"groongaは完全一致検索した結果のヒット件数が所定の閾値を超えない場合に限り、非" -"わかち書き検索を行い、それでもヒット件数が閾値を超えない場合は部分一致検索を" -"行います(閾値は1がデフォルト値となっています)。このケースのデータは部分一致" -"検索ではヒットするので、「東京都」クエリのみを指定するとヒットします。" -msgstr "" -"groongaは完全一致検索した結果のヒット件数が所定の閾値を超えない場合に限り、非" -"わかち書き検索を行い、それでもヒット件数が閾値を超えない場合は部分一致検索を" -"行います(閾値は1がデフォルト値となっています)。このケースのデータは部分一致" -"検索ではヒットするので、「東京都」クエリのみを指定するとヒットします。" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:75 +msgid "select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都\"'" +msgstr "select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都\"'" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:73 msgid "" @@ -212,122 +191,143 @@ msgstr "" "1285858800」で1件ヒットし、閾値を越える)は、たとえ完全一致検索で1件もヒット" "しない場合でも部分一致検索などを行いません。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:75 -msgid "select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都\"'" -msgstr "select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都\"'" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:46 +msgid "どうしてこのような挙動になるかを説明します。" +msgstr "どうしてこのような挙動になるかを説明します。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:77 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:93 msgid "" -"そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下" -"で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件" -"があるので採用するかどうかを十分検討してください。" +"> select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都" +"\"' [[0,7163.448064902,0.000418127],[[[1],[[\"_id\",\"UInt32\"],[\"updated_at" +"\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都民に深刻なダ" +"メージを与えました。\"]]]]" msgstr "" -"そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下" -"で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件" -"があるので採用するかどうかを十分検討してください。" +"> select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都" +"\"' [[0,7163.448064902,0.000418127],[[[1],[[\"_id\",\"UInt32\"],[\"updated_at" +"\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都民に深刻なダ" +"メージを与えました。\"]]]]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:80 -msgid "対策方法1: トークナイザーを変更する" -msgstr "対策方法1: トークナイザーを変更する" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:69 +msgid "とトークナイズされるため、完全一致しません。" +msgstr "とトークナイズされるため、完全一致しません。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:82 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:38 msgid "" -"TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再" -"現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-" -"gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、" -"TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、" -"TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しま" -"せんが、TokenBigramでは完全一致します。" +"> select Blogs --filter 'body @ \"東京都\" && updated_at < " +"1285858800' [[0,4387.524084839,0.001525487],[[[1],[[\"_id\",\"UInt32\"]," +"[\"updated_at\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都" +"民に深刻なダメージを与えました。\"]]]]" msgstr "" -"TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再" -"現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-" -"gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、" -"TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、" -"TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しま" -"せんが、TokenBigramでは完全一致します。" +"> select Blogs --filter 'body @ \"東京都\" && updated_at < " +"1285858800' [[0,4387.524084839,0.001525487],[[[1],[[\"_id\",\"UInt32\"]," +"[\"updated_at\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都" +"民に深刻なダメージを与えました。\"]]]]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:84 -#, fuzzy +#: ../../../source/troubleshooting.txt:6 +msgid "トラブルシューティング" +msgstr "トラブルシューティング" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:111 +msgid "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" +msgstr "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:63 +msgid "東京 / 都民 / に / 深刻 / な / ダメージ / を / 与え / まし / た / 。" +msgstr "東京 / 都民 / に / 深刻 / な / ダメージ / を / 与え / まし / た / 。" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:124 msgid "" -"このようにN-gram系のトークナイザーを指定することにより再現率をあげることがで" -"きますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合い" -"を調整するためには :doc:`/commands/select` のmatch_columnsで使用する索引毎に" -"重み付けを指定します。" +"TokenBigramIgnoreBlankSplitSymbol: 記号もバイグラムでトークナイズする。連続す" +"るアルファベット・数字は一語として扱う。空白は無視する。" msgstr "" -"このようにN-gram系のトークナイザーを指定することにより再現率をあげることがで" -"きますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合い" -"を調整するためには :ref:`select` のmatch_columnsで使用する索引毎に重み付けを" -"指定します。" +"TokenBigramIgnoreBlankSplitSymbol: 記号もバイグラムでトークナイズする。連続す" +"るアルファベット・数字は一語として扱う。空白は無視する。" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:86 msgid "" -"ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追" -"加します。::" +"ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追" +"加します。::" +msgstr "" +"ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追" +"加します。::" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:23 +msgid "テスト用のデータは1件だけ投入します。::" +msgstr "テスト用のデータは1件だけ投入します。::" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:109 +msgid "" +"となり、「bill」では完全一致しません。一方、TokenBigramSplitSymbolAlphaトーク" +"ナイザーを使うと" +msgstr "" +"となり、「bill」では完全一致しません。一方、TokenBigramSplitSymbolAlphaトーク" +"ナイザーを使うと" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:119 +msgid "" +"TokenBigram: バイグラムでトークナイズする。連続する記号・アルファベット・数字" +"は一語として扱う。" msgstr "" -"ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追" -"加します。::" +"TokenBigram: バイグラムでトークナイズする。連続する記号・アルファベット・数字" +"は一語として扱う。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:88 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:51 msgid "" -"table_create Bigram TABLE_PAT_KEY|KEY_NORMALIZE ShortText --" -"default_tokenizer TokenBigram column_create Bigram blog_body COLUMN_INDEX|" -"WITH_POSITION Blogs body" +"このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからで" +"す。ここでは簡単に説明するので、詳細は :doc:`/spec/search` を参照してくださ" +"い。" msgstr "" -"table_create Bigram TABLE_PAT_KEY|KEY_NORMALIZE ShortText --" -"default_tokenizer TokenBigram column_create Bigram blog_body COLUMN_INDEX|" -"WITH_POSITION Blogs body" +"このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからで" +"す。ここでは簡単に説明するので、詳細は :doc:`/spec/search` を参照してくださ" +"い。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:91 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:31 +msgid "まず、全文検索のみで検索します。この場合ヒットします。::" +msgstr "まず、全文検索のみで検索します。この場合ヒットします。::" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:131 msgid "" -"この状態でも以前はマッチしなかったレコードがヒットするようになります。::" +"非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-" +"escalation-threshold configureオプションで変更することができます。以下のよう" +"に指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、" +"非わかち書き検索・部分一致検索を行います。::" msgstr "" -"この状態でも以前はマッチしなかったレコードがヒットするようになります。::" +"非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-" +"escalation-threshold configureオプションで変更することができます。以下のよう" +"に指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、" +"非わかち書き検索・部分一致検索を行います。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:93 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:126 msgid "" -"> select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都" -"\"' [[0,7163.448064902,0.000418127],[[[1],[[\"_id\",\"UInt32\"],[\"updated_at" -"\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都民に深刻なダ" -"メージを与えました。\"]]]]" +"TokenBigramIgnoreBlankSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイ" +"グラムでトークナイズする。空白は無視する。" msgstr "" -"> select Blogs --filter 'updated_at < 1285858800 && body @ \"東京都" -"\"' [[0,7163.448064902,0.000418127],[[[1],[[\"_id\",\"UInt32\"],[\"updated_at" -"\",\"Time\"],[\"body\",\"ShortText\"]],[1,1285031914.0,\"東京都民に深刻なダ" -"メージを与えました。\"]]]]" +"TokenBigramIgnoreBlankSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイ" +"グラムでトークナイズする。空白は無視する。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:96 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:135 msgid "" -"しかし、N-gram系のトークナイザーの方がTokenMecabトークナイザーよりも語のヒッ" -"ト数が多いため、N-gram系のヒットスコアの方が重く扱われてしまいます。N-gram系" -"のトークナイザーの方がTokenMecabトークナイザーよりも適合率の低い場合が多いの" -"で、このままでは検索ノイズが上位に表示される可能性が高くなります。" +"この場合も対策方法1同様、検索ノイズが上位に現れる可能性が高くなることに注意し" +"てください。検索ノイズが多くなった場合は指定する値を低くする必要があります。" msgstr "" -"しかし、N-gram系のトークナイザーの方がTokenMecabトークナイザーよりも語のヒッ" -"ト数が多いため、N-gram系のヒットスコアの方が重く扱われてしまいます。N-gram系" -"のトークナイザーの方がTokenMecabトークナイザーよりも適合率の低い場合が多いの" -"で、このままでは検索ノイズが上位に表示される可能性が高くなります。" +"この場合も対策方法1同様、検索ノイズが上位に現れる可能性が高くなることに注意し" +"てください。検索ノイズが多くなった場合は指定する値を低くする必要があります。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:98 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:122 msgid "" -"そこで、TokenMecabトークナイザーを使って作った索引の方をTokenBigramトークナイ" -"ザーを使って作った索引よりも重視するように重み付けを指定します。これは、" -"match_columnsオプションで指定できます。::" +"TokenBigramSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイグラムで" +"トークナイズする。" msgstr "" -"そこで、TokenMecabトークナイザーを使って作った索引の方をTokenBigramトークナイ" -"ザーを使って作った索引よりも重視するように重み付けを指定します。これは、" -"match_columnsオプションで指定できます。::" +"TokenBigramSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイグラムで" +"トークナイズする。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:100 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:120 msgid "" -"> select Blogs --match_columns 'Terms.blog_body * 10 || Bigram.blog_body * " -"3' --query '東京都' --output_columns '_score, " -"body' [[0,8167.364602632,0.000647003],[[[1],[[\"_score\",\"Int32\"],[\"body" -"\",\"ShortText\"]],[13,\"東京都民に深刻なダメージを与えました。\"]]]]" +"TokenBigramSplitSymbol: 記号もバイグラムでトークナイズする。連続するアルファ" +"ベット・数字は一語として扱う。" msgstr "" -"> select Blogs --match_columns 'Terms.blog_body * 10 || Bigram.blog_body * " -"3' --query '東京都' --output_columns '_score, " -"body' [[0,8167.364602632,0.000647003],[[[1],[[\"_score\",\"Int32\"],[\"body" -"\",\"ShortText\"]],[13,\"東京都民に深刻なダメージを与えました。\"]]]]" +"TokenBigramSplitSymbol: 記号もバイグラムでトークナイズする。連続するアルファ" +"ベット・数字は一語として扱う。" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:103 msgid "" @@ -343,79 +343,61 @@ msgstr "" "のようにTokenMecabトークナイザーの重みを高くすることにより、検索ノイズが上位" "にくることを抑えつつ再現率を上げることができます。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:105 -msgid "" -"この例は日本語だったのでTokenBigramトークナイザーでよかったのですが、アルファ" -"ベットの場合はTokenBigramSplitSymbolAlphaトークナイザーなども利用する必要があ" -"ります。例えば、「楽しいbilliard」はTokenBigramトークナイザーでは" -msgstr "" -"この例は日本語だったのでTokenBigramトークナイザーでよかったのですが、アルファ" -"ベットの場合はTokenBigramSplitSymbolAlphaトークナイザーなども利用する必要があ" -"ります。例えば、「楽しいbilliard」はTokenBigramトークナイザーでは" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:107 -msgid "楽し / しい / billiard" -msgstr "楽し / しい / billiard" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:109 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:82 msgid "" -"となり、「bill」では完全一致しません。一方、TokenBigramSplitSymbolAlphaトーク" -"ナイザーを使うと" +"TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再" +"現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-" +"gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、" +"TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、" +"TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しま" +"せんが、TokenBigramでは完全一致します。" msgstr "" -"となり、「bill」では完全一致しません。一方、TokenBigramSplitSymbolAlphaトーク" -"ナイザーを使うと" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:111 -msgid "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" -msgstr "楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d" +"TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再" +"現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-" +"gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、" +"TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、" +"TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しま" +"せんが、TokenBigramでは完全一致します。" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:113 msgid "となり、「bill」でも完全一致します。" msgstr "となり、「bill」でも完全一致します。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:115 -msgid "" -"TokenBigramSplitSymbolAlphaトークナイザーを使う場合も重み付けを考慮する必要が" -"あることはかわりありません。" -msgstr "" -"TokenBigramSplitSymbolAlphaトークナイザーを使う場合も重み付けを考慮する必要が" -"あることはかわりありません。" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:133 +msgid "% ./configure --with-match-escalation-threashold=100" +msgstr "% ./configure --with-match-escalation-threashold=100" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:117 msgid "利用できるバイグラム系のトークナイザーの一覧は以下の通りです。" msgstr "利用できるバイグラム系のトークナイザーの一覧は以下の通りです。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:119 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:77 msgid "" -"TokenBigram: バイグラムでトークナイズする。連続する記号・アルファベット・数字" -"は一語として扱う。" +"そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下" +"で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件" +"があるので採用するかどうかを十分検討してください。" msgstr "" -"TokenBigram: バイグラムでトークナイズする。連続する記号・アルファベット・数字" -"は一語として扱う。" +"そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下" +"で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件" +"があるので採用するかどうかを十分検討してください。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:120 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:91 msgid "" -"TokenBigramSplitSymbol: 記号もバイグラムでトークナイズする。連続するアルファ" -"ベット・数字は一語として扱う。" +"この状態でも以前はマッチしなかったレコードがヒットするようになります。::" msgstr "" -"TokenBigramSplitSymbol: 記号もバイグラムでトークナイズする。連続するアルファ" -"ベット・数字は一語として扱う。" +"この状態でも以前はマッチしなかったレコードがヒットするようになります。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:121 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:115 msgid "" -"TokenBigramSplitSymbolAlpha: 記号とアルファベットもバイグラムでトークナイズす" -"る。連続する数字は一語として扱う。" +"TokenBigramSplitSymbolAlphaトークナイザーを使う場合も重み付けを考慮する必要が" +"あることはかわりありません。" msgstr "" -"TokenBigramSplitSymbolAlpha: 記号とアルファベットもバイグラムでトークナイズす" -"る。連続する数字は一語として扱う。" +"TokenBigramSplitSymbolAlphaトークナイザーを使う場合も重み付けを考慮する必要が" +"あることはかわりありません。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:122 -msgid "" -"TokenBigramSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイグラムで" -"トークナイズする。" -msgstr "" -"TokenBigramSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイグラムで" -"トークナイズする。" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:65 +msgid "とトークナイズされますが、クエリの「東京都」は" +msgstr "とトークナイズされますが、クエリの「東京都」は" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:123 msgid "" @@ -425,13 +407,21 @@ msgstr "" "TokenBigramIgnoreBlank: バイグラムでトークナイズする。連続する記号・アルファ" "ベット・数字は一語として扱う。空白は無視する。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:124 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:107 +msgid "楽し / しい / billiard" +msgstr "楽し / しい / billiard" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:53 +msgid "検索の挙動には以下の3種類があります。" +msgstr "検索の挙動には以下の3種類があります。" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:36 msgid "" -"TokenBigramIgnoreBlankSplitSymbol: 記号もバイグラムでトークナイズする。連続す" -"るアルファベット・数字は一語として扱う。空白は無視する。" +"続いて、範囲指定と全文検索を組み合わせて検索します(1285858800は2010/10/1 " +"0:0:0の秒表記)。この場合もヒットします。::" msgstr "" -"TokenBigramIgnoreBlankSplitSymbol: 記号もバイグラムでトークナイズする。連続す" -"るアルファベット・数字は一語として扱う。空白は無視する。" +"続いて、範囲指定と全文検索を組み合わせて検索します(1285858800は2010/10/1 " +"0:0:0の秒表記)。この場合もヒットします。::" #: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:125 msgid "" @@ -441,38 +431,46 @@ msgstr "" "TokenBigramIgnoreBlankSplitSymbolAlpha: 記号とアルファベットもバイグラムで" "トークナイズする。連続する数字は一語として扱う。空白は無視する。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:126 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:8 msgid "" -"TokenBigramIgnoreBlankSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイ" -"グラムでトークナイズする。空白は無視する。" +"同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なるこ" +"とがあります。ここでは、その原因と対策方法を説明します。" msgstr "" -"TokenBigramIgnoreBlankSplitSymbolAlphaDigit: 記号・アルファベット・数字もバイ" -"グラムでトークナイズする。空白は無視する。" - -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:129 -msgid "対策方法2: 閾値をあげる" -msgstr "対策方法2: 閾値をあげる" +"同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なるこ" +"とがあります。ここでは、その原因と対策方法を説明します。" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:131 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:15 msgid "" -"非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-" -"escalation-threshold configureオプションで変更することができます。以下のよう" -"に指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、" -"非わかち書き検索・部分一致検索を行います。::" +"DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを" +"使ってトークナイズしてからインデックスを作成しています。::" msgstr "" -"非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-" -"escalation-threshold configureオプションで変更することができます。以下のよう" -"に指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、" -"非わかち書き検索・部分一致検索を行います。::" +"DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを" +"使ってトークナイズしてからインデックスを作成しています。::" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:133 -msgid "% ./configure --with-match-escalation-threashold=100" -msgstr "% ./configure --with-match-escalation-threashold=100" +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:100 +msgid "" +"> select Blogs --match_columns 'Terms.blog_body * 10 || Bigram.blog_body * " +"3' --query '東京都' --output_columns '_score, " +"body' [[0,8167.364602632,0.000647003],[[[1],[[\"_score\",\"Int32\"],[\"body" +"\",\"ShortText\"]],[13,\"東京都民に深刻なダメージを与えました。\"]]]]" +msgstr "" +"> select Blogs --match_columns 'Terms.blog_body * 10 || Bigram.blog_body * " +"3' --query '東京都' --output_columns '_score, " +"body' [[0,8167.364602632,0.000647003],[[[1],[[\"_score\",\"Int32\"],[\"body" +"\",\"ShortText\"]],[13,\"東京都民に深刻なダメージを与えました。\"]]]]" -#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:135 +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:71 msgid "" -"この場合も対策方法1同様、検索ノイズが上位に現れる可能性が高くなることに注意し" -"てください。検索ノイズが多くなった場合は指定する値を低くする必要があります。" +"groongaは完全一致検索した結果のヒット件数が所定の閾値を超えない場合に限り、非" +"わかち書き検索を行い、それでもヒット件数が閾値を超えない場合は部分一致検索を" +"行います(閾値は1がデフォルト値となっています)。このケースのデータは部分一致" +"検索ではヒットするので、「東京都」クエリのみを指定するとヒットします。" msgstr "" -"この場合も対策方法1同様、検索ノイズが上位に現れる可能性が高くなることに注意し" -"てください。検索ノイズが多くなった場合は指定する値を低くする必要があります。" +"groongaは完全一致検索した結果のヒット件数が所定の閾値を超えない場合に限り、非" +"わかち書き検索を行い、それでもヒット件数が閾値を超えない場合は部分一致検索を" +"行います(閾値は1がデフォルト値となっています)。このケースのデータは部分一致" +"検索ではヒットするので、「東京都」クエリのみを指定するとヒットします。" + +#: ../../../source/troubleshooting/different_results_with_the_same_keyword.txt:49 +msgid "原因" +msgstr "原因" Modified: doc/locale/en/LC_MESSAGES/tutorial.po (+2553 -2448) =================================================================== --- doc/locale/en/LC_MESSAGES/tutorial.po 2011-06-28 14:48:48 +0000 (f74532c) +++ doc/locale/en/LC_MESSAGES/tutorial.po 2011-06-28 15:04:00 +0000 (3946382) @@ -1,505 +1,586 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:55+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/example/tutorial01-1.log:1 -#: ../../../source/example/tutorial01-10.log:1 -#: ../../../source/example/tutorial01-11.log:1 -#: ../../../source/example/tutorial01-12.log:1 -#: ../../../source/example/tutorial01-13.log:1 -#: ../../../source/example/tutorial01-14.log:1 -#: ../../../source/example/tutorial01-15.log:1 -#: ../../../source/example/tutorial01-16.log:1 -#: ../../../source/example/tutorial01-17.log:1 -#: ../../../source/example/tutorial01-2.log:1 -#: ../../../source/example/tutorial01-3.log:1 -#: ../../../source/example/tutorial01-4.log:1 -#: ../../../source/example/tutorial01-5.log:1 -#: ../../../source/example/tutorial01-6.log:1 -#: ../../../source/example/tutorial01-7.log:1 -#: ../../../source/example/tutorial01-8.log:1 -#: ../../../source/example/tutorial01-9.log:1 -#: ../../../source/example/tutorial02-1.log:1 -#: ../../../source/example/tutorial02-2.log:1 -#: ../../../source/example/tutorial02-3.log:1 -#: ../../../source/example/tutorial03-1.log:1 -#: ../../../source/example/tutorial03-2.log:1 -#: ../../../source/example/tutorial03-3.log:1 -#: ../../../source/example/tutorial04-1.log:1 -#: ../../../source/example/tutorial04-2.log:1 -#: ../../../source/example/tutorial04-3.log:1 -#: ../../../source/example/tutorial04-4.log:1 -#: ../../../source/example/tutorial04-5.log:1 -#: ../../../source/example/tutorial04-6.log:1 -#: ../../../source/example/tutorial04-7.log:1 -#: ../../../source/example/tutorial05-1.log:1 -#: ../../../source/example/tutorial05-2.log:1 -#: ../../../source/example/tutorial05-3.log:1 -#: ../../../source/example/tutorial05-4.log:1 -#: ../../../source/example/tutorial05-5.log:1 -#: ../../../source/example/tutorial05-6.log:1 -#: ../../../source/example/tutorial06-1.log:1 -#: ../../../source/example/tutorial06-2.log:1 -#: ../../../source/example/tutorial06-3.log:1 -#: ../../../source/example/tutorial06-4.log:1 -#: ../../../source/example/tutorial06-5.log:1 -#: ../../../source/example/tutorial06-6.log:1 -#: ../../../source/example/tutorial06-7.log:1 -#: ../../../source/example/tutorial07-1.log:1 -#: ../../../source/example/tutorial07-2.log:1 -#: ../../../source/example/tutorial07-3.log:1 -#: ../../../source/example/tutorial07-4.log:1 -#: ../../../source/example/tutorial08-1.log:1 -#: ../../../source/example/tutorial10-1.log:1 -#: ../../../source/example/tutorial10-10.log:1 -#: ../../../source/example/tutorial10-2.log:1 -#: ../../../source/example/tutorial10-3.log:1 -#: ../../../source/example/tutorial10-4.log:1 -#: ../../../source/example/tutorial10-5.log:1 -#: ../../../source/example/tutorial10-6.log:1 -#: ../../../source/example/tutorial10-7.log:1 -#: ../../../source/example/tutorial10-8.log:1 -#: ../../../source/example/tutorial10-9.log:1 -msgid "実行例 ::" -msgstr "実行例 ::" +#: ../../../source/tutorial/tutorial06.txt:14 +msgid "" +"タグ検索はgroongaの転置インデックスというデータ構造を用いて高速に行われます。" +msgstr "" +"タグ検索はgroongaの転置インデックスというデータ構造を用いて高速に行われます。" -#: ../../../source/tutorial.txt:6 -msgid "チュートリアル" -msgstr "チュートリアル" +#: ../../../source/tutorial/tutorial01.txt:86 +msgid "テーブルに定義されているカラムのリストを表示します。" +msgstr "テーブルに定義されているカラムのリストを表示します。" -#: ../../../source/tutorial/tutorial01.txt:10 -msgid "基本的な操作" -msgstr "基本的な操作" +#: ../source/example/tutorial08-2.log:61 +msgid "" +"> table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --" +"key_type ShortText [[0,1308820998.62409,0.056108533],true] > column_create --" +"table PatSuffix --name original --type Bool [[0,1308820998.8819,0.038650376]," +"true] > load --table PatSuffix > [ > {\"_key\":\"ひろゆき\",\"original\":" +"true}, > {\"_key\":\"まろゆき\",\"original\":true}, > {\"_key\":\"ひろあき\"," +"\"original\":true} > ] [[0,1308820999.12224,1.0055318],3] > select --table " +"PatSuffix --query _key:@ゆき [[0,1308821000.32928,0.000440379],[[[4],[[\"_id" +"\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆ" +"き\",true],[5,\"まろゆき\",true],[3,\"ゆき\",false],[2,\"ろゆき\",false]]]] " +"> select --table PatSuffix --query \"_key:@ゆき original:true" +"\" [[0,1308821000.5325,0.000412256],[[[2],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆき\",true],[5,\"まろゆき" +"\",true]]]]" +msgstr "" +"> table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --" +"key_type ShortText [[0,1308820998.62409,0.056108533],true] > column_create --" +"table PatSuffix --name original --type Bool [[0,1308820998.8819,0.038650376]," +"true] > load --table PatSuffix > [ > {\"_key\":\"ひろゆき\",\"original\":" +"true}, > {\"_key\":\"まろゆき\",\"original\":true}, > {\"_key\":\"ひろあき\"," +"\"original\":true} > ] [[0,1308820999.12224,1.0055318],3] > select --table " +"PatSuffix --query _key:@ゆき [[0,1308821000.32928,0.000440379],[[[4],[[\"_id" +"\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆ" +"き\",true],[5,\"まろゆき\",true],[3,\"ゆき\",false],[2,\"ろゆき\",false]]]] " +"> select --table PatSuffix --query \"_key:@ゆき original:true" +"\" [[0,1308821000.5325,0.000412256],[[[2],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆき\",true],[5,\"まろゆき" +"\",true]]]]" -#: ../../../source/tutorial/tutorial01.txt:12 +#: ../../../source/tutorial/tutorial02.txt:100 +msgid "セキュリティ" +msgstr "セキュリティ" + +#: ../../../source/tutorial/tutorial01.txt:293 +msgid "脚注" +msgstr "脚注" + +#: ../../../source/tutorial/tutorial10.txt:126 +msgid "Bigramテーブル" +msgstr "Bigramテーブル" + +#: ../../../source/tutorial/tutorial01.txt:153 msgid "" -"groongaは、Cのライブラリとして使用する方法と、groonga実行ファイルを通して使用" -"する方法があります。" +"この実行例には、多くのパラメータが指定されています。本チュートリアルでは、こ" +"れらをすべて理解する必要はありません。以下に簡単な説明を記しますが、読み飛ば" +"してもらってかまいません。" msgstr "" -"groongaは、Cのライブラリとして使用する方法と、groonga実行ファイルを通して使用" -"する方法があります。" +"この実行例には、多くのパラメータが指定されています。本チュートリアルでは、こ" +"れらをすべて理解する必要はありません。以下に簡単な説明を記しますが、読み飛ば" +"してもらってかまいません。" -#: ../../../source/tutorial/tutorial01.txt:14 +#: ../source/example/tutorial10-9.log:530 msgid "" -"本チュートリアルでは、groonga実行ファイルを使用する方法について説明します。" +"> select --table Users --query _key:tasukuchan --output_columns favorites." +"posted_by,favorites.comment [[0,1308820978.09026,0.000447909],[[[1]," +"[[\"favorites.posted_by\",\"Users\"],[\"favorites.comment\",\"ShortText\"]]," +"[[\"daijiro\",\"OffGao\"],[\"マイクロブログ作ってみました(甘栗むいちゃいまし" +"た的な感じで)。\",\"@daijiro @tasukuchan 登録してみましたよー!\"]]]]]" msgstr "" -"本チュートリアルでは、groonga実行ファイルを使用する方法について説明します。" +"> select --table Users --query _key:tasukuchan --output_columns favorites." +"posted_by,favorites.comment [[0,1308820978.09026,0.000447909],[[[1]," +"[[\"favorites.posted_by\",\"Users\"],[\"favorites.comment\",\"ShortText\"]]," +"[[\"daijiro\",\"OffGao\"],[\"マイクロブログ作ってみました(甘栗むいちゃいまし" +"た的な感じで)。\",\"@daijiro @tasukuchan 登録してみましたよー!\"]]]]]" -#: ../../../source/tutorial/tutorial01.txt:16 +#: ../../../source/tutorial/tutorial10.txt:484 msgid "" -"groonga実行ファイルを使って、DBの作成・操作・サーバの起動・サーバへの接続など" -"の操作が行えます。" +"2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダ" +"ウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒット" +"していることがわかります。" msgstr "" -"groonga実行ファイルを使って、DBの作成・操作・サーバの起動・サーバへの接続など" -"の操作が行えます。" +"2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダ" +"ウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒット" +"していることがわかります。" -#: ../../../source/tutorial/tutorial01.txt:19 -msgid "DBの作成" -msgstr "DBの作成" +#: ../../../source/tutorial/tutorial01.txt:84 +msgid "DBに定義されているテーブルのリストを表示します。" +msgstr "DBに定義されているテーブルのリストを表示します。" -#: ../../../source/tutorial/tutorial01.txt:21 +#: ../../../source/tutorial/tutorial06.txt:19 msgid "" -"以下のようなコマンドを実行すると、データベースを新規に作成することができま" -"す。" +"動画共有サイトの検索エンジンを作ることを想定します。1つの動画には、その動画の" +"特徴を表す、複数の語句が付与されています。「ある語句が付与されている動画の一" +"覧を取得する」検索を行いたいとします。" msgstr "" -"以下のようなコマンドを実行すると、データベースを新規に作成することができま" -"す。" +"動画共有サイトの検索エンジンを作ることを想定します。1つの動画には、その動画の" +"特徴を表す、複数の語句が付与されています。「ある語句が付与されている動画の一" +"覧を取得する」検索を行いたいとします。" -#: ../../../source/tutorial/tutorial01.txt:23 -#: ../../../source/tutorial/tutorial01.txt:42 -#: ../../../source/tutorial/tutorial02.txt:18 -#: ../../../source/tutorial/tutorial02.txt:37 -#: ../../../source/tutorial/tutorial02.txt:70 -msgid "書式 ::" -msgstr "書式 ::" +#: ../../../source/tutorial/tutorial07.txt:90 +msgid "インデックスの重み" +msgstr "インデックスの重み" -#: ../../../source/tutorial/tutorial01.txt:25 -msgid "groonga -n データベースパス名" -msgstr "groonga -n データベースパス名" +#: ../../../source/tutorial/tutorial03.txt:10 +msgid "groongaでは、さまざまなデータを格納させることが出来ます。" +msgstr "groongaでは、さまざまなデータを格納させることが出来ます。" -#: ../../../source/tutorial/tutorial01.txt:27 -msgid "-nオプションは、データベースを作ることを示します。" -msgstr "-nオプションは、データベースを作ることを示します。" +#: ../../../source/tutorial/tutorial06.txt:95 +msgid "このように、テーブルの参照関係を逆にたどる検索ができました。" +msgstr "このように、テーブルの参照関係を逆にたどる検索ができました。" -#: ../../../source/tutorial/tutorial01.txt:29 -msgid "" -"データベースパス名には、新しく作成するデータベースのフルパス名を指定します。" -msgstr "" -"データベースパス名には、新しく作成するデータベースのフルパス名を指定します。" +#: ../../../source/tutorial/tutorial08.txt:10 +#: ../../../source/tutorial/tutorial08.txt:15 +msgid "主キーによる前方一致検索" +msgstr "主キーによる前方一致検索" -#: ../../../source/tutorial/tutorial01.txt:31 +#: ../../../source/tutorial/tutorial03.txt:57 msgid "" -"上記コマンドでデータベースを作成すると、そのまま対話モードと呼ばれるコマンド" -"を受け付けるモードになります。Ctrlキーを押しながらdキーを押すと、対話モードか" -"ら抜けることができます。" +"column_createコマンドでカラムを作成するとき、--flagsオプションでCOLUMN_VECTOR" +"フラグを指定すると、複数の値を配列で格納できるカラムが作成されます。" msgstr "" -"上記コマンドでデータベースを作成すると、そのまま対話モードと呼ばれるコマンド" -"を受け付けるモードになります。Ctrlキーを押しながらdキーを押すと、対話モードか" -"ら抜けることができます。" - -#: ../../../source/tutorial/tutorial01.txt:33 -#: ../../../source/tutorial/tutorial02.txt:26 -msgid "実行例::" -msgstr "実行例::" - -#: ../../../source/tutorial/tutorial01.txt:35 -msgid "% groonga -n /tmp/tutorial.db > ctrl-d %" -msgstr "% groonga -n /tmp/tutorial.db > ctrl-d %" +"column_createコマンドでカラムを作成するとき、--flagsオプションでCOLUMN_VECTOR" +"フラグを指定すると、複数の値を配列で格納できるカラムが作成されます。" -#: ../../../source/tutorial/tutorial01.txt:40 -msgid "DBの操作" -msgstr "DBの操作" +#: ../../../source/tutorial/tutorial10.txt:424 +msgid "キーワードでコメント検索" +msgstr "キーワードでコメント検索" -#: ../../../source/tutorial/tutorial01.txt:44 -msgid "groonga DBパス名 [コマンド]" -msgstr "groonga DBパス名 [コマンド]" +#: ../../../source/tutorial/tutorial02.txt:66 +msgid "HTTPによる通信" +msgstr "HTTPによる通信" -#: ../../../source/tutorial/tutorial01.txt:46 +#: ../../../source/tutorial/tutorial09.txt:8 msgid "" -"既存のデータベースのフルパス名をDBパス名に指定します。 コマンドを指定すると、" -"実行結果を返します。" +"groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語" +"彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストッ" +"プワードのフラグ、単語の重要度などを保持することができます。" msgstr "" -"既存のデータベースのフルパス名をDBパス名に指定します。 コマンドを指定すると、" -"実行結果を返します。" +"groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語" +"彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストッ" +"プワードのフラグ、単語の重要度などを保持することができます。" -#: ../../../source/tutorial/tutorial01.txt:49 +#: ../source/example/tutorial06-1.log:31 msgid "" -"コマンドを指定しない場合には、対話モードに入ります。 対話モードでは、標準入力" -"からコマンドを読み込み、順次実行します。 本チュートリアルでは、対話モードを主" -"に使用します。" +"> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32 " +"[[-22,1308820912.80154,0.000455314,\"already used name was assigned: <Video>" +"\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1274,\"table_create --" +"name Video --flags TABLE_HASH_KEY --key_type UInt32\"]]],false] > " +"table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText " +"[[-22,1308820913.00517,0.00046206,\"already used name was assigned: <Tag>\"," +"[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1275,\"table_create --name " +"Tag --flags TABLE_HASH_KEY --key_type ShortText\"]]],false] > column_create " +"--table Video --name title --flags COLUMN_SCALAR --type ShortText " +"[[-22,1308820913.20848,0.000212757,\"already used name was assigned: <Video." +"title>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1276," +"\"column_create --table Video --name title --flags COLUMN_SCALAR --type " +"ShortText\"]]],false] > column_create --table Video --name tags --flags " +"COLUMN_VECTOR --type Tag [[-22,1308820913.41095,0.000428695,\"already used " +"name was assigned: <Video.tags>\",[[\"grn_obj_register\",\"db.c\",5938," +"\"(stdin)\",1277,\"column_create --table Video --name tags --flags " +"COLUMN_VECTOR --type Tag\"]]],false] > column_create --table Tag --name " +"index_tags --flags COLUMN_INDEX --type Video --source tags " +"[[-22,1308820913.61454,0.00024036,\"already used name was assigned: <Tag." +"index_tags>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1278," +"\"column_create --table Tag --name index_tags --flags COLUMN_INDEX --type " +"Video --source tags\"]]],false] > load --table Video > [ > {\"_key\":1," +"\"title\":\"Soccer 2010\",\"tags\":[\"Sports\",\"Soccer\"]}, > {\"_key\":2," +"\"title\":\"Zenigata Kinjirou\",\"tags\":[\"Variety\",\"Money\"]}, > {\"_key" +"\":3,\"title\":\"groonga Demo\",\"tags\":[\"IT\",\"Server\",\"groonga\"]}, > " +"{\"_key\":4,\"title\":\"Moero!! Ultra Baseball\",\"tags\":[\"Sports\"," +"\"Baseball\"]}, > {\"_key\":5,\"title\":\"Hex Gone!\",\"tags\":[\"Variety\"," +"\"Quiz\"]}, > {\"_key\":6,\"title\":\"Pikonyan 1\",\"tags\":[\"Animation\"," +"\"Pikonyan\"]}, > {\"_key\":7,\"title\":\"Draw 8 Month\",\"tags\":" +"[\"Animation\",\"Raccoon\"]}, > {\"_key\":8,\"title\":\"K.O.\",\"tags\":" +"[\"Animation\",\"Music\"]} > ] [[0,1308820913.81791,2.009808857],8]" msgstr "" -"コマンドを指定しない場合には、対話モードに入ります。 対話モードでは、標準入力" -"からコマンドを読み込み、順次実行します。 本チュートリアルでは、対話モードを主" -"に使用します。" +"> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32 " +"[[-22,1308820912.80154,0.000455314,\"already used name was assigned: <Video>" +"\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1274,\"table_create --" +"name Video --flags TABLE_HASH_KEY --key_type UInt32\"]]],false] > " +"table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText " +"[[-22,1308820913.00517,0.00046206,\"already used name was assigned: <Tag>\"," +"[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1275,\"table_create --name " +"Tag --flags TABLE_HASH_KEY --key_type ShortText\"]]],false] > column_create " +"--table Video --name title --flags COLUMN_SCALAR --type ShortText " +"[[-22,1308820913.20848,0.000212757,\"already used name was assigned: <Video." +"title>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1276," +"\"column_create --table Video --name title --flags COLUMN_SCALAR --type " +"ShortText\"]]],false] > column_create --table Video --name tags --flags " +"COLUMN_VECTOR --type Tag [[-22,1308820913.41095,0.000428695,\"already used " +"name was assigned: <Video.tags>\",[[\"grn_obj_register\",\"db.c\",5938," +"\"(stdin)\",1277,\"column_create --table Video --name tags --flags " +"COLUMN_VECTOR --type Tag\"]]],false] > column_create --table Tag --name " +"index_tags --flags COLUMN_INDEX --type Video --source tags " +"[[-22,1308820913.61454,0.00024036,\"already used name was assigned: <Tag." +"index_tags>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1278," +"\"column_create --table Tag --name index_tags --flags COLUMN_INDEX --type " +"Video --source tags\"]]],false] > load --table Video > [ > {\"_key\":1," +"\"title\":\"Soccer 2010\",\"tags\":[\"Sports\",\"Soccer\"]}, > {\"_key\":2," +"\"title\":\"Zenigata Kinjirou\",\"tags\":[\"Variety\",\"Money\"]}, > {\"_key" +"\":3,\"title\":\"groonga Demo\",\"tags\":[\"IT\",\"Server\",\"groonga\"]}, > " +"{\"_key\":4,\"title\":\"Moero!! Ultra Baseball\",\"tags\":[\"Sports\"," +"\"Baseball\"]}, > {\"_key\":5,\"title\":\"Hex Gone!\",\"tags\":[\"Variety\"," +"\"Quiz\"]}, > {\"_key\":6,\"title\":\"Pikonyan 1\",\"tags\":[\"Animation\"," +"\"Pikonyan\"]}, > {\"_key\":7,\"title\":\"Draw 8 Month\",\"tags\":" +"[\"Animation\",\"Raccoon\"]}, > {\"_key\":8,\"title\":\"K.O.\",\"tags\":" +"[\"Animation\",\"Music\"]} > ] [[0,1308820913.81791,2.009808857],8]" -#: ../../../source/tutorial/tutorial01.txt:53 +#: ../source/example/tutorial01-12.log:332 msgid "" -"たとえば、statusというコマンドを実行してみましょう。statusコマンドは、groonga" -"の実行状態を返すコマンドです。" +"> select --table Site --match_columns title --query this " +"[[0,1308820934.87474,0.000280727],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" msgstr "" -"たとえば、statusというコマンドを実行してみましょう。statusコマンドは、groonga" -"の実行状態を返すコマンドです。" +"> select --table Site --match_columns title --query this " +"[[0,1308820934.87474,0.000280727],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" -#: ../../../source/tutorial/tutorial01.txt:60 +#: ../../../source/tutorial/tutorial04.txt:34 msgid "" -"以上のように、コマンドの実行結果は基本的にjson形式で返却されます。jsonの配列" -"の0番目の要素に、エラーコードや実行時間などの情報が入ります。jsonの配列の1番" -"目の様子に、コマンドの実行結果が入ります。" +"queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たす" +"レコードが結果として返ります。" msgstr "" -"以上のように、コマンドの実行結果は基本的にjson形式で返却されます。jsonの配列" -"の0番目の要素に、エラーコードや実行時間などの情報が入ります。jsonの配列の1番" -"目の様子に、コマンドの実行結果が入ります。" +"queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たす" +"レコードが結果として返ります。" -#: ../../../source/tutorial/tutorial01.txt:63 -msgid "コマンド" -msgstr "コマンド" - -#: ../../../source/tutorial/tutorial01.txt:65 -msgid "" -"groonga実行ファイルやgroongaサーバを介して様々なコマンドを実行して、DBを操作" -"することができます。 コマンドは以下の書式のうちいずれかで与えることができま" -"す。 ::" -msgstr "" -"groonga実行ファイルやgroongaサーバを介して様々なコマンドを実行して、DBを操作" -"することができます。 コマンドは以下の書式のうちいずれかで与えることができま" -"す。 ::" - -#: ../../../source/tutorial/tutorial01.txt:72 -msgid "書式1と2は混ぜて使うことができます。" -msgstr "書式1と2は混ぜて使うことができます。" - -#: ../../../source/tutorial/tutorial01.txt:74 -msgid "" -"書式2において、空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合" -"は、シングルクォート(')かダブルクォート(\")で値を囲みます。" -msgstr "" -"書式2において、空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合" -"は、シングルクォート(')かダブルクォート(\")で値を囲みます。" - -#: ../../../source/tutorial/tutorial01.txt:76 +#: ../../../source/tutorial/tutorial01.txt:203 msgid "" -"書式1: コマンド名 引数1 引数2 .. 書式2: コマンド名 --引数名1 値1 --引数名2 " -"値2 .." +"selectコマンドにおいて、queryパラメータを用いるとデータの検索を行うことができ" +"ます。" msgstr "" -"書式1: コマンド名 引数1 引数2 .. 書式2: コマンド名 --引数名1 値1 --引数名2 " -"値2 .." - -#: ../../../source/tutorial/tutorial01.txt:76 -#, fuzzy -msgid "詳しくは、 :doc:`/execfile` のコマンドの項を参考にしてください。" -msgstr "詳しくは、 :ref:`execfile` のコマンドの項を参考にしてください。" - -#: ../../../source/tutorial/tutorial01.txt:79 -msgid "主なコマンド" -msgstr "主なコマンド" - -#: ../../../source/tutorial/tutorial01.txt:82 -msgid "groongaプロセスの状態を表示します。" -msgstr "groongaプロセスの状態を表示します。" - -#: ../../../source/tutorial/tutorial01.txt:84 -msgid "DBに定義されているテーブルのリストを表示します。" -msgstr "DBに定義されているテーブルのリストを表示します。" - -#: ../../../source/tutorial/tutorial01.txt:86 -msgid "テーブルに定義されているカラムのリストを表示します。" -msgstr "テーブルに定義されているカラムのリストを表示します。" - -#: ../../../source/tutorial/tutorial01.txt:88 -msgid "DBにテーブルを追加します。" -msgstr "DBにテーブルを追加します。" - -#: ../../../source/tutorial/tutorial01.txt:90 -msgid "テーブルにカラムを追加します。" -msgstr "テーブルにカラムを追加します。" - -#: ../../../source/tutorial/tutorial01.txt:92 -msgid "テーブルに含まれるレコードを検索して表示します。" -msgstr "テーブルに含まれるレコードを検索して表示します。" - -#: ../../../source/tutorial/tutorial01.txt:94 -msgid "テーブルにレコードを挿入します。" -msgstr "テーブルにレコードを挿入します。" - -#: ../../../source/tutorial/tutorial01.txt:97 -#: ../../../source/tutorial/tutorial10.txt:17 -msgid "テーブルの作成" -msgstr "テーブルの作成" +"selectコマンドにおいて、queryパラメータを用いるとデータの検索を行うことができ" +"ます。" -#: ../../../source/tutorial/tutorial01.txt:99 -#, fuzzy -msgid ":doc:`/commands/table_create` コマンドを使用してテーブルを作成します。" -msgstr ":ref:`table_create` コマンドを使用してテーブルを作成します。" +#: ../../../source/tutorial/tutorial01.txt:23 +#: ../../../source/tutorial/tutorial01.txt:42 +#: ../../../source/tutorial/tutorial02.txt:18 +#: ../../../source/tutorial/tutorial02.txt:37 +#: ../../../source/tutorial/tutorial02.txt:70 +msgid "書式 ::" +msgstr "書式 ::" -#: ../../../source/tutorial/tutorial01.txt:101 -msgid "" -"groongaでは、多くの場合テーブルを作成する際に主キーが必要となります。また、主" -"キーには型と、その格納方法を指定する必要があります。" -msgstr "" -"groongaでは、多くの場合テーブルを作成する際に主キーが必要となります。また、主" -"キーには型と、その格納方法を指定する必要があります。" +#: ../../../source/tutorial/tutorial04.txt:67 +msgid "位置情報を用いた絞込・ソート" +msgstr "位置情報を用いた絞込・ソート" -#: ../../../source/tutorial/tutorial01.txt:103 -msgid "" -"型については、のちのチュートリアルで触れます。データの種類をあらわしているも" -"の、とイメージしてください。" -msgstr "" -"型については、のちのチュートリアルで触れます。データの種類をあらわしているも" -"の、とイメージしてください。" +#: ../../../source/tutorial/tutorial04.txt:103 +msgid "「ある地点から何m以内に存在する」といった絞込も可能です。" +msgstr "「ある地点から何m以内に存在する」といった絞込も可能です。" -#: ../../../source/tutorial/tutorial01.txt:105 +#: ../source/example/tutorial05-1.log:23 msgid "" -"主キーの格納方法によって、主キーでの検索速度や、前方一致検索の可否が決まりま" -"す。これも、のちのチュートリアルで触れます。" +"> table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308821014.79373,0.08400713],true] > table_create --name SiteCountry --" +"flags TABLE_HASH_KEY --key_type ShortText [[0,1308821015.07862,0.039604105]," +"true] > column_create --table Site --name domain --flags COLUMN_SCALAR --" +"type SiteDomain [[0,1308821015.31978,0.038851776],true] > column_create --" +"table Site --name country --flags COLUMN_SCALAR --type SiteCountry " +"[[0,1308821015.56016,0.038916093],true] > load --table Site > [ > {\"_key\":" +"\"http://example.org/\",\"domain\":\".org\",\"country\":\"japan\"}, > {\"_key" +"\":\"http://example.net/\",\"domain\":\".net\",\"country\":\"brazil\"}, > " +"{\"_key\":\"http://example.com/\",\"domain\":\".com\",\"country\":\"japan" +"\"}, > {\"_key\":\"http://example.net/afr\",\"domain\":\".net\",\"country\":" +"\"usa\"}, > {\"_key\":\"http://example.org/aba\",\"domain\":\".org\"," +"\"country\":\"korea\"}, > {\"_key\":\"http://example.com/rab\",\"domain\":\"." +"com\",\"country\":\"china\"}, > {\"_key\":\"http://example.net/atv\",\"domain" +"\":\".net\",\"country\":\"china\"}, > {\"_key\":\"http://example.org/gat\"," +"\"domain\":\".org\",\"country\":\"usa\"}, > {\"_key\":\"http://example.com/" +"vdw\",\"domain\":\".com\",\"country\":\"japan\"} > ] " +"[[0,1308821015.80061,2.21225519],9]" msgstr "" -"主キーの格納方法によって、主キーでの検索速度や、前方一致検索の可否が決まりま" -"す。これも、のちのチュートリアルで触れます。" +"> table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308821014.79373,0.08400713],true] > table_create --name SiteCountry --" +"flags TABLE_HASH_KEY --key_type ShortText [[0,1308821015.07862,0.039604105]," +"true] > column_create --table Site --name domain --flags COLUMN_SCALAR --" +"type SiteDomain [[0,1308821015.31978,0.038851776],true] > column_create --" +"table Site --name country --flags COLUMN_SCALAR --type SiteCountry " +"[[0,1308821015.56016,0.038916093],true] > load --table Site > [ > {\"_key\":" +"\"http://example.org/\",\"domain\":\".org\",\"country\":\"japan\"}, > {\"_key" +"\":\"http://example.net/\",\"domain\":\".net\",\"country\":\"brazil\"}, > " +"{\"_key\":\"http://example.com/\",\"domain\":\".com\",\"country\":\"japan" +"\"}, > {\"_key\":\"http://example.net/afr\",\"domain\":\".net\",\"country\":" +"\"usa\"}, > {\"_key\":\"http://example.org/aba\",\"domain\":\".org\"," +"\"country\":\"korea\"}, > {\"_key\":\"http://example.com/rab\",\"domain\":\"." +"com\",\"country\":\"china\"}, > {\"_key\":\"http://example.net/atv\",\"domain" +"\":\".net\",\"country\":\"china\"}, > {\"_key\":\"http://example.org/gat\"," +"\"domain\":\".org\",\"country\":\"usa\"}, > {\"_key\":\"http://example.com/" +"vdw\",\"domain\":\".com\",\"country\":\"japan\"} > ] " +"[[0,1308821015.80061,2.21225519],9]" -#: ../../../source/tutorial/tutorial01.txt:107 +#: ../source/example/tutorial07-2.log:75 msgid "" -"ここでは、ShortText型の主キー値を持ち、主キーの格納方法はHASHである、'Site'と" -"いう名前のテーブルを作成します。" +"> select --table Blog1 --match_columns title||message --query groonga " +"[[0,1308820992.85475,0.000567046],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," +"\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" +"\",\"none\"],[2,\"grn2\",\"baseball result\",\"rakutan eggs 4 - 4 groonga " +"moritars\"]]]] > select --table Blog1 --match_columns title||message --query " +"message [[0,1308820993.05879,0.000509674],[[[2],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"],[1,\"grn1\",\"groonga test\"," +"\"groonga message\"]]]] > select --table Blog1 --match_columns title --query " +"message [[0,1308820993.26226,0.000493886],[[[1],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"]]]]" msgstr "" -"ここでは、ShortText型の主キー値を持ち、主キーの格納方法はHASHである、'Site'と" -"いう名前のテーブルを作成します。" - -#: ../../../source/tutorial/tutorial01.txt:114 -#: ../../../source/tutorial/tutorial10.txt:373 -msgid "検索" -msgstr "検索" +"> select --table Blog1 --match_columns title||message --query groonga " +"[[0,1308820992.85475,0.000567046],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," +"\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" +"\",\"none\"],[2,\"grn2\",\"baseball result\",\"rakutan eggs 4 - 4 groonga " +"moritars\"]]]] > select --table Blog1 --match_columns title||message --query " +"message [[0,1308820993.05879,0.000509674],[[[2],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"],[1,\"grn1\",\"groonga test\"," +"\"groonga message\"]]]] > select --table Blog1 --match_columns title --query " +"message [[0,1308820993.26226,0.000493886],[[[1],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"]]]]" -#: ../../../source/tutorial/tutorial01.txt:116 -#, fuzzy +#: ../../../source/tutorial/tutorial10.txt:421 msgid "" -":doc:`/commands/select` コマンドを用いて、テーブルの中身を表示することができ" -"ます。" +"範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そし" +"て、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタ" +"グは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」が" +"それぞれ2件ずつであることがわかります。" msgstr "" -":ref:`select` コマンドを用いて、テーブルの中身を表示することができます。" +"範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そし" +"て、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタ" +"グは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」が" +"それぞれ2件ずつであることがわかります。" -#: ../../../source/tutorial/tutorial01.txt:122 +#: ../../../source/tutorial/tutorial04.txt:56 msgid "" -"selectにテーブル名を指定すると、指定したテーブルの中身を10件表示します。[0]は" -"検索されたレコードの件数、[\"_id\",\"Uint32\"]は値がUInt32型である\"_id'とい" -"う名前のカラム、[\"_key\",\"ShortText\"]は値がShortText型である'_key'という名" -"前のカラムを示しています。" +"という条件を指定しています。ここでは、rand()という乱数を返す関数を用いて、全" +"文検索のスコアを乱数で上書きしています。" msgstr "" -"selectにテーブル名を指定すると、指定したテーブルの中身を10件表示します。[0]は" -"検索されたレコードの件数、[\"_id\",\"Uint32\"]は値がUInt32型である\"_id'とい" -"う名前のカラム、[\"_key\",\"ShortText\"]は値がShortText型である'_key'という名" -"前のカラムを示しています。" +"という条件を指定しています。ここでは、rand()という乱数を返す関数を用いて、全" +"文検索のスコアを乱数で上書きしています。" -#: ../../../source/tutorial/tutorial01.txt:124 +#: ../source/example/tutorial01-7.log:227 msgid "" -"table_createコマンドで作成したテーブルには、最初から'_id'/'_key'という2つの" -"カラムがあります。'_id'はgroongaが自動的に付与するID番号が格納されるカラムで" -"す。'_key'は主キーが格納されるカラムです。これらのカラム名を変更することはで" -"きません。" +"> load --table Site > [ > {\"_key\":\"http://example.org/\",\"title\":\"This " +"is test record 1!\"}, > {\"_key\":\"http://example.net/\",\"title\":\"test " +"record 2.\"}, > {\"_key\":\"http://example.com/\",\"title\":\"test test " +"record three.\"}, > {\"_key\":\"http://example.net/afr\",\"title\":\"test " +"record four.\"}, > {\"_key\":\"http://example.org/aba\",\"title\":\"test " +"test test record five.\"}, > {\"_key\":\"http://example.com/rab\",\"title\":" +"\"test test test test record six.\"}, > {\"_key\":\"http://example.net/atv\"," +"\"title\":\"test test test record seven.\"}, > {\"_key\":\"http://example." +"org/gat\",\"title\":\"test test record eight.\"}, > {\"_key\":\"http://" +"example.com/vdw\",\"title\":\"test test record nine.\"}, > ] " +"[[0,1308820931.65233,2.210007023],9]" msgstr "" -"table_createコマンドで作成したテーブルには、最初から'_id'/'_key'という2つの" -"カラムがあります。'_id'はgroongaが自動的に付与するID番号が格納されるカラムで" -"す。'_key'は主キーが格納されるカラムです。これらのカラム名を変更することはで" -"きません。" - -#: ../../../source/tutorial/tutorial01.txt:127 -msgid "カラムの作成" -msgstr "カラムの作成" +"> load --table Site > [ > {\"_key\":\"http://example.org/\",\"title\":\"This " +"is test record 1!\"}, > {\"_key\":\"http://example.net/\",\"title\":\"test " +"record 2.\"}, > {\"_key\":\"http://example.com/\",\"title\":\"test test " +"record three.\"}, > {\"_key\":\"http://example.net/afr\",\"title\":\"test " +"record four.\"}, > {\"_key\":\"http://example.org/aba\",\"title\":\"test " +"test test record five.\"}, > {\"_key\":\"http://example.com/rab\",\"title\":" +"\"test test test test record six.\"}, > {\"_key\":\"http://example.net/atv\"," +"\"title\":\"test test test record seven.\"}, > {\"_key\":\"http://example." +"org/gat\",\"title\":\"test test record eight.\"}, > {\"_key\":\"http://" +"example.com/vdw\",\"title\":\"test test record nine.\"}, > ] " +"[[0,1308820931.65233,2.210007023],9]" #: ../../../source/tutorial/tutorial01.txt:129 -#, fuzzy msgid "" ":doc:`/commands/column_create` コマンドを用いて、カラムを作成することができま" "す。" msgstr "" -":ref:`column_create` コマンドを用いて、カラムを作成することができます。" +":doc:`/commands/column_create` コマンドを用いて、カラムを作成することができま" +"す。" -#: ../../../source/tutorial/tutorial01.txt:131 +#: ../../../source/tutorial/tutorial01.txt:286 msgid "" -"ShortText型の値を持つ、'comment'という名前のカラムを'Site'テーブルに追加しま" -"しょう。" +"ソートするカラム名を複数指定したい場合は、カンマ(,)区切りで指定します。複数の" +"カラムを指定した場合、最初のカラムで同一の値のレコードがあった場合に、次のカ" +"ラムの値でソートさせることができます。" msgstr "" -"ShortText型の値を持つ、'comment'という名前のカラムを'Site'テーブルに追加しま" -"しょう。" +"ソートするカラム名を複数指定したい場合は、カンマ(,)区切りで指定します。複数の" +"カラムを指定した場合、最初のカラムで同一の値のレコードがあった場合に、次のカ" +"ラムの値でソートさせることができます。" -#: ../../../source/tutorial/tutorial01.txt:138 -msgid "COLUMN_SCALARについては、通常のカラムであることを示しています。" -msgstr "COLUMN_SCALARについては、通常のカラムであることを示しています。" +#: ../../../source/tutorial/tutorial10.txt:51 +msgid "Usersテーブル" +msgstr "Usersテーブル" -#: ../../../source/tutorial/tutorial01.txt:141 -msgid "全文検索用の語彙表の作成" -msgstr "全文検索用の語彙表の作成" +#: ../../../source/tutorial/tutorial10.txt:68 +msgid "ユーザーの現在地(緯度経度座標)" +msgstr "ユーザーの現在地(緯度経度座標)" -#: ../../../source/tutorial/tutorial01.txt:143 +#: ../../../source/tutorial/tutorial06.txt:10 +msgid "タグ検索・参照関係の逆引き" +msgstr "タグ検索・参照関係の逆引き" + +#: ../../../source/tutorial/tutorial05.txt:55 msgid "" -"このチュートリアルでは、groongaに登録したデータを用いた全文検索を行います。" +"ドリルダウン結果を並びかえることができます。例えば、_nsubrecsパラメータの降順" +"で並び替えることができます。" msgstr "" -"このチュートリアルでは、groongaに登録したデータを用いた全文検索を行います。" +"ドリルダウン結果を並びかえることができます。例えば、_nsubrecsパラメータの降順" +"で並び替えることができます。" -#: ../../../source/tutorial/tutorial01.txt:145 +#: ../../../source/tutorial/tutorial01.txt:90 +msgid "テーブルにカラムを追加します。" +msgstr "テーブルにカラムを追加します。" + +#: ../../../source/tutorial/tutorial02.txt:102 msgid "" -"全文検索を行う場合は、まず語彙表を作成する必要があります。 語彙表とは、文書の" -"中にある単語が主キーとなるテーブルです。 ここでは、ShortText型の主キー値を持" -"つ、'Terms'という名前のテーブルを作成しました。" +"groongaのネットワークサービスにはは認証機能がありません。誰でもデータベースの" +"内容を閲覧・修正することができます。iptablesなどを用いて、アクセス元IPアドレ" +"スを制限することを薦めます。" msgstr "" -"全文検索を行う場合は、まず語彙表を作成する必要があります。 語彙表とは、文書の" -"中にある単語が主キーとなるテーブルです。 ここでは、ShortText型の主キー値を持" -"つ、'Terms'という名前のテーブルを作成しました。" +"groongaのネットワークサービスにはは認証機能がありません。誰でもデータベースの" +"内容を閲覧・修正することができます。iptablesなどを用いて、アクセス元IPアドレ" +"スを制限することを薦めます。" -#: ../../../source/tutorial/tutorial01.txt:153 +#: ../source/example/tutorial01-6.log:207 msgid "" -"この実行例には、多くのパラメータが指定されています。本チュートリアルでは、こ" -"れらをすべて理解する必要はありません。以下に簡単な説明を記しますが、読み飛ば" -"してもらってかまいません。" +"> column_create --table Terms --name blog_title --flags COLUMN_INDEX|" +"WITH_POSITION --type Site --source title [[0,1308820931.27655,0.173806991]," +"true]" msgstr "" -"この実行例には、多くのパラメータが指定されています。本チュートリアルでは、こ" -"れらをすべて理解する必要はありません。以下に簡単な説明を記しますが、読み飛ば" -"してもらってかまいません。" +"> column_create --table Terms --name blog_title --flags COLUMN_INDEX|" +"WITH_POSITION --type Site --source title [[0,1308820931.27655,0.173806991]," +"true]" -#: ../../../source/tutorial/tutorial01.txt:155 +#: ../../../source/tutorial/tutorial09.txt:6 +msgid "全文検索の語彙表に対する追加情報" +msgstr "全文検索の語彙表に対する追加情報" + +#: ../../../source/tutorial/tutorial10.txt:466 +msgid "ユーザーのお気に入りコメントを検索" +msgstr "ユーザーのお気に入りコメントを検索" + +#: ../../../source/tutorial/tutorial01.txt:74 msgid "" -"実行例にある、TABLE_PAT_KEY|KEY_NORMALIZEという値は、主キー値をパトリシア木に" -"格納し、各語彙を正規化して登録することを示しています。" +"書式2において、空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合" +"は、シングルクォート(')かダブルクォート(\")で値を囲みます。" msgstr "" -"実行例にある、TABLE_PAT_KEY|KEY_NORMALIZEという値は、主キー値をパトリシア木に" -"格納し、各語彙を正規化して登録することを示しています。" +"書式2において、空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合" +"は、シングルクォート(')かダブルクォート(\")で値を囲みます。" -#: ../../../source/tutorial/tutorial01.txt:157 +#: ../../../source/tutorial/tutorial01.txt:29 msgid "" -"実行例にある、TokenBigramという値は、 語彙表として使用するテーブルは、対象の" -"文書をトークナイズする方式を、default_tokenizerパラメータで与えます。この例で" -"はTokenBigramを指定しています。よって、一般的にN-gramと呼ばれるようなインデッ" -"クス方式を選択しています。" +"データベースパス名には、新しく作成するデータベースのフルパス名を指定します。" msgstr "" -"実行例にある、TokenBigramという値は、 語彙表として使用するテーブルは、対象の" -"文書をトークナイズする方式を、default_tokenizerパラメータで与えます。この例で" -"はTokenBigramを指定しています。よって、一般的にN-gramと呼ばれるようなインデッ" -"クス方式を選択しています。" +"データベースパス名には、新しく作成するデータベースのフルパス名を指定します。" -#: ../../../source/tutorial/tutorial01.txt:160 -msgid "全文検索用のインデックスカラムの作成" -msgstr "全文検索用のインデックスカラムの作成" +#: ../source/example/tutorial05-4.log:96 +msgid "" +"> select --table Site --limit 0 --drilldown domain,country " +"[[0,1308821018.62463,0.00042405],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]],[[5],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"japan\",3],[\"brazil\",1],[\"usa" +"\",2],[\"korea\",1],[\"china\",2]]]]" +msgstr "" +"> select --table Site --limit 0 --drilldown domain,country " +"[[0,1308821018.62463,0.00042405],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]],[[5],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"japan\",3],[\"brazil\",1],[\"usa" +"\",2],[\"korea\",1],[\"china\",2]]]]" -#: ../../../source/tutorial/tutorial01.txt:162 +#: ../source/example/tutorial05-5.log:109 msgid "" -"Siteテーブルのtitleカラムを全文検索の対象としたいとしましょう。その場合には、" -"語彙表にインデックス型のカラムを作成します。" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs [[0,1308821018.83002,0.000406563],[[[9],[[\"_id\",\"UInt32\"]," +"[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"],[\"location\"," +"\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\"," +"\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText" +"\"],[\"_nsubrecs\",\"Int32\"]],[\"brazil\",1],[\"korea\",1],[\"usa\",2]," +"[\"china\",2],[\"japan\",3]]]]" msgstr "" -"Siteテーブルのtitleカラムを全文検索の対象としたいとしましょう。その場合には、" -"語彙表にインデックス型のカラムを作成します。" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs [[0,1308821018.83002,0.000406563],[[[9],[[\"_id\",\"UInt32\"]," +"[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"],[\"location\"," +"\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\"," +"\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText" +"\"],[\"_nsubrecs\",\"Int32\"]],[\"brazil\",1],[\"korea\",1],[\"usa\",2]," +"[\"china\",2],[\"japan\",3]]]]" -#: ../../../source/tutorial/tutorial01.txt:168 +#: ../../../source/tutorial/tutorial04.txt:105 msgid "" -"Siteテーブルのtitleカラムを検索対象とする、'blog_title'という名前のインデック" -"ス型カラムをTermsテーブルに作成しました。インデックス対象となるテーブルをtype" -"に、インデックス対象となるカラムをsourceに指定します。" +"filterパラメータにおいて、 :doc:`../functions/geo_in_circle` 関数を用いること" +"により、2点間の距離が指定のm以下におさまるかどうかを判定することができます。" msgstr "" -"Siteテーブルのtitleカラムを検索対象とする、'blog_title'という名前のインデック" -"ス型カラムをTermsテーブルに作成しました。インデックス対象となるテーブルをtype" -"に、インデックス対象となるカラムをsourceに指定します。" +"filterパラメータにおいて、 :doc:`../functions/geo_in_circle` 関数を用いること" +"により、2点間の距離が指定のm以下におさまるかどうかを判定することができます。" -#: ../../../source/tutorial/tutorial01.txt:170 +#: ../../../source/tutorial/tutorial02.txt:90 +msgid "groonga [-p ポート番号] -d --protocol http DBパス名" +msgstr "groonga [-p ポート番号] -d --protocol http DBパス名" + +#: ../../../source/tutorial/tutorial01.txt:46 msgid "" -"実行例のflagsのCOLUMN_INDEX|WITH_POSITIONという値は、語彙の位置情報を格納する" -"インデックス型のカラムであることを示しています。通常の全文検索インデックスで" -"は、COLUMN_INDEX|WITH_POSITIONを指定してください。語彙の位置情報を格納する意" -"味については、本チュートリアルでは触れません。" +"既存のデータベースのフルパス名をDBパス名に指定します。 コマンドを指定すると、" +"実行結果を返します。" msgstr "" -"実行例のflagsのCOLUMN_INDEX|WITH_POSITIONという値は、語彙の位置情報を格納する" -"インデックス型のカラムであることを示しています。通常の全文検索インデックスで" -"は、COLUMN_INDEX|WITH_POSITIONを指定してください。語彙の位置情報を格納する意" -"味については、本チュートリアルでは触れません。" - -#: ../../../source/tutorial/tutorial01.txt:173 -#: ../../../source/tutorial/tutorial10.txt:141 -msgid "データのロード" -msgstr "データのロード" +"既存のデータベースのフルパス名をDBパス名に指定します。 コマンドを指定すると、" +"実行結果を返します。" -#: ../../../source/tutorial/tutorial01.txt:175 -#, fuzzy +#: ../../../source/tutorial/tutorial10.txt:391 msgid "" -":doc:`/commands/load` コマンドを使用します。loadコマンドでは、jsonで受け取っ" -"たデータをテーブルに格納します。" +"ここでは、 :doc:`tutorial04` で扱った、GeoPoint型のカラムで検索をします。 以" +"下の例では、指定された位置から5000m以内にいるユーザーを検索しています。" msgstr "" -":ref:`load` コマンドを使用します。loadコマンドでは、jsonで受け取ったデータを" -"テーブルに格納します。" +"ここでは、 :doc:`tutorial04` で扱った、GeoPoint型のカラムで検索をします。 以" +"下の例では、指定された位置から5000m以内にいるユーザーを検索しています。" -#: ../../../source/tutorial/tutorial01.txt:192 -msgid "selectコマンドで、データが入っていることを確認しましょう。" -msgstr "selectコマンドで、データが入っていることを確認しましょう。" +#: ../../../source/tutorial/tutorial10.txt:86 +msgid "コメントID" +msgstr "コメントID" -#: ../../../source/tutorial/tutorial01.txt:199 -msgid "データの検索" -msgstr "データの検索" +#: ../../../source/tutorial/tutorial06.txt:58 +msgid "参照関係の逆引き" +msgstr "参照関係の逆引き" -#: ../../../source/tutorial/tutorial01.txt:201 +#: ../source/example/tutorial10-10.log:548 msgid "" -"groongaでは、'_id'カラムと'_key'カラムの値はテーブル中で一意です。よって、そ" -"れを用いて検索してみましょう。" +"> select Comments --filter 'last_modified<=1268802000' --output_columns " +"posted_by.name,comment,last_modified --drilldown hash_tags,posted_by " +"[[0,1308820978.29463,0.000712033],[[[5],[[\"posted_by.name\",\"ShortText\"]," +"[\"comment\",\"ShortText\"],[\"last_modified\",\"Time\"]],[\"hsiomaneki\"," +"\"マイクロブログ作ってみました(甘栗むいちゃいました的な感じ" +"で)。\",1268795100.0],[\"グニャラくん\",\"初の書き込み。テストテス" +"ト。\",1268794800.0],[\"hsiomaneki\",\"@tasukuchan ようこそ!!!" +"\",1268795100.0],[\"グニャラくん\",\"@daijiro ありがとう!\",1268798400.0]," +"[\"グニャラくん\",\"groongaなう #groonga\",1268802000.0]],[[1],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",1]],[[2],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"daijiro\",2],[\"tasukuchan" +"\",3]]]]" msgstr "" -"groongaでは、'_id'カラムと'_key'カラムの値はテーブル中で一意です。よって、そ" -"れを用いて検索してみましょう。" +"> select Comments --filter 'last_modified<=1268802000' --output_columns " +"posted_by.name,comment,last_modified --drilldown hash_tags,posted_by " +"[[0,1308820978.29463,0.000712033],[[[5],[[\"posted_by.name\",\"ShortText\"]," +"[\"comment\",\"ShortText\"],[\"last_modified\",\"Time\"]],[\"hsiomaneki\"," +"\"マイクロブログ作ってみました(甘栗むいちゃいました的な感じ" +"で)。\",1268795100.0],[\"グニャラくん\",\"初の書き込み。テストテス" +"ト。\",1268794800.0],[\"hsiomaneki\",\"@tasukuchan ようこそ!!!" +"\",1268795100.0],[\"グニャラくん\",\"@daijiro ありがとう!\",1268798400.0]," +"[\"グニャラくん\",\"groongaなう #groonga\",1268802000.0]],[[1],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",1]],[[2],[[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"daijiro\",2],[\"tasukuchan" +"\",3]]]]" -#: ../../../source/tutorial/tutorial01.txt:203 +#: ../../../source/tutorial/tutorial01.txt:245 +msgid "複数のカラムを指定する場合は、カンマ(,)区切りで指定します。" +msgstr "複数のカラムを指定する場合は、カンマ(,)区切りで指定します。" + +#: ../../../source/tutorial/tutorial01.txt:14 msgid "" -"selectコマンドにおいて、queryパラメータを用いるとデータの検索を行うことができ" -"ます。" +"本チュートリアルでは、groonga実行ファイルを使用する方法について説明します。" msgstr "" -"selectコマンドにおいて、queryパラメータを用いるとデータの検索を行うことができ" -"ます。" +"本チュートリアルでは、groonga実行ファイルを使用する方法について説明します。" #: ../../../source/tutorial/tutorial01.txt:209 msgid "" @@ -509,132 +590,216 @@ msgstr "" "queryパラメータに与えた「_id:1」というのは、'_id'という名前のカラムに'1'とい" "う値が入っているレコードを検索する、という意味です。" -#: ../../../source/tutorial/tutorial01.txt:211 -msgid "_keyでも検索してみましょう。" -msgstr "_keyでも検索してみましょう。" +#: ../../../source/tutorial/tutorial10.txt:467 +msgid "あるユーザーがお気に入りに入れているコメントを検索します。" +msgstr "あるユーザーがお気に入りに入れているコメントを検索します。" -#: ../../../source/tutorial/tutorial01.txt:217 +#: ../../../source/tutorial/tutorial01.txt:60 msgid "" -"queryパラメータに与えた「_key:\\\"http://example.org/\\\"」というの" -"は、'_key'という名前のカラムに'\"http://example.org/\"'という値が入っているレ" -"コードを検索する、という意味です。" +"以上のように、コマンドの実行結果は基本的にjson形式で返却されます。jsonの配列" +"の0番目の要素に、エラーコードや実行時間などの情報が入ります。jsonの配列の1番" +"目の様子に、コマンドの実行結果が入ります。" msgstr "" -"queryパラメータに与えた「_key:\\\"http://example.org/\\\"」というの" -"は、'_key'という名前のカラムに'\"http://example.org/\"'という値が入っているレ" -"コードを検索する、という意味です。" +"以上のように、コマンドの実行結果は基本的にjson形式で返却されます。jsonの配列" +"の0番目の要素に、エラーコードや実行時間などの情報が入ります。jsonの配列の1番" +"目の様子に、コマンドの実行結果が入ります。" -#: ../../../source/tutorial/tutorial01.txt:220 -msgid "全文検索" -msgstr "全文検索" +#: ../source/example/tutorial05-6.log:122 +msgid "" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs --drilldown_limit 2 --drilldown_offset 2 " +"[[0,1308821019.03466,0.000365367],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\"usa\",2],[\"china\",2]]]]" +msgstr "" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs --drilldown_limit 2 --drilldown_offset 2 " +"[[0,1308821019.03466,0.000365367],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\"usa\",2],[\"china\",2]]]]" -#: ../../../source/tutorial/tutorial01.txt:222 -msgid "queryパラメータでは、インデックスを用いた全文検索を行うこともできます。" +#: ../../../source/tutorial/tutorial01.txt:199 +msgid "データの検索" +msgstr "データの検索" + +#: ../source/example/tutorial04-2.log:41 +msgid "" +"> select --table Site --filter \"_id >= 4 && _id <= 6\" --output_columns _id," +"_key [[0,1308820947.331,0.000465292],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"]],[4,\"http://example.net/afr\"],[5,\"http://example.org/aba" +"\"],[6,\"http://example.com/rab\"]]]] > select --table Site --filter \"_id " +"<= 2 || _id >= 7\" --output_columns _id,_key [[0,1308820947.5341,0.00048586]," +"[[[5],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"]],[1,\"http://example." +"org/\"],[2,\"http://example.net/\"],[7,\"http://example.net/atv\"],[8," +"\"http://example.org/gat\"],[9,\"http://example.com/vdw\"]]]]" msgstr "" -"queryパラメータでは、インデックスを用いた全文検索を行うこともできます。" +"> select --table Site --filter \"_id >= 4 && _id <= 6\" --output_columns _id," +"_key [[0,1308820947.331,0.000465292],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"]],[4,\"http://example.net/afr\"],[5,\"http://example.org/aba" +"\"],[6,\"http://example.com/rab\"]]]] > select --table Site --filter \"_id " +"<= 2 || _id >= 7\" --output_columns _id,_key [[0,1308820947.5341,0.00048586]," +"[[[5],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"]],[1,\"http://example." +"org/\"],[2,\"http://example.net/\"],[7,\"http://example.net/atv\"],[8," +"\"http://example.org/gat\"],[9,\"http://example.com/vdw\"]]]]" -#: ../../../source/tutorial/tutorial01.txt:228 +#: ../../../source/tutorial/tutorial06.txt:62 msgid "" -"titleカラムに対して、'this'という文字列で全文検索を行った結果を返します。" +"例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索すること" +"ができます。" msgstr "" -"titleカラムに対して、'this'という文字列で全文検索を行った結果を返します。" +"例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索すること" +"ができます。" -#: ../../../source/tutorial/tutorial01.txt:230 +#: ../../../source/tutorial/tutorial03.txt:74 msgid "" -"queryパラメータに与えた「title:@this」というのが、'title'という名前のカラム" -"に'this'という文字列が含まれているレコードを検索する、という意味です。" +"このように、複数の参照関係が保存できました。また、output_columnsによって、複" +"数の参照先のカラム値も表示させることができました。" msgstr "" -"queryパラメータに与えた「title:@this」というのが、'title'という名前のカラム" -"に'this'という文字列が含まれているレコードを検索する、という意味です。" +"このように、複数の参照関係が保存できました。また、output_columnsによって、複" +"数の参照先のカラム値も表示させることができました。" -#: ../../../source/tutorial/tutorial01.txt:232 +#: ../source/example/tutorial08-1.log:24 msgid "" -"selectコマンドには、match_columnsというパラメータが存在します。これを指定する" -"と、query内にカラム名を指定しない条件があった場合、match_columnsで指定された" -"カラムに対しての検索であることを示します。[1]_" +"> table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText " +"[[0,1308820996.96716,0.044653865],true] > load --table PatPrefix > [ > " +"{\"_key\":\"ひろゆき\"}, > {\"_key\":\"まろゆき\"}, > {\"_key\":\"ひろあき" +"\"} > ] [[0,1308820997.21348,1.005917803],3] > select --table PatPrefix --" +"query _key:@ひろ [[0,1308820998.42103,0.000401963],[[[2],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]],[3,\"ひろあき\"],[1,\"ひろゆき\"]]]]" msgstr "" -"selectコマンドには、match_columnsというパラメータが存在します。これを指定する" -"と、query内にカラム名を指定しない条件があった場合、match_columnsで指定された" -"カラムに対しての検索であることを示します。[1]_" +"> table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText " +"[[0,1308820996.96716,0.044653865],true] > load --table PatPrefix > [ > " +"{\"_key\":\"ひろゆき\"}, > {\"_key\":\"まろゆき\"}, > {\"_key\":\"ひろあき" +"\"} > ] [[0,1308820997.21348,1.005917803],3] > select --table PatPrefix --" +"query _key:@ひろ [[0,1308820998.42103,0.000401963],[[[2],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]],[3,\"ひろあき\"],[1,\"ひろゆき\"]]]]" -#: ../../../source/tutorial/tutorial01.txt:234 +#: ../../../source/tutorial/tutorial04.txt:62 msgid "" -"match_columnsパラメータに'title'、queryパラメータに'this'という文字列を指定す" -"ると、上記のクエリと同じ結果を得ることができます。" +"を指定しています。これは、スコア順に昇順にソートすることを意味しています。" msgstr "" -"match_columnsパラメータに'title'、queryパラメータに'this'という文字列を指定す" -"ると、上記のクエリと同じ結果を得ることができます。" +"を指定しています。これは、スコア順に昇順にソートすることを意味しています。" -#: ../../../source/tutorial/tutorial01.txt:241 -msgid "出力カラムの指定" -msgstr "出力カラムの指定" +#: ../../../source/tutorial/tutorial10.txt:110 +msgid "" +"Usersテーブルのfavoritesカラムに対するインデックス。 このインデックスを作るこ" +"とで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになり" +"ます。" +msgstr "" +"Usersテーブルのfavoritesカラムに対するインデックス。 このインデックスを作るこ" +"とで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになり" +"ます。" -#: ../../../source/tutorial/tutorial01.txt:243 +#: ../../../source/tutorial/tutorial01.txt:33 +#: ../../../source/tutorial/tutorial02.txt:26 +msgid "実行例::" +msgstr "実行例::" + +#: ../../../source/tutorial/tutorial04.txt:95 msgid "" -"selectコマンドにおいて、output_columnsパラメータを用いることで、検索結果で表" -"示するカラムを指定することが出来ます。" +"この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れている" +"ようです。" msgstr "" -"selectコマンドにおいて、output_columnsパラメータを用いることで、検索結果で表" -"示するカラムを指定することが出来ます。" +"この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れている" +"ようです。" -#: ../../../source/tutorial/tutorial01.txt:245 -msgid "複数のカラムを指定する場合は、カンマ(,)区切りで指定します。" -msgstr "複数のカラムを指定する場合は、カンマ(,)区切りで指定します。" +#: ../source/example/tutorial07-3.log:100 +msgid "" +"> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820993.46608,0.05057593],true] > column_create --table Blog2 --name " +"title --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820993.71836,0.038892177],true] > column_create --table Blog2 --name " +"message --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820993.95896,0.050752981],true] > table_create --name IndexBlog2 --" +"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " +"TokenBigram [[0,1308820994.21131,0.038689527],true] > column_create --table " +"IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION " +"--type Blog2 --source title,message [[0,1308820994.45174,0.089530422],true] " +"> load --table Blog2 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\"," +"\"message\":\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball " +"result\",\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":" +"\"grn3\",\"title\":\"groonga message\",\"message\":\"none\"} > ] " +"[[0,1308820994.74295,1.006034383],3]" +msgstr "" +"> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820993.46608,0.05057593],true] > column_create --table Blog2 --name " +"title --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820993.71836,0.038892177],true] > column_create --table Blog2 --name " +"message --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820993.95896,0.050752981],true] > table_create --name IndexBlog2 --" +"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " +"TokenBigram [[0,1308820994.21131,0.038689527],true] > column_create --table " +"IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION " +"--type Blog2 --source title,message [[0,1308820994.45174,0.089530422],true] " +"> load --table Blog2 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\"," +"\"message\":\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball " +"result\",\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":" +"\"grn3\",\"title\":\"groonga message\",\"message\":\"none\"} > ] " +"[[0,1308820994.74295,1.006034383],3]" -#: ../../../source/tutorial/tutorial01.txt:251 +#: ../../../source/tutorial/tutorial06.txt:89 msgid "" -"groongaの検索結果には、「_score」という名前のカラムが追加されています。このカ" -"ラムは、全文検索の条件が合致する文書ほど高い数値が入ります。" +"さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみま" +"しょう。" msgstr "" -"groongaの検索結果には、「_score」という名前のカラムが追加されています。このカ" -"ラムは、全文検索の条件が合致する文書ほど高い数値が入ります。" +"さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみま" +"しょう。" -#: ../../../source/tutorial/tutorial01.txt:255 -msgid "表示範囲指定" -msgstr "表示範囲指定" +#: ../../../source/tutorial/tutorial10.txt:65 +msgid "お気に入りのコメント一覧" +msgstr "お気に入りのコメント一覧" -#: ../../../source/tutorial/tutorial01.txt:257 +#: ../../../source/tutorial/tutorial02.txt:43 msgid "" -"selectコマンドにおいて、offset,limitパラメータを用いることで、検索結果から指" -"定された範囲のみを表示することが出来ます。大量の検索結果をページで分けて、1" -"ページ分のみを表示したい場合に有効です。" +"対象ホスト名を省略した場合はlocalhostに対して接続し、対象ポート番号を省略した" +"場合は10041ポートに対して接続します。" msgstr "" -"selectコマンドにおいて、offset,limitパラメータを用いることで、検索結果から指" -"定された範囲のみを表示することが出来ます。大量の検索結果をページで分けて、1" -"ページ分のみを表示したい場合に有効です。" +"対象ホスト名を省略した場合はlocalhostに対して接続し、対象ポート番号を省略した" +"場合は10041ポートに対して接続します。" -#: ../../../source/tutorial/tutorial01.txt:259 +#: ../../../source/tutorial/tutorial10.txt:53 msgid "" -"offsetパラメータには、検索結果を返す始点を指定します。1件目から結果を返す場合" -"には、0を指定します。" +"ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を" +"格納するためのテーブルです。" msgstr "" -"offsetパラメータには、検索結果を返す始点を指定します。1件目から結果を返す場合" -"には、0を指定します。" - -#: ../../../source/tutorial/tutorial01.txt:261 -msgid "limitパラメータには、検索結果を何件表示するのかを指定します。" -msgstr "limitパラメータには、検索結果を何件表示するのかを指定します。" +"ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を" +"格納するためのテーブルです。" -#: ../../../source/tutorial/tutorial01.txt:270 -msgid "並び替え" -msgstr "並び替え" +#: ../../../source/tutorial/tutorial08.txt:32 +msgid "主キーによる後方一致検索" +msgstr "主キーによる後方一致検索" -#: ../../../source/tutorial/tutorial01.txt:272 +#: ../../../source/tutorial/tutorial03.txt:63 msgid "" -"selectコマンドにおいて、sortbyパラメータを用いることで、検索結果を並び替える" -"ことが出来ます。" +"他のテーブルを参照するベクターカラムにデータを入力する場合には、参照先のテー" +"ブルの_keyカラムの値の「配列」を代入する必要があります。" msgstr "" -"selectコマンドにおいて、sortbyパラメータを用いることで、検索結果を並び替える" -"ことが出来ます。" +"他のテーブルを参照するベクターカラムにデータを入力する場合には、参照先のテー" +"ブルの_keyカラムの値の「配列」を代入する必要があります。" -#: ../../../source/tutorial/tutorial01.txt:274 +#: ../../../source/tutorial/tutorial05.txt:43 msgid "" -"sortbyパラメータにカラム名を指定することで、そのカラムの値で昇順にソートしま" -"す。また、カラム名の前にハイフン(-)を付けることで、降順にソートすることも出" -"来ます。" +"テーブル型を持つカラムに対してドリルダウンを行った場合、参照先のテーブルに存" +"在するカラム値を取得することもできます。ドリルダウンを行ったテーブルには、" +"_nsubrecsという仮想的なカラムが追加されます。このカラムには、グループ化された" +"レコード数が入ります。" msgstr "" -"sortbyパラメータにカラム名を指定することで、そのカラムの値で昇順にソートしま" -"す。また、カラム名の前にハイフン(-)を付けることで、降順にソートすることも出" -"来ます。" +"テーブル型を持つカラムに対してドリルダウンを行った場合、参照先のテーブルに存" +"在するカラム値を取得することもできます。ドリルダウンを行ったテーブルには、" +"_nsubrecsという仮想的なカラムが追加されます。このカラムには、グループ化された" +"レコード数が入ります。" + +#: ../../../source/tutorial/tutorial07.txt:53 +msgid "複数のカラムにまたがったインデックスを付与する場合" +msgstr "複数のカラムにまたがったインデックスを付与する場合" + +#: ../../../source/tutorial/tutorial02.txt:13 +msgid "groonga専用プロトコルによる通信" +msgstr "groonga専用プロトコルによる通信" #: ../../../source/tutorial/tutorial01.txt:280 msgid "" @@ -644,532 +809,711 @@ msgstr "" "出力カラムの指定で紹介した「_score」カラムは、ソートの条件としても使うことが" "できます。" -#: ../../../source/tutorial/tutorial01.txt:286 +#: ../../../source/tutorial/tutorial10.txt:116 +msgid "コメントのハッシュタグを一覧で保存するためのテーブルです。" +msgstr "コメントのハッシュタグを一覧で保存するためのテーブルです。" + +#: ../../../source/tutorial/tutorial05.txt:49 msgid "" -"ソートするカラム名を複数指定したい場合は、カンマ(,)区切りで指定します。複数の" -"カラムを指定した場合、最初のカラムで同一の値のレコードがあった場合に、次のカ" -"ラムの値でソートさせることができます。" +"複数のカラムに対してドリルダウンを行うことができます。複数のカラムに対してド" +"リルダウンを行う場合には、drilldownパラメータにカラム名をカンマ区切りで与えま" +"す。" msgstr "" -"ソートするカラム名を複数指定したい場合は、カンマ(,)区切りで指定します。複数の" -"カラムを指定した場合、最初のカラムで同一の値のレコードがあった場合に、次のカ" -"ラムの値でソートさせることができます。" +"複数のカラムに対してドリルダウンを行うことができます。複数のカラムに対してド" +"リルダウンを行う場合には、drilldownパラメータにカラム名をカンマ区切りで与えま" +"す。" -#: ../../../source/tutorial/tutorial01.txt:293 -msgid "脚注" -msgstr "脚注" +#: ../../../source/tutorial/tutorial01.txt:92 +msgid "テーブルに含まれるレコードを検索して表示します。" +msgstr "テーブルに含まれるレコードを検索して表示します。" -#: ../../../source/tutorial/tutorial01.txt:294 +#: ../../../source/tutorial/tutorial01.txt:201 msgid "" -"現在のバージョンでは、全文検索インデックスが存在する場合にのみ、match_columns" -"パラメータを利用することができます。通常のカラムでの絞り込みには利用できませ" -"ん。" +"groongaでは、'_id'カラムと'_key'カラムの値はテーブル中で一意です。よって、そ" +"れを用いて検索してみましょう。" msgstr "" -"現在のバージョンでは、全文検索インデックスが存在する場合にのみ、match_columns" -"パラメータを利用することができます。通常のカラムでの絞り込みには利用できませ" -"ん。" - -#: ../../../source/tutorial/tutorial02.txt:8 -msgid "ネットワークを通じた利用" -msgstr "ネットワークを通じた利用" +"groongaでは、'_id'カラムと'_key'カラムの値はテーブル中で一意です。よって、そ" +"れを用いて検索してみましょう。" -#: ../../../source/tutorial/tutorial02.txt:10 +#: ../../../source/tutorial/tutorial10.txt:436 msgid "" -"groongaはネットワークを通じて利用することができます。groonga独自プロトコルも" -"しくはHTTPのどちらかを選択してgroongaを起動することにより、groongaはネット" -"ワーク接続を待ち受けます。" +"今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filter" +"の両方を使用した場合、両方の条件に一致するレコードがヒットします。" msgstr "" -"groongaはネットワークを通じて利用することができます。groonga独自プロトコルも" -"しくはHTTPのどちらかを選択してgroongaを起動することにより、groongaはネット" -"ワーク接続を待ち受けます。" - -#: ../../../source/tutorial/tutorial02.txt:13 -msgid "groonga専用プロトコルによる通信" -msgstr "groonga専用プロトコルによる通信" - -#: ../../../source/tutorial/tutorial02.txt:16 -msgid "groongaデーモンの起動" -msgstr "groongaデーモンの起動" - -#: ../../../source/tutorial/tutorial02.txt:20 -msgid "groonga [-p ポート番号] -d DBパス名" -msgstr "groonga [-p ポート番号] -d DBパス名" +"今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filter" +"の両方を使用した場合、両方の条件に一致するレコードがヒットします。" -#: ../../../source/tutorial/tutorial02.txt:22 +#: ../source/example/tutorial01-3.log:138 msgid "" -"既存のデータベースのフルパス名をDBパス名に指定します。 groongaがデーモンモー" -"ドで起動し、指定したポート番号でgroongaの専用プロトコルを用いた通信をすること" -"ができます。 (ポート番号を省略した場合は10041が使用されます)" +"> select --table Site [[0,1308820930.36252,0.000151605],[[[0],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]]]]]" msgstr "" -"既存のデータベースのフルパス名をDBパス名に指定します。 groongaがデーモンモー" -"ドで起動し、指定したポート番号でgroongaの専用プロトコルを用いた通信をすること" -"ができます。 (ポート番号を省略した場合は10041が使用されます)" - -#: ../../../source/tutorial/tutorial02.txt:28 -msgid "% groonga -d /tmp/tutorial.db 12345 %" -msgstr "% groonga -d /tmp/tutorial.db 12345 %" - -#: ../../../source/tutorial/tutorial02.txt:32 -msgid "デーモンモードで起動後、プロセス番号が表示されます。" -msgstr "デーモンモードで起動後、プロセス番号が表示されます。" - -#: ../../../source/tutorial/tutorial02.txt:35 -msgid "groongaサーバへの接続" -msgstr "groongaサーバへの接続" +"> select --table Site [[0,1308820930.36252,0.000151605],[[[0],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]]]]]" -#: ../../../source/tutorial/tutorial02.txt:39 -msgid "groonga [-p ポート番号] -c [対象ホスト名またはIPアドレス]" -msgstr "groonga [-p ポート番号] -c [対象ホスト名またはIPアドレス]" +#: ../../../source/tutorial/tutorial03.txt:55 +msgid "ベクターカラム" +msgstr "ベクターカラム" -#: ../../../source/tutorial/tutorial02.txt:41 -msgid "対象ホストで動作しているgroongaサーバに接続します。" -msgstr "対象ホストで動作しているgroongaサーバに接続します。" +#: ../source/example/tutorial10-3.log:425 +msgid "" +"> select --table Users --query follower:@tasukuchan --output_columns _key," +"name [[0,1308820976.86282,0.000287394],[[[2],[[\"_key\",\"ShortText\"]," +"[\"name\",\"ShortText\"]],[\"daijiro\",\"hsiomaneki\"],[\"OffGao\",\"OffGao" +"\"]]]]" +msgstr "" +"> select --table Users --query follower:@tasukuchan --output_columns _key," +"name [[0,1308820976.86282,0.000287394],[[[2],[[\"_key\",\"ShortText\"]," +"[\"name\",\"ShortText\"]],[\"daijiro\",\"hsiomaneki\"],[\"OffGao\",\"OffGao" +"\"]]]]" -#: ../../../source/tutorial/tutorial02.txt:43 +#: ../../../source/tutorial/tutorial10.txt:147 msgid "" -"対象ホスト名を省略した場合はlocalhostに対して接続し、対象ポート番号を省略した" -"場合は10041ポートに対して接続します。" +"load --table Users [ { \"_key\": \"daijiro\", \"name\": " +"\"hsiomaneki\", \"follower\": [\"tasukuchan\"], \"favorites\": " +"[], \"location\": \"127678039x502643091\", \"location_str\": \"神奈川" +"県\", \"description\": \"groonga developer\" }, { \"_key\": " +"\"tasukuchan\", \"name\": \"グニャラくん\", \"follower\": [\"daijiro" +"\",\"OffGao\"], \"favorites\": [\"daijiro:1\",\"OffGao:1\"], " +"\"location\": \"128423343x502929252\", \"location_str\": \"東京都渋谷区" +"\", \"description\": \"エロいおっさん\" }, { \"_key\": \"OffGao" +"\", \"name\": \"OffGao\", \"follower\": [\"tasukuchan\",\"daijiro" +"\"], \"favorites\": [\"tasukuchan:1\",\"daijiro:1\"], \"location\": " +"\"128544408x502801502\", \"location_str\": \"東京都中野区\", " +"\"description\": \"がおがお\" } ] load --table Comments [ { \"_key" +"\": \"daijiro:1\", \"comment\": \"マイクロブログ作ってみました(甘栗むい" +"ちゃいました的な感じで)。\", \"last_modified\": \"2010/03/17 " +"12:05:00\", \"posted_by\": \"daijiro\", }, { \"_key\": " +"\"tasukuchan:1\", \"comment\": \"初の書き込み。テストテスト。\", " +"\"last_modified\": \"2010/03/17 12:00:00\", \"posted_by\": \"tasukuchan" +"\", }, { \"_key\": \"daijiro:2\", \"comment\": \"@tasukuchan よう" +"こそ!!!\", \"last_modified\": \"2010/03/17 12:05:00\", \"replied_to" +"\": \"tasukuchan:1\", \"replied_users\": [\"tasukuchan\"], " +"\"posted_by\": \"daijiro\", }, { \"_key\": \"tasukuchan:2\", " +"\"comment\": \"@daijiro ありがとう!\", \"last_modified\": \"2010/03/17 " +"13:00:00\", \"replied_to\": \"daijiro:2\", \"replied_users\": " +"[\"daijiro\"], \"posted_by\": \"tasukuchan\", }, { \"_key\": " +"\"tasukuchan:3\", \"comment\": \"groongaなう #groonga\", " +"\"last_modified\": \"2010/03/17 14:00:00\", \"hash_tags\": [\"groonga" +"\"], \"location\": \"127972422x503117107\", \"posted_by\": " +"\"tasukuchan\", }, { \"_key\": \"tasukuchan:4\", \"comment\": " +"\"groonga開発合宿のため羽田空港に来ました! #groonga #travel\", " +"\"last_modified\": \"2010/03/17 14:05:00\", \"hash_tags\": [\"groonga\", " +"\"travel\"], \"location\": \"127975798x502919856\", \"posted_by\": " +"\"tasukuchan\", }, { \"_key\": \"OffGao:1\", \"comment\": " +"\"@daijiro @tasukuchan 登録してみましたよー!\", \"last_modified\": " +"\"2010/03/17 15:00:00\", \"replied_users\": [\"daijiro\", \"tasukuchan" +"\"], \"location\": \"128551935x502796433\", \"posted_by\": \"OffGao" +"\", } { \"_key\": \"OffGao:2\", \"comment\": \"中野ブロードウェイ" +"なうなう\", \"last_modified\": \"2010/03/17 15:05:00\", \"location" +"\": \"128551935x502796434\", \"posted_by\": \"OffGao\", } ]" msgstr "" -"対象ホスト名を省略した場合はlocalhostに対して接続し、対象ポート番号を省略した" -"場合は10041ポートに対して接続します。" +"load --table Users [ { \"_key\": \"daijiro\", \"name\": " +"\"hsiomaneki\", \"follower\": [\"tasukuchan\"], \"favorites\": " +"[], \"location\": \"127678039x502643091\", \"location_str\": \"神奈川" +"県\", \"description\": \"groonga developer\" }, { \"_key\": " +"\"tasukuchan\", \"name\": \"グニャラくん\", \"follower\": [\"daijiro" +"\",\"OffGao\"], \"favorites\": [\"daijiro:1\",\"OffGao:1\"], " +"\"location\": \"128423343x502929252\", \"location_str\": \"東京都渋谷区" +"\", \"description\": \"エロいおっさん\" }, { \"_key\": \"OffGao" +"\", \"name\": \"OffGao\", \"follower\": [\"tasukuchan\",\"daijiro" +"\"], \"favorites\": [\"tasukuchan:1\",\"daijiro:1\"], \"location\": " +"\"128544408x502801502\", \"location_str\": \"東京都中野区\", " +"\"description\": \"がおがお\" } ] load --table Comments [ { \"_key" +"\": \"daijiro:1\", \"comment\": \"マイクロブログ作ってみました(甘栗むい" +"ちゃいました的な感じで)。\", \"last_modified\": \"2010/03/17 " +"12:05:00\", \"posted_by\": \"daijiro\", }, { \"_key\": " +"\"tasukuchan:1\", \"comment\": \"初の書き込み。テストテスト。\", " +"\"last_modified\": \"2010/03/17 12:00:00\", \"posted_by\": \"tasukuchan" +"\", }, { \"_key\": \"daijiro:2\", \"comment\": \"@tasukuchan よう" +"こそ!!!\", \"last_modified\": \"2010/03/17 12:05:00\", \"replied_to" +"\": \"tasukuchan:1\", \"replied_users\": [\"tasukuchan\"], " +"\"posted_by\": \"daijiro\", }, { \"_key\": \"tasukuchan:2\", " +"\"comment\": \"@daijiro ありがとう!\", \"last_modified\": \"2010/03/17 " +"13:00:00\", \"replied_to\": \"daijiro:2\", \"replied_users\": " +"[\"daijiro\"], \"posted_by\": \"tasukuchan\", }, { \"_key\": " +"\"tasukuchan:3\", \"comment\": \"groongaなう #groonga\", " +"\"last_modified\": \"2010/03/17 14:00:00\", \"hash_tags\": [\"groonga" +"\"], \"location\": \"127972422x503117107\", \"posted_by\": " +"\"tasukuchan\", }, { \"_key\": \"tasukuchan:4\", \"comment\": " +"\"groonga開発合宿のため羽田空港に来ました! #groonga #travel\", " +"\"last_modified\": \"2010/03/17 14:05:00\", \"hash_tags\": [\"groonga\", " +"\"travel\"], \"location\": \"127975798x502919856\", \"posted_by\": " +"\"tasukuchan\", }, { \"_key\": \"OffGao:1\", \"comment\": " +"\"@daijiro @tasukuchan 登録してみましたよー!\", \"last_modified\": " +"\"2010/03/17 15:00:00\", \"replied_users\": [\"daijiro\", \"tasukuchan" +"\"], \"location\": \"128551935x502796433\", \"posted_by\": \"OffGao" +"\", } { \"_key\": \"OffGao:2\", \"comment\": \"中野ブロードウェイ" +"なうなう\", \"last_modified\": \"2010/03/17 15:05:00\", \"location" +"\": \"128551935x502796434\", \"posted_by\": \"OffGao\", } ]" -#: ../../../source/tutorial/tutorial02.txt:45 +#: ../source/example/tutorial01-13.log:350 msgid "" -"接続に成功すると対話モードに入り、標準入力からコマンドを読み込んで順次実行し" -"ます。" +"> select --table Site --output_columns _key,title,_score --query title:@test " +"[[0,1308820935.07756,0.000495772],[[[9],[[\"_key\",\"ShortText\"],[\"title\"," +"\"ShortText\"],[\"_score\",\"Int32\"]],[\"http://example.org/\",\"This is " +"test record 1!\",1],[\"http://example.net/\",\"test record 2.\",1],[\"http://" +"example.com/\",\"test test record three.\",2],[\"http://example.net/afr\"," +"\"test record four.\",1],[\"http://example.org/aba\",\"test test test record " +"five.\",3],[\"http://example.com/rab\",\"test test test test record six." +"\",4],[\"http://example.net/atv\",\"test test test record seven.\",3]," +"[\"http://example.org/gat\",\"test test record eight.\",2],[\"http://example." +"com/vdw\",\"test test record nine.\",2]]]]" msgstr "" -"接続に成功すると対話モードに入り、標準入力からコマンドを読み込んで順次実行し" -"ます。" +"> select --table Site --output_columns _key,title,_score --query title:@test " +"[[0,1308820935.07756,0.000495772],[[[9],[[\"_key\",\"ShortText\"],[\"title\"," +"\"ShortText\"],[\"_score\",\"Int32\"]],[\"http://example.org/\",\"This is " +"test record 1!\",1],[\"http://example.net/\",\"test record 2.\",1],[\"http://" +"example.com/\",\"test test record three.\",2],[\"http://example.net/afr\"," +"\"test record four.\",1],[\"http://example.org/aba\",\"test test test record " +"five.\",3],[\"http://example.com/rab\",\"test test test test record six." +"\",4],[\"http://example.net/atv\",\"test test test record seven.\",3]," +"[\"http://example.org/gat\",\"test test record eight.\",2],[\"http://example." +"com/vdw\",\"test test record nine.\",2]]]]" -#: ../../../source/tutorial/tutorial02.txt:55 -msgid "groongaデーモンの終了" -msgstr "groongaデーモンの終了" +#: ../../../source/tutorial.txt:6 +msgid "チュートリアル" +msgstr "チュートリアル" -#: ../../../source/tutorial/tutorial02.txt:57 +#: ../source/example/tutorial10-1.log:387 msgid "" -"groongaデーモンにshutdownコマンドを発行することにより、終了させることができま" -"す。" +"> select --table Users --match_columns name,location_str,description --query " +"東京 --output_columns _key,name [[0,1308820976.45769,0.000541951],[[[2]," +"[[\"_key\",\"ShortText\"],[\"name\",\"ShortText\"]],[\"tasukuchan\",\"グニャ" +"ラくん\"],[\"OffGao\",\"OffGao\"]]]]" msgstr "" -"groongaデーモンにshutdownコマンドを発行することにより、終了させることができま" -"す。" - -#: ../../../source/tutorial/tutorial02.txt:66 -msgid "HTTPによる通信" -msgstr "HTTPによる通信" +"> select --table Users --match_columns name,location_str,description --query " +"東京 --output_columns _key,name [[0,1308820976.45769,0.000541951],[[[2]," +"[[\"_key\",\"ShortText\"],[\"name\",\"ShortText\"]],[\"tasukuchan\",\"グニャ" +"ラくん\"],[\"OffGao\",\"OffGao\"]]]]" -#: ../../../source/tutorial/tutorial02.txt:68 +#: ../../../source/tutorial/tutorial08.txt:12 msgid "" -"groongaをHTTP経由で利用したい場合には、HTTPプロトコルモードで起動します。" +"groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方" +"一致検索を行うことができます。また、追加のオプションを指定することにより、主" +"キーの後方一致検索をも行うことができます。" msgstr "" -"groongaをHTTP経由で利用したい場合には、HTTPプロトコルモードで起動します。" +"groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方" +"一致検索を行うことができます。また、追加のオプションを指定することにより、主" +"キーの後方一致検索をも行うことができます。" -#: ../../../source/tutorial/tutorial02.txt:74 +#: ../../../source/tutorial/tutorial03.txt:17 msgid "" -"protocolオプションで、groongaが受け付けるプロトコルを指定できます。httpを指定" -"すると、groongaはHTTPプロトコルでの通信を受け付けます。" +"ここでは、Int32型のカラムに整数を格納、Float型のカラムに浮動小数点の小数を、" +"ShortText型のカラムに文字列を、Time型のカラムに時間を格納する例を示します。経" +"緯度の格納については、のちのチュートリアルで触れます。" msgstr "" -"protocolオプションで、groongaが受け付けるプロトコルを指定できます。httpを指定" -"すると、groongaはHTTPプロトコルでの通信を受け付けます。" +"ここでは、Int32型のカラムに整数を格納、Float型のカラムに浮動小数点の小数を、" +"ShortText型のカラムに文字列を、Time型のカラムに時間を格納する例を示します。経" +"緯度の格納については、のちのチュートリアルで触れます。" -#: ../../../source/tutorial/tutorial02.txt:77 -msgid "HTML管理ツール" -msgstr "HTML管理ツール" +#: ../../../source/tutorial/tutorial04.txt:54 +msgid "_score = rand()" +msgstr "_score = rand()" -#: ../../../source/tutorial/tutorial02.txt:79 +#: ../../../source/tutorial/tutorial03.txt:41 msgid "" -"コマンド実行後、http://[IPアドレスまたはホスト名]:[ポート番号]/ というURLにブ" -"ラウザからアクセスすると、HTML管理ツールが表示されます。ブラウザは、" -"JavaScriptの実行が有効になっている必要があります。" +"ここでは、先のチュートリアルで作成したSiteテーブルに手を加え、どのサイトをリ" +"ンクしているのかを保存してみましょう。" msgstr "" -"コマンド実行後、http://[IPアドレスまたはホスト名]:[ポート番号]/ というURLにブ" -"ラウザからアクセスすると、HTML管理ツールが表示されます。ブラウザは、" -"JavaScriptの実行が有効になっている必要があります。" - -#: ../../../source/tutorial/tutorial02.txt:82 -msgid "HTTPでのコマンド実行" -msgstr "HTTPでのコマンド実行" +"ここでは、先のチュートリアルで作成したSiteテーブルに手を加え、どのサイトをリ" +"ンクしているのかを保存してみましょう。" -#: ../../../source/tutorial/tutorial02.txt:84 +#: ../../../source/tutorial/tutorial01.txt:122 msgid "" -"groongaがHTTPプロトコルモードで起動されているとき、「/d/コマンド名」というURL" -"にアクセスすると、コマンドを実行することが出来ます。" +"selectにテーブル名を指定すると、指定したテーブルの中身を10件表示します。[0]は" +"検索されたレコードの件数、[\"_id\",\"Uint32\"]は値がUInt32型である\"_id'とい" +"う名前のカラム、[\"_key\",\"ShortText\"]は値がShortText型である'_key'という名" +"前のカラムを示しています。" msgstr "" -"groongaがHTTPプロトコルモードで起動されているとき、「/d/コマンド名」というURL" -"にアクセスすると、コマンドを実行することが出来ます。" +"selectにテーブル名を指定すると、指定したテーブルの中身を10件表示します。[0]は" +"検索されたレコードの件数、[\"_id\",\"Uint32\"]は値がUInt32型である\"_id'とい" +"う名前のカラム、[\"_key\",\"ShortText\"]は値がShortText型である'_key'という名" +"前のカラムを示しています。" -#: ../../../source/tutorial/tutorial02.txt:86 +#: ../source/example/tutorial05-2.log:70 msgid "" -"コマンドのオプションは、HTTPのGETパラメータで渡します。つまり、「?オプション=" -"値&オプション=値 …」という書式になります。" +"> select --table Site --limit 0 --drilldown domain " +"[[0,1308821018.21592,0.000324538],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]]]]" msgstr "" -"コマンドのオプションは、HTTPのGETパラメータで渡します。つまり、「?オプション=" -"値&オプション=値 …」という書式になります。" +"> select --table Site --limit 0 --drilldown domain " +"[[0,1308821018.21592,0.000324538],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]]]]" -#: ../../../source/tutorial/tutorial02.txt:90 -msgid "groonga [-p ポート番号] -d --protocol http DBパス名" -msgstr "groonga [-p ポート番号] -d --protocol http DBパス名" +#: ../../../source/tutorial/tutorial06.txt:23 +msgid "" +"動画の情報を保存する、Videoテーブルを作成します。Videoテーブルでは、動画のタ" +"イトルをtitleカラムに、動画のタグ情報をtagsカラムにTagテーブル型で複数格納し" +"ています。 タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タ" +"グ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスを" +"index_tagsカラムに格納しています。" +msgstr "" +"動画の情報を保存する、Videoテーブルを作成します。Videoテーブルでは、動画のタ" +"イトルをtitleカラムに、動画のタグ情報をtagsカラムにTagテーブル型で複数格納し" +"ています。 タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タ" +"グ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスを" +"index_tagsカラムに格納しています。" -#: ../../../source/tutorial/tutorial02.txt:100 -msgid "セキュリティ" -msgstr "セキュリティ" +#: ../../../source/tutorial/tutorial10.txt:114 +msgid "HashTagsテーブル" +msgstr "HashTagsテーブル" -#: ../../../source/tutorial/tutorial02.txt:102 +#: ../source/example/tutorial07-1.log:32 msgid "" -"groongaのネットワークサービスにはは認証機能がありません。誰でもデータベースの" -"内容を閲覧・修正することができます。iptablesなどを用いて、アクセス元IPアドレ" -"スを制限することを薦めます。" +"> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820990.03354,0.035673804],true] > column_create --table Blog1 --name " +"title --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820990.27064,0.039038327],true] > column_create --table Blog1 --name " +"message --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820990.51063,0.02746529],true] > table_create --name IndexBlog1 --" +"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " +"TokenBigram [[0,1308820990.73983,0.050621344],true] > column_create --table " +"IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type " +"Blog1 --source title [[0,1308820990.99215,0.0775106330000001],true] > " +"column_create --table IndexBlog1 --name index_message --flags COLUMN_INDEX|" +"WITH_POSITION --type Blog1 --source message > load --table Blog1 " +"[[0,1308820991.2714,0.374852452],true] > [ > {\"_key\":\"grn1\",\"title\":" +"\"groonga test\",\"message\":\"groonga message\"}, > {\"_key\":\"grn2\"," +"\"title\":\"baseball result\",\"message\":\"rakutan eggs 4 - 4 groonga " +"moritars\"}, > {\"_key\":\"grn3\",\"title\":\"groonga message\",\"message\":" +"\"none\"} > ] [[0,1308820991.64629,1.006391124],3]" msgstr "" -"groongaのネットワークサービスにはは認証機能がありません。誰でもデータベースの" -"内容を閲覧・修正することができます。iptablesなどを用いて、アクセス元IPアドレ" -"スを制限することを薦めます。" - -#: ../../../source/tutorial/tutorial03.txt:8 -msgid "さまざまな種類をもったデータの保存" -msgstr "さまざまな種類をもったデータの保存" +"> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820990.03354,0.035673804],true] > column_create --table Blog1 --name " +"title --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820990.27064,0.039038327],true] > column_create --table Blog1 --name " +"message --flags COLUMN_SCALAR --type ShortText " +"[[0,1308820990.51063,0.02746529],true] > table_create --name IndexBlog1 --" +"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " +"TokenBigram [[0,1308820990.73983,0.050621344],true] > column_create --table " +"IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type " +"Blog1 --source title [[0,1308820990.99215,0.0775106330000001],true] > " +"column_create --table IndexBlog1 --name index_message --flags COLUMN_INDEX|" +"WITH_POSITION --type Blog1 --source message > load --table Blog1 " +"[[0,1308820991.2714,0.374852452],true] > [ > {\"_key\":\"grn1\",\"title\":" +"\"groonga test\",\"message\":\"groonga message\"}, > {\"_key\":\"grn2\"," +"\"title\":\"baseball result\",\"message\":\"rakutan eggs 4 - 4 groonga " +"moritars\"}, > {\"_key\":\"grn3\",\"title\":\"groonga message\",\"message\":" +"\"none\"} > ] [[0,1308820991.64629,1.006391124],3]" -#: ../../../source/tutorial/tutorial03.txt:10 -msgid "groongaでは、さまざまなデータを格納させることが出来ます。" -msgstr "groongaでは、さまざまなデータを格納させることが出来ます。" +#: ../../../source/tutorial/tutorial02.txt:39 +msgid "groonga [-p ポート番号] -c [対象ホスト名またはIPアドレス]" +msgstr "groonga [-p ポート番号] -c [対象ホスト名またはIPアドレス]" -#: ../../../source/tutorial/tutorial03.txt:13 -msgid "データ型" -msgstr "データ型" +#: ../../../source/tutorial/tutorial04.txt:21 +msgid "ここで、filterパラメータには" +msgstr "ここで、filterパラメータには" -#: ../../../source/tutorial/tutorial03.txt:15 -msgid "" -"groongaでは、数値(整数・小数)や文字列や時刻や経緯度などの情報を格納すること" -"ができます。" -msgstr "" -"groongaでは、数値(整数・小数)や文字列や時刻や経緯度などの情報を格納すること" -"ができます。" +#: ../../../source/tutorial/tutorial07.txt:85 +#: ../../../source/tutorial/tutorial07.txt:92 +msgid "執筆中です。" +msgstr "執筆中です。" -#: ../../../source/tutorial/tutorial03.txt:17 +#: ../../../source/tutorial/tutorial04.txt:73 msgid "" -"ここでは、Int32型のカラムに整数を格納、Float型のカラムに浮動小数点の小数を、" -"ShortText型のカラムに文字列を、Time型のカラムに時間を格納する例を示します。経" -"緯度の格納については、のちのチュートリアルで触れます。" +"経緯度をデータを入力するためには、\"緯度のミリ秒x経度のミリ秒\"という形式の文" +"字列を代入する必要があります。" msgstr "" -"ここでは、Int32型のカラムに整数を格納、Float型のカラムに浮動小数点の小数を、" -"ShortText型のカラムに文字列を、Time型のカラムに時間を格納する例を示します。経" -"緯度の格納については、のちのチュートリアルで触れます。" - -#: ../../../source/tutorial/tutorial03.txt:19 -msgid "その他のデータ型の一覧は、 :doc:`../type` を参照してください。" -msgstr "その他のデータ型の一覧は、 :doc:`../type` を参照してください。" - -#: ../../../source/tutorial/tutorial03.txt:35 -msgid "テーブル型" -msgstr "テーブル型" +"経緯度をデータを入力するためには、\"緯度のミリ秒x経度のミリ秒\"という形式の文" +"字列を代入する必要があります。" -#: ../../../source/tutorial/tutorial03.txt:37 -msgid "table_createで作成したテーブルを、カラムの型として使うことが出来ます。" -msgstr "table_createで作成したテーブルを、カラムの型として使うことが出来ます。" +#: ../../../source/tutorial/tutorial10.txt:138 +msgid "コメント内容「Comments.comment」のインデックス" +msgstr "コメント内容「Comments.comment」のインデックス" -#: ../../../source/tutorial/tutorial03.txt:39 +#: ../../../source/tutorial/tutorial10.txt:14 msgid "" -"また、output_columnsにおいて「.」を区切りとして、参照先のテーブルに存在するカ" -"ラムを指定すると、指定したカラムの値を表示することができます。" +"これまで学んだgroongaの機能を用いて、マイクロブログの検索システムを作成してみ" +"ましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログで" +"す。" msgstr "" -"また、output_columnsにおいて「.」を区切りとして、参照先のテーブルに存在するカ" -"ラムを指定すると、指定したカラムの値を表示することができます。" +"これまで学んだgroongaの機能を用いて、マイクロブログの検索システムを作成してみ" +"ましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログで" +"す。" -#: ../../../source/tutorial/tutorial03.txt:41 +#: ../../../source/tutorial/tutorial06.txt:100 msgid "" -"ここでは、先のチュートリアルで作成したSiteテーブルに手を加え、どのサイトをリ" -"ンクしているのかを保存してみましょう。" +"位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情" +"報レコードを検索する場合に、検索速度が速くなります。" msgstr "" -"ここでは、先のチュートリアルで作成したSiteテーブルに手を加え、どのサイトをリ" -"ンクしているのかを保存してみましょう。" +"位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情" +"報レコードを検索する場合に、検索速度が速くなります。" -#: ../../../source/tutorial/tutorial03.txt:43 +#: ../source/example/tutorial03-2.log:70 msgid "" -"他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの" -"_keyカラムの値を代入する必要があります。" +"> column_create --table Site --name link --type Site " +"[[0,1308820987.47796,0.067493639],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"link\":\"http://example.net/\"}] " +"[[0,1308820987.74711,0.201407365],1] > select --table Site --output_columns " +"_key,title,link._key,link.title --query title:@this " +"[[0,1308820988.15016,0.000502207],[[[1],[[\"_key\",\"ShortText\"],[\"title\"," +"\"ShortText\"],[\"link._key\",\"ShortText\"],[\"link.title\",\"ShortText\"]]," +"[\"http://example.org/\",\"This is test record 1!\",\"http://example.net/\"," +"\"test record 2.\"]]]]" msgstr "" -"他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの" -"_keyカラムの値を代入する必要があります。" +"> column_create --table Site --name link --type Site " +"[[0,1308820987.47796,0.067493639],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"link\":\"http://example.net/\"}] " +"[[0,1308820987.74711,0.201407365],1] > select --table Site --output_columns " +"_key,title,link._key,link.title --query title:@this " +"[[0,1308820988.15016,0.000502207],[[[1],[[\"_key\",\"ShortText\"],[\"title\"," +"\"ShortText\"],[\"link._key\",\"ShortText\"],[\"link.title\",\"ShortText\"]]," +"[\"http://example.org/\",\"This is test record 1!\",\"http://example.net/\"," +"\"test record 2.\"]]]]" -#: ../../../source/tutorial/tutorial03.txt:52 +#: ../source/example/tutorial10-6.log:478 msgid "" -"このように、linkカラムに他のサイトへの参照を保存することができました。また、" -"参照先の_keyとtitleカラムの内容を表示することができました。" +"> select --table Comments --query comment:@羽田 --filter 'geo_in_circle" +"(location,\"127975798x502919856\",20000)' --output_columns posted_by.name," +"comment --drilldown hash_tags,posted_by [[0,1308820977.4759,0.000704534]," +"[[[1],[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"グ" +"ニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga #travel" +"\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga" +"\",1],[\"travel\",1]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," +"\"Int32\"]],[\"tasukuchan\",1]]]]" msgstr "" -"このように、linkカラムに他のサイトへの参照を保存することができました。また、" -"参照先の_keyとtitleカラムの内容を表示することができました。" - -#: ../../../source/tutorial/tutorial03.txt:55 -msgid "ベクターカラム" -msgstr "ベクターカラム" +"> select --table Comments --query comment:@羽田 --filter 'geo_in_circle" +"(location,\"127975798x502919856\",20000)' --output_columns posted_by.name," +"comment --drilldown hash_tags,posted_by [[0,1308820977.4759,0.000704534]," +"[[[1],[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"グ" +"ニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga #travel" +"\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga" +"\",1],[\"travel\",1]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," +"\"Int32\"]],[\"tasukuchan\",1]]]]" -#: ../../../source/tutorial/tutorial03.txt:57 +#: ../../../source/tutorial/tutorial10.txt:77 msgid "" -"column_createコマンドでカラムを作成するとき、--flagsオプションでCOLUMN_VECTOR" -"フラグを指定すると、複数の値を配列で格納できるカラムが作成されます。" +"Usersテーブルのfollowerカラムに対するインデックス。 このインデックスを作るこ" +"とで、あるユーザーをフォローしているユーザーを検索できるようになります。" msgstr "" -"column_createコマンドでカラムを作成するとき、--flagsオプションでCOLUMN_VECTOR" -"フラグを指定すると、複数の値を配列で格納できるカラムが作成されます。" +"Usersテーブルのfollowerカラムに対するインデックス。 このインデックスを作るこ" +"とで、あるユーザーをフォローしているユーザーを検索できるようになります。" #: ../../../source/tutorial/tutorial03.txt:59 msgid "テーブル型で配列を格納するカラムは、1対多の参照関係を表すのに有効です。" msgstr "" "テーブル型で配列を格納するカラムは、1対多の参照関係を表すのに有効です。" -#: ../../../source/tutorial/tutorial03.txt:61 +#: ../source/example/tutorial06-5.log:166 msgid "" -"テーブル型のチュートリアルでは、Siteテーブルに手を加え、どのサイトをリンクし" -"ているのかを保存しました。しかし、通常は1つのサイトから多くのサイトにリンクが" -"張られています。複数のリンク情報を格納するために、複数の参照関係を保存するカ" -"ラムを作成してみましょう。" +"> select --table User --limit 0 --drilldown friends " +"[[0,1308820919.66284,0.000254632],[[[6],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"username\",\"ShortText\"],[\"index_friends\",\"User\"]," +"[\"friends\",\"User\"]]],[[6],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," +"\"Int32\"]],[\"taro\",3],[\"jiro\",3],[\"tomo\",5],[\"moritapo\",2],[\"ken" +"\",3],[\"hana\",1]]]]" msgstr "" -"テーブル型のチュートリアルでは、Siteテーブルに手を加え、どのサイトをリンクし" -"ているのかを保存しました。しかし、通常は1つのサイトから多くのサイトにリンクが" -"張られています。複数のリンク情報を格納するために、複数の参照関係を保存するカ" -"ラムを作成してみましょう。" +"> select --table User --limit 0 --drilldown friends " +"[[0,1308820919.66284,0.000254632],[[[6],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"username\",\"ShortText\"],[\"index_friends\",\"User\"]," +"[\"friends\",\"User\"]]],[[6],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," +"\"Int32\"]],[\"taro\",3],[\"jiro\",3],[\"tomo\",5],[\"moritapo\",2],[\"ken" +"\",3],[\"hana\",1]]]]" -#: ../../../source/tutorial/tutorial03.txt:63 +#: ../../../source/tutorial/tutorial07.txt:17 msgid "" -"他のテーブルを参照するベクターカラムにデータを入力する場合には、参照先のテー" -"ブルの_keyカラムの値の「配列」を代入する必要があります。" +"groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブ" +"ログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとし" +"ましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。" msgstr "" -"他のテーブルを参照するベクターカラムにデータを入力する場合には、参照先のテー" -"ブルの_keyカラムの値の「配列」を代入する必要があります。" +"groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブ" +"ログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとし" +"ましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。" -#: ../../../source/tutorial/tutorial03.txt:74 +#: ../../../source/tutorial/tutorial01.txt:63 +msgid "コマンド" +msgstr "コマンド" + +#: ../../../source/tutorial/tutorial01.txt:170 msgid "" -"このように、複数の参照関係が保存できました。また、output_columnsによって、複" -"数の参照先のカラム値も表示させることができました。" +"実行例のflagsのCOLUMN_INDEX|WITH_POSITIONという値は、語彙の位置情報を格納する" +"インデックス型のカラムであることを示しています。通常の全文検索インデックスで" +"は、COLUMN_INDEX|WITH_POSITIONを指定してください。語彙の位置情報を格納する意" +"味については、本チュートリアルでは触れません。" msgstr "" -"このように、複数の参照関係が保存できました。また、output_columnsによって、複" -"数の参照先のカラム値も表示させることができました。" - -#: ../../../source/tutorial/tutorial04.txt:8 -msgid "さまざまな検索条件の指定" -msgstr "さまざまな検索条件の指定" +"実行例のflagsのCOLUMN_INDEX|WITH_POSITIONという値は、語彙の位置情報を格納する" +"インデックス型のカラムであることを示しています。通常の全文検索インデックスで" +"は、COLUMN_INDEX|WITH_POSITIONを指定してください。語彙の位置情報を格納する意" +"味については、本チュートリアルでは触れません。" -#: ../../../source/tutorial/tutorial04.txt:10 +#: ../../../source/tutorial/tutorial10.txt:477 msgid "" -"groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行う" -"ことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことがで" -"きます。" +"コメントの投稿時間で検索をします。Time型については :doc:`tutorial03` で扱って" +"います。 この例では、指定した時間よりも前に投稿されているコメントを検索しま" +"す。" msgstr "" -"groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行う" -"ことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことがで" -"きます。" - -#: ../../../source/tutorial/tutorial04.txt:13 -msgid "JavaScriptに似た文法での絞込・全文検索" -msgstr "JavaScriptに似た文法での絞込・全文検索" +"コメントの投稿時間で検索をします。Time型については :doc:`tutorial03` で扱って" +"います。 この例では、指定した時間よりも前に投稿されているコメントを検索しま" +"す。" -#: ../../../source/tutorial/tutorial04.txt:15 +#: ../../../source/tutorial/tutorial02.txt:57 msgid "" -"selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条" -"件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメー" -"タには、JavaScriptの式に似た文法で条件を指定する点です。" +"groongaデーモンにshutdownコマンドを発行することにより、終了させることができま" +"す。" msgstr "" -"selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条" -"件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメー" -"タには、JavaScriptの式に似た文法で条件を指定する点です。" - -#: ../../../source/tutorial/tutorial04.txt:21 -msgid "ここで、filterパラメータには" -msgstr "ここで、filterパラメータには" - -#: ../../../source/tutorial/tutorial04.txt:23 -msgid "_id <= 1" -msgstr "_id <= 1" +"groongaデーモンにshutdownコマンドを発行することにより、終了させることができま" +"す。" -#: ../../../source/tutorial/tutorial04.txt:25 +#: ../../../source/tutorial/tutorial01.txt:175 msgid "" -"という条件を指定しています。この場合は_idの値が1以下のレコードが検索結果とし" -"て得られます。" +":doc:`/commands/load` コマンドを使用します。loadコマンドでは、jsonで受け取っ" +"たデータをテーブルに格納します。" msgstr "" -"という条件を指定しています。この場合は_idの値が1以下のレコードが検索結果とし" -"て得られます。" +":doc:`/commands/load` コマンドを使用します。loadコマンドでは、jsonで受け取っ" +"たデータをテーブルに格納します。" -#: ../../../source/tutorial/tutorial04.txt:27 -msgid "また、&& や || を使って、条件のAND・OR指定をすることもできます。" -msgstr "また、&& や || を使って、条件のAND・OR指定をすることもできます。" +#: ../../../source/tutorial/tutorial10.txt:456 +msgid "ユーザーIDでコメント検索" +msgstr "ユーザーIDでコメント検索" -#: ../../../source/tutorial/tutorial04.txt:34 +#: ../../../source/tutorial/tutorial04.txt:50 msgid "" -"queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たす" -"レコードが結果として返ります。" +"検索結果には、'_score'という名前の、全文検索のスコアが代入されている仮想的な" +"カラムが付与されることをチュートリアル中ソートの項目で説明しました。" msgstr "" -"queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たす" -"レコードが結果として返ります。" - -#: ../../../source/tutorial/tutorial04.txt:37 -msgid "scorerを利用したソート" -msgstr "scorerを利用したソート" +"検索結果には、'_score'という名前の、全文検索のスコアが代入されている仮想的な" +"カラムが付与されることをチュートリアル中ソートの項目で説明しました。" -#: ../../../source/tutorial/tutorial04.txt:39 +#: ../source/example/tutorial10-4.log:443 msgid "" -"selectコマンドのscorerパラメータは、 全文検索を行った結果の各レコードに対して" -"処理を行うためのパラメータです。" +"> select --table Comments --filter 'geo_in_circle(location," +"\"127975798x502919856\",20000)' --output_columns posted_by.name,comment --" +"drilldown hash_tags,posted_by [[0,1308820977.06572,0.000719797],[[[4]," +"[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"OffGao\"," +"\"@daijiro @tasukuchan 登録してみましたよー!\"],[\"グニャラくん\",\"groonga" +"なう #groonga\"],[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来まし" +"た! #groonga #travel\"],[\"OffGao\",\"中野ブロードウェイなうなう\"]],[[2]," +"[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",2]," +"[\"travel\",1]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," +"[\"OffGao\",2],[\"tasukuchan\",2]]]]" msgstr "" -"selectコマンドのscorerパラメータは、 全文検索を行った結果の各レコードに対して" -"処理を行うためのパラメータです。" +"> select --table Comments --filter 'geo_in_circle(location," +"\"127975798x502919856\",20000)' --output_columns posted_by.name,comment --" +"drilldown hash_tags,posted_by [[0,1308820977.06572,0.000719797],[[[4]," +"[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"OffGao\"," +"\"@daijiro @tasukuchan 登録してみましたよー!\"],[\"グニャラくん\",\"groonga" +"なう #groonga\"],[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来まし" +"た! #groonga #travel\"],[\"OffGao\",\"中野ブロードウェイなうなう\"]],[[2]," +"[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",2]," +"[\"travel\",1]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," +"[\"OffGao\",2],[\"tasukuchan\",2]]]]" -#: ../../../source/tutorial/tutorial04.txt:42 +#: ../../../source/tutorial/tutorial10.txt:59 +msgid "ユーザー名" +msgstr "ユーザー名" + +#: ../../../source/tutorial/tutorial01.txt:294 msgid "" -"filterパラメータと同様に、 JavaScriptの式に似たな文法で様々な条件を指定するこ" -"とができます。" +"現在のバージョンでは、全文検索インデックスが存在する場合にのみ、match_columns" +"パラメータを利用することができます。通常のカラムでの絞り込みには利用できませ" +"ん。" msgstr "" -"filterパラメータと同様に、 JavaScriptの式に似たな文法で様々な条件を指定するこ" -"とができます。" +"現在のバージョンでは、全文検索インデックスが存在する場合にのみ、match_columns" +"パラメータを利用することができます。通常のカラムでの絞り込みには利用できませ" +"ん。" -#: ../../../source/tutorial/tutorial04.txt:50 +#: ../../../source/tutorial/tutorial01.txt:232 msgid "" -"検索結果には、'_score'という名前の、全文検索のスコアが代入されている仮想的な" -"カラムが付与されることをチュートリアル中ソートの項目で説明しました。" +"selectコマンドには、match_columnsというパラメータが存在します。これを指定する" +"と、query内にカラム名を指定しない条件があった場合、match_columnsで指定された" +"カラムに対しての検索であることを示します。[1]_" msgstr "" -"検索結果には、'_score'という名前の、全文検索のスコアが代入されている仮想的な" -"カラムが付与されることをチュートリアル中ソートの項目で説明しました。" - -#: ../../../source/tutorial/tutorial04.txt:52 -msgid "上記の実行例では、scorerパラメータに" -msgstr "上記の実行例では、scorerパラメータに" +"selectコマンドには、match_columnsというパラメータが存在します。これを指定する" +"と、query内にカラム名を指定しない条件があった場合、match_columnsで指定された" +"カラムに対しての検索であることを示します。[1]_" -#: ../../../source/tutorial/tutorial04.txt:54 -msgid "_score = rand()" -msgstr "_score = rand()" +#: ../../../source/tutorial/tutorial04.txt:107 +msgid "たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。" +msgstr "たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。" -#: ../../../source/tutorial/tutorial04.txt:56 +#: ../../../source/tutorial/tutorial05.txt:14 msgid "" -"という条件を指定しています。ここでは、rand()という乱数を返す関数を用いて、全" -"文検索のスコアを乱数で上書きしています。" +"groongaでは、特定のカラム値で検索結果をグループ化することができます。これをド" +"リルダウンと呼びます。" msgstr "" -"という条件を指定しています。ここでは、rand()という乱数を返す関数を用いて、全" -"文検索のスコアを乱数で上書きしています。" - -#: ../../../source/tutorial/tutorial04.txt:58 -msgid "sortbyパラメータには、" -msgstr "sortbyパラメータには、" +"groongaでは、特定のカラム値で検索結果をグループ化することができます。これをド" +"リルダウンと呼びます。" -#: ../../../source/tutorial/tutorial04.txt:60 -msgid "_score" -msgstr "_score" +#: ../../../source/tutorial/tutorial02.txt:74 +msgid "" +"protocolオプションで、groongaが受け付けるプロトコルを指定できます。httpを指定" +"すると、groongaはHTTPプロトコルでの通信を受け付けます。" +msgstr "" +"protocolオプションで、groongaが受け付けるプロトコルを指定できます。httpを指定" +"すると、groongaはHTTPプロトコルでの通信を受け付けます。" -#: ../../../source/tutorial/tutorial04.txt:62 +#: ../source/example/tutorial01-10.log:295 msgid "" -"を指定しています。これは、スコア順に昇順にソートすることを意味しています。" +"> select --table Site --query \"_key:\\\"http://example.org/\\" +"\"\" [[0,1308820934.46932,0.000421384],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" msgstr "" -"を指定しています。これは、スコア順に昇順にソートすることを意味しています。" +"> select --table Site --query \"_key:\\\"http://example.org/\\" +"\"\" [[0,1308820934.46932,0.000421384],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" + +#: ../../../source/tutorial/tutorial10.txt:19 +msgid "まずは、テーブルを作成します。" +msgstr "まずは、テーブルを作成します。" -#: ../../../source/tutorial/tutorial04.txt:64 +#: ../../../source/tutorial/tutorial08.txt:17 msgid "" -"よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わりま" -"す。" +"table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キー" +"による前方一致検索ができるようになります。" msgstr "" -"よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わりま" -"す。" - -#: ../../../source/tutorial/tutorial04.txt:67 -msgid "位置情報を用いた絞込・ソート" -msgstr "位置情報を用いた絞込・ソート" +"table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キー" +"による前方一致検索ができるようになります。" -#: ../../../source/tutorial/tutorial04.txt:69 +#: ../../../source/tutorial/tutorial07.txt:19 msgid "" -"groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度" -"を用いて絞込やソートができます。" +"この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つず" +"つインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのイン" +"デックスを付与する方式です。groongaでは、どちらの形式のインデックスが存在して" +"いる場合でも、同一の記法で全文検索を行うことができます。" msgstr "" -"groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度" -"を用いて絞込やソートができます。" +"この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つず" +"つインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのイン" +"デックスを付与する方式です。groongaでは、どちらの形式のインデックスが存在して" +"いる場合でも、同一の記法で全文検索を行うことができます。" -#: ../../../source/tutorial/tutorial04.txt:71 +#: ../../../source/tutorial/tutorial02.txt:35 +msgid "groongaサーバへの接続" +msgstr "groongaサーバへの接続" + +#: ../source/example/tutorial05-3.log:83 msgid "" -"位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの" -"型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存しま" -"す。" +"> select --table Site --limit 0 --drilldown domain --" +"drilldown_output_columns _id,_key,_nsubrecs " +"[[0,1308821018.42021,0.000313807],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[1,\".org\",3],[2,\".net\",3],[3," +"\".com\",3]]]]" msgstr "" -"位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの" -"型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存しま" -"す。" +"> select --table Site --limit 0 --drilldown domain --" +"drilldown_output_columns _id,_key,_nsubrecs " +"[[0,1308821018.42021,0.000313807],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," +"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," +"[\"country\",\"SiteCountry\"]]],[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[1,\".org\",3],[2,\".net\",3],[3," +"\".com\",3]]]]" -#: ../../../source/tutorial/tutorial04.txt:73 +#: ../source/example/tutorial06-4.log:150 msgid "" -"経緯度をデータを入力するためには、\"緯度のミリ秒x経度のミリ秒\"という形式の文" -"字列を代入する必要があります。" +"> select --table User --query friends:@tomo --output_columns _key,username " +"[[0,1308820919.25622,0.000551379],[[[5],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"jiro\"," +"\"ぐるんが次郎\"],[\"moritapo\",\"森田\"],[\"hana\",\"花子\"]]]] > select --" +"table User --query friends:@jiro --output_columns _key,username " +"[[0,1308820919.46056,0.000443467],[[[3],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"hana\"," +"\"花子\"]]]]" msgstr "" -"経緯度をデータを入力するためには、\"緯度のミリ秒x経度のミリ秒\"という形式の文" -"字列を代入する必要があります。" +"> select --table User --query friends:@tomo --output_columns _key,username " +"[[0,1308820919.25622,0.000551379],[[[5],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"jiro\"," +"\"ぐるんが次郎\"],[\"moritapo\",\"森田\"],[\"hana\",\"花子\"]]]] > select --" +"table User --query friends:@jiro --output_columns _key,username " +"[[0,1308820919.46056,0.000443467],[[[3],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"hana\"," +"\"花子\"]]]]" -#: ../../../source/tutorial/tutorial04.txt:75 +#: ../../../source/tutorial/tutorial02.txt:45 msgid "" -"ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみ" -"ましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅" -"は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、代入する文字列" -"はそれぞれ\"128452975x503157902\"/\"128487316x502920929\"となります。" +"接続に成功すると対話モードに入り、標準入力からコマンドを読み込んで順次実行し" +"ます。" msgstr "" -"ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみ" -"ましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅" -"は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、代入する文字列" -"はそれぞれ\"128452975x503157902\"/\"128487316x502920929\"となります。" +"接続に成功すると対話モードに入り、標準入力からコマンドを読み込んで順次実行し" +"ます。" -#: ../../../source/tutorial/tutorial04.txt:87 +#: ../../../source/tutorial/tutorial01.txt:12 msgid "" -"scorerパラメータにおいて、 :doc:`../functions/geo_distance` 関数を用いること" -"により、2点間の距離を計算することができます。" +"groongaは、Cのライブラリとして使用する方法と、groonga実行ファイルを通して使用" +"する方法があります。" msgstr "" -"scorerパラメータにおいて、 :doc:`../functions/geo_distance` 関数を用いること" -"により、2点間の距離を計算することができます。" +"groongaは、Cのライブラリとして使用する方法と、groonga実行ファイルを通して使用" +"する方法があります。" -#: ../../../source/tutorial/tutorial04.txt:89 +#: ../../../source/tutorial/tutorial01.txt:143 msgid "" -"ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅" -"の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、" -"geo_distance関数に与える文字列は\"128515259x503187188\"となります。" +"このチュートリアルでは、groongaに登録したデータを用いた全文検索を行います。" msgstr "" -"ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅" -"の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、" -"geo_distance関数に与える文字列は\"128515259x503187188\"となります。" +"このチュートリアルでは、groongaに登録したデータを用いた全文検索を行います。" -#: ../../../source/tutorial/tutorial04.txt:95 +#: ../../../source/tutorial/tutorial01.txt:116 msgid "" -"この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れている" -"ようです。" +":doc:`/commands/select` コマンドを用いて、テーブルの中身を表示することができ" +"ます。" msgstr "" -"この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れている" -"ようです。" +":doc:`/commands/select` コマンドを用いて、テーブルの中身を表示することができ" +"ます。" -#: ../../../source/tutorial/tutorial04.txt:97 -msgid "geo_distance関数は、_scoreを通じてソートでも用いることができます。" -msgstr "geo_distance関数は、_scoreを通じてソートでも用いることができます。" +#: ../../../source/tutorial/tutorial10.txt:56 +msgid "ユーザーID" +msgstr "ユーザーID" -#: ../../../source/tutorial/tutorial04.txt:103 -msgid "「ある地点から何m以内に存在する」といった絞込も可能です。" -msgstr "「ある地点から何m以内に存在する」といった絞込も可能です。" +#: ../../../source/tutorial/tutorial10.txt:104 +msgid "投稿場所(緯度経度座標のため)" +msgstr "投稿場所(緯度経度座標のため)" -#: ../../../source/tutorial/tutorial04.txt:105 +#: ../../../source/tutorial/tutorial01.txt:131 msgid "" -"filterパラメータにおいて、 :doc:`../functions/geo_in_circle` 関数を用いること" -"により、2点間の距離が指定のm以下におさまるかどうかを判定することができます。" +"ShortText型の値を持つ、'comment'という名前のカラムを'Site'テーブルに追加しま" +"しょう。" msgstr "" -"filterパラメータにおいて、 :doc:`../functions/geo_in_circle` 関数を用いること" -"により、2点間の距離が指定のm以下におさまるかどうかを判定することができます。" +"ShortText型の値を持つ、'comment'という名前のカラムを'Site'テーブルに追加しま" +"しょう。" -#: ../../../source/tutorial/tutorial04.txt:107 -msgid "たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。" -msgstr "たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。" +#: ../../../source/tutorial/tutorial01.txt:257 +msgid "" +"selectコマンドにおいて、offset,limitパラメータを用いることで、検索結果から指" +"定された範囲のみを表示することが出来ます。大量の検索結果をページで分けて、1" +"ページ分のみを表示したい場合に有効です。" +msgstr "" +"selectコマンドにおいて、offset,limitパラメータを用いることで、検索結果から指" +"定された範囲のみを表示することが出来ます。大量の検索結果をページで分けて、1" +"ページ分のみを表示したい場合に有効です。" -#: ../../../source/tutorial/tutorial04.txt:113 +#: ../../../source/tutorial/tutorial10.txt:476 +msgid "投稿時間でコメント検索" +msgstr "投稿時間でコメント検索" + +#: ../source/example/tutorial01-9.log:280 msgid "" -"また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/" -"geo_in_rectangle` 関数も存在します。" +"> select --table Site --query _id:1 [[0,1308820934.2671,0.000244984],[[[1]," +"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1," +"\"http://example.org/\",\"This is test record 1!\"]]]]" msgstr "" -"また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/" -"geo_in_rectangle` 関数も存在します。" +"> select --table Site --query _id:1 [[0,1308820934.2671,0.000244984],[[[1]," +"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1," +"\"http://example.org/\",\"This is test record 1!\"]]]]" -#: ../../../source/tutorial/tutorial05.txt:12 -msgid "ドリルダウン" -msgstr "ドリルダウン" +#: ../../../source/tutorial/tutorial04.txt:25 +msgid "" +"という条件を指定しています。この場合は_idの値が1以下のレコードが検索結果とし" +"て得られます。" +msgstr "" +"という条件を指定しています。この場合は_idの値が1以下のレコードが検索結果とし" +"て得られます。" -#: ../../../source/tutorial/tutorial05.txt:14 +#: ../../../source/tutorial/tutorial01.txt:230 msgid "" -"groongaでは、特定のカラム値で検索結果をグループ化することができます。これをド" -"リルダウンと呼びます。" +"queryパラメータに与えた「title:@this」というのが、'title'という名前のカラム" +"に'this'という文字列が含まれているレコードを検索する、という意味です。" msgstr "" -"groongaでは、特定のカラム値で検索結果をグループ化することができます。これをド" -"リルダウンと呼びます。" +"queryパラメータに与えた「title:@this」というのが、'title'という名前のカラム" +"に'this'という文字列が含まれているレコードを検索する、という意味です。" #: ../../../source/tutorial/tutorial05.txt:16 msgid "" @@ -1183,696 +1527,680 @@ msgstr "" "を主キーとするSiteDomainテーブルと、国名を主キーとするSiteCountryテーブルとし" "ます。" -#: ../../../source/tutorial/tutorial05.txt:37 -msgid "domainカラムとcountryカラムでドリルダウンを行う例を以下に示します。" -msgstr "domainカラムとcountryカラムでドリルダウンを行う例を以下に示します。" - -#: ../../../source/tutorial/tutorial05.txt:43 -msgid "" -"テーブル型を持つカラムに対してドリルダウンを行った場合、参照先のテーブルに存" -"在するカラム値を取得することもできます。ドリルダウンを行ったテーブルには、" -"_nsubrecsという仮想的なカラムが追加されます。このカラムには、グループ化された" -"レコード数が入ります。" -msgstr "" -"テーブル型を持つカラムに対してドリルダウンを行った場合、参照先のテーブルに存" -"在するカラム値を取得することもできます。ドリルダウンを行ったテーブルには、" -"_nsubrecsという仮想的なカラムが追加されます。このカラムには、グループ化された" -"レコード数が入ります。" - -#: ../../../source/tutorial/tutorial05.txt:49 -msgid "" -"複数のカラムに対してドリルダウンを行うことができます。複数のカラムに対してド" -"リルダウンを行う場合には、drilldownパラメータにカラム名をカンマ区切りで与えま" -"す。" -msgstr "" -"複数のカラムに対してドリルダウンを行うことができます。複数のカラムに対してド" -"リルダウンを行う場合には、drilldownパラメータにカラム名をカンマ区切りで与えま" -"す。" - -#: ../../../source/tutorial/tutorial05.txt:55 -msgid "" -"ドリルダウン結果を並びかえることができます。例えば、_nsubrecsパラメータの降順" -"で並び替えることができます。" -msgstr "" -"ドリルダウン結果を並びかえることができます。例えば、_nsubrecsパラメータの降順" -"で並び替えることができます。" - -#: ../../../source/tutorial/tutorial05.txt:61 -msgid "" -"ドリルダウン結果は、デフォルトでは10件のみ表示されます。drilldown_offsetパラ" -"メータと、drilldown_limitパラメータによって、offsetとlimitを指定することがで" -"きます。" -msgstr "" -"ドリルダウン結果は、デフォルトでは10件のみ表示されます。drilldown_offsetパラ" -"メータと、drilldown_limitパラメータによって、offsetとlimitを指定することがで" -"きます。" +#: ../../../source/tutorial/tutorial02.txt:55 +msgid "groongaデーモンの終了" +msgstr "groongaデーモンの終了" -#: ../../../source/tutorial/tutorial05.txt:67 -msgid "" -"文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速で" -"す。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文" -"字列型を主キーとするテーブルを別途作成し、そのテーブルを型とするカラムを作成" -"します。" -msgstr "" -"文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速で" -"す。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文" -"字列型を主キーとするテーブルを別途作成し、そのテーブルを型とするカラムを作成" -"します。" +#: ../../../source/tutorial/tutorial10.txt:98 +msgid "返信先のユーザーの一覧" +msgstr "返信先のユーザーの一覧" -#: ../../../source/tutorial/tutorial06.txt:10 -msgid "タグ検索・参照関係の逆引き" -msgstr "タグ検索・参照関係の逆引き" +#: ../../../source/tutorial/tutorial10.txt:89 +msgid "コメント内容" +msgstr "コメント内容" -#: ../../../source/tutorial/tutorial06.txt:12 -msgid "" -"本チュートリアルで、groongaはカラム値として他のテーブルへの参照の配列を持つこ" -"とができることを紹介いたしました。実は、テーブルへの参照の配列データを用いる" -"ことによって、いわゆるタグ検索を行うことが可能となります。" -msgstr "" -"本チュートリアルで、groongaはカラム値として他のテーブルへの参照の配列を持つこ" -"とができることを紹介いたしました。実は、テーブルへの参照の配列データを用いる" -"ことによって、いわゆるタグ検索を行うことが可能となります。" +#: ../../../source/tutorial/tutorial10.txt:401 +msgid "あるユーザーをフォローしているユーザーの検索" +msgstr "あるユーザーをフォローしているユーザーの検索" -#: ../../../source/tutorial/tutorial06.txt:14 +#: ../../../source/tutorial/tutorial06.txt:113 msgid "" -"タグ検索はgroongaの転置インデックスというデータ構造を用いて高速に行われます。" +"同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。" msgstr "" -"タグ検索はgroongaの転置インデックスというデータ構造を用いて高速に行われます。" +"同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。" -#: ../../../source/tutorial/tutorial06.txt:17 -msgid "タグ検索" -msgstr "タグ検索" +#: ../../../source/tutorial/tutorial03.txt:8 +msgid "さまざまな種類をもったデータの保存" +msgstr "さまざまな種類をもったデータの保存" -#: ../../../source/tutorial/tutorial06.txt:19 +#: ../source/example/tutorial06-6.log:184 msgid "" -"動画共有サイトの検索エンジンを作ることを想定します。1つの動画には、その動画の" -"特徴を表す、複数の語句が付与されています。「ある語句が付与されている動画の一" -"覧を取得する」検索を行いたいとします。" +"> table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type " +"WGS84GeoPoint [[0,1308820919.86871,0.074996815],true] > column_create --" +"table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source " +"location [[0,1308820920.14512,0.125822381],true] > load --table Site > [ > " +"{\"_key\":\"http://example.org/\",\"location\":\"128452975x503157902\"}, > " +"{\"_key\":\"http://example.net/\",\"location\":\"128487316x502920929\"} > ] " +"[[0,1308820920.47239,0.80439359],2] > select --table Site --filter " +"'geo_in_circle(location, \"128515259x503187188\", 5000)' --output_columns " +"_key,location [[0,1308820921.4776,0.000305925],[[[1],[[\"_key\",\"ShortText" +"\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://example.org/\"," +"\"128452975x503157902\"]]]]" msgstr "" -"動画共有サイトの検索エンジンを作ることを想定します。1つの動画には、その動画の" -"特徴を表す、複数の語句が付与されています。「ある語句が付与されている動画の一" -"覧を取得する」検索を行いたいとします。" +"> table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type " +"WGS84GeoPoint [[0,1308820919.86871,0.074996815],true] > column_create --" +"table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source " +"location [[0,1308820920.14512,0.125822381],true] > load --table Site > [ > " +"{\"_key\":\"http://example.org/\",\"location\":\"128452975x503157902\"}, > " +"{\"_key\":\"http://example.net/\",\"location\":\"128487316x502920929\"} > ] " +"[[0,1308820920.47239,0.80439359],2] > select --table Site --filter " +"'geo_in_circle(location, \"128515259x503187188\", 5000)' --output_columns " +"_key,location [[0,1308820921.4776,0.000305925],[[[1],[[\"_key\",\"ShortText" +"\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://example.org/\"," +"\"128452975x503157902\"]]]]" -#: ../../../source/tutorial/tutorial06.txt:21 -msgid "実際に、動画情報のテーブルを作成し、検索をしてみましょう。" -msgstr "実際に、動画情報のテーブルを作成し、検索をしてみましょう。" +#: ../../../source/tutorial/tutorial07.txt:57 +msgid "" +"共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの" +"検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。" +msgstr "" +"共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの" +"検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。" -#: ../../../source/tutorial/tutorial06.txt:23 +#: ../../../source/tutorial/tutorial03.txt:61 msgid "" -"動画の情報を保存する、Videoテーブルを作成します。Videoテーブルでは、動画のタ" -"イトルをtitleカラムに、動画のタグ情報をtagsカラムにTagテーブル型で複数格納し" -"ています。 タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タ" -"グ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスを" -"index_tagsカラムに格納しています。" +"テーブル型のチュートリアルでは、Siteテーブルに手を加え、どのサイトをリンクし" +"ているのかを保存しました。しかし、通常は1つのサイトから多くのサイトにリンクが" +"張られています。複数のリンク情報を格納するために、複数の参照関係を保存するカ" +"ラムを作成してみましょう。" msgstr "" -"動画の情報を保存する、Videoテーブルを作成します。Videoテーブルでは、動画のタ" -"イトルをtitleカラムに、動画のタグ情報をtagsカラムにTagテーブル型で複数格納し" -"ています。 タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タ" -"グ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスを" -"index_tagsカラムに格納しています。" +"テーブル型のチュートリアルでは、Siteテーブルに手を加え、どのサイトをリンクし" +"ているのかを保存しました。しかし、通常は1つのサイトから多くのサイトにリンクが" +"張られています。複数のリンク情報を格納するために、複数の参照関係を保存するカ" +"ラムを作成してみましょう。" -#: ../../../source/tutorial/tutorial06.txt:45 +#: ../../../source/tutorial/tutorial10.txt:432 msgid "" -"インデックスカラムを作成すると、全文検索が高速に行えるようになります。イン" -"デックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に" -"更新されます。" +"「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。ま" +"た、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できま" +"す。" msgstr "" -"インデックスカラムを作成すると、全文検索が高速に行えるようになります。イン" -"デックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に" -"更新されます。" +"「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。ま" +"た、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できま" +"す。" -#: ../../../source/tutorial/tutorial06.txt:47 -msgid "「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。" -msgstr "「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。" +#: ../../../source/tutorial/tutorial10.txt:71 +msgid "ユーザーの現在地(文字列)" +msgstr "ユーザーの現在地(文字列)" -#: ../../../source/tutorial/tutorial06.txt:55 +#: ../../../source/tutorial/tutorial07.txt:24 msgid "" -"このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うこ" -"とができました。" +"Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加し" +"ています。 インデックス用のIndexBlog1テーブルも作り、titleカラムのインデック" +"ス用にindex_titleカラム、messageカラムのインデック用にindex_messageカラムと、" +"それぞれ1カラムごとに1つずつ追加しています。" msgstr "" -"このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うこ" -"とができました。" - -#: ../../../source/tutorial/tutorial06.txt:58 -msgid "参照関係の逆引き" -msgstr "参照関係の逆引き" +"Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加し" +"ています。 インデックス用のIndexBlog1テーブルも作り、titleカラムのインデック" +"ス用にindex_titleカラム、messageカラムのインデック用にindex_messageカラムと、" +"それぞれ1カラムごとに1つずつ追加しています。" -#: ../../../source/tutorial/tutorial06.txt:60 +#: ../../../source/tutorial/tutorial01.txt:103 msgid "" -"groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与する" -"ことができます。タグ検索は、その1例にすぎません。" +"型については、のちのチュートリアルで触れます。データの種類をあらわしているも" +"の、とイメージしてください。" msgstr "" -"groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与する" -"ことができます。タグ検索は、その1例にすぎません。" +"型については、のちのチュートリアルで触れます。データの種類をあらわしているも" +"の、とイメージしてください。" -#: ../../../source/tutorial/tutorial06.txt:62 +#: ../../../source/tutorial/tutorial01.txt:243 msgid "" -"例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索すること" -"ができます。" +"selectコマンドにおいて、output_columnsパラメータを用いることで、検索結果で表" +"示するカラムを指定することが出来ます。" msgstr "" -"例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索すること" -"ができます。" +"selectコマンドにおいて、output_columnsパラメータを用いることで、検索結果で表" +"示するカラムを指定することが出来ます。" -#: ../../../source/tutorial/tutorial06.txt:64 +#: ../source/example/tutorial01-5.log:185 msgid "" -"以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納す" -"るusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのイン" -"デックスのindex_friendsカラムを追加しています。" +"> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " +"ShortText --default_tokenizer TokenBigram [[0,1308820931.02058,0.054235759]," +"true]" msgstr "" -"以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納す" -"るusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのイン" -"デックスのindex_friendsカラムを追加しています。" +"> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " +"ShortText --default_tokenizer TokenBigram [[0,1308820931.02058,0.054235759]," +"true]" -#: ../../../source/tutorial/tutorial06.txt:82 +#: ../source/example/tutorial10-7.log:496 msgid "" -"指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。" +"> select --table Comments --query hash_tags:@groonga --output_columns " +"posted_by.name,comment --drilldown posted_by " +"[[0,1308820977.68094,0.000539037],[[[2],[[\"posted_by.name\",\"ShortText\"]," +"[\"comment\",\"ShortText\"]],[\"グニャラくん\",\"groongaなう #groonga\"]," +"[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga " +"#travel\"]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," +"[\"tasukuchan\",2]]]]" msgstr "" -"指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。" +"> select --table Comments --query hash_tags:@groonga --output_columns " +"posted_by.name,comment --drilldown posted_by " +"[[0,1308820977.68094,0.000539037],[[[2],[[\"posted_by.name\",\"ShortText\"]," +"[\"comment\",\"ShortText\"]],[\"グニャラくん\",\"groongaなう #groonga\"]," +"[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga " +"#travel\"]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," +"[\"tasukuchan\",2]]]]" -#: ../../../source/tutorial/tutorial06.txt:89 +#: ../../../source/tutorial/tutorial01.txt:44 +msgid "groonga DBパス名 [コマンド]" +msgstr "groonga DBパス名 [コマンド]" + +#: ../source/example/tutorial10-2.log:406 msgid "" -"さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみま" -"しょう。" +"> select --table Users --filter 'geo_in_circle(location," +"\"128484216x502919856\",5000)' --output_columns _key,name " +"[[0,1308820976.66084,0.000278696],[[[2],[[\"_key\",\"ShortText\"],[\"name\"," +"\"ShortText\"]],[\"tasukuchan\",\"グニャラくん\"],[\"OffGao\",\"OffGao\"]]]]" msgstr "" -"さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみま" -"しょう。" +"> select --table Users --filter 'geo_in_circle(location," +"\"128484216x502919856\",5000)' --output_columns _key,name " +"[[0,1308820976.66084,0.000278696],[[[2],[[\"_key\",\"ShortText\"],[\"name\"," +"\"ShortText\"]],[\"tasukuchan\",\"グニャラくん\"],[\"OffGao\",\"OffGao\"]]]]" -#: ../../../source/tutorial/tutorial06.txt:95 -msgid "このように、テーブルの参照関係を逆にたどる検索ができました。" -msgstr "このように、テーブルの参照関係を逆にたどる検索ができました。" +#: ../../../source/tutorial/tutorial07.txt:74 +msgid "実際に検索してみましょう。結果は上の例と同じになります。" +msgstr "実際に検索してみましょう。結果は上の例と同じになります。" -#: ../../../source/tutorial/tutorial06.txt:98 -msgid "インデックス付きジオサーチ" -msgstr "インデックス付きジオサーチ" +#: ../../../source/tutorial/tutorial05.txt:12 +msgid "ドリルダウン" +msgstr "ドリルダウン" -#: ../../../source/tutorial/tutorial06.txt:100 +#: ../../../source/tutorial/tutorial04.txt:10 msgid "" -"位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情" -"報レコードを検索する場合に、検索速度が速くなります。" +"groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行う" +"ことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことがで" +"きます。" msgstr "" -"位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情" -"報レコードを検索する場合に、検索速度が速くなります。" +"groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行う" +"ことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことがで" +"きます。" -#: ../../../source/tutorial/tutorial06.txt:113 +#: ../../../source/tutorial/tutorial01.txt:97 +#: ../../../source/tutorial/tutorial10.txt:17 +msgid "テーブルの作成" +msgstr "テーブルの作成" + +#: ../../../source/tutorial/tutorial01.txt:192 +msgid "selectコマンドで、データが入っていることを確認しましょう。" +msgstr "selectコマンドで、データが入っていることを確認しましょう。" + +#: ../../../source/tutorial/tutorial08.txt:36 msgid "" -"同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。" +"KEY_WITH_SISフラグを付与すると、データを追加する際に後方一致用のレコードも追" +"加されてしまいます。そのため、単純に検索すると、元のレコードに加えて自動的に" +"追加されたレコードまでヒットしてしまいます。元のレコードのみ検索するために、" +"一工夫必要になります。" msgstr "" -"同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。" - -#: ../../../source/tutorial/tutorial07.txt:12 -msgid "match_columnsパラメータ" -msgstr "match_columnsパラメータ" +"KEY_WITH_SISフラグを付与すると、データを追加する際に後方一致用のレコードも追" +"加されてしまいます。そのため、単純に検索すると、元のレコードに加えて自動的に" +"追加されたレコードまでヒットしてしまいます。元のレコードのみ検索するために、" +"一工夫必要になります。" -#: ../../../source/tutorial/tutorial07.txt:15 -msgid "複数のカラムを対象とした全文検索" -msgstr "複数のカラムを対象とした全文検索" +#: ../../../source/tutorial/tutorial06.txt:55 +msgid "" +"このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うこ" +"とができました。" +msgstr "" +"このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うこ" +"とができました。" -#: ../../../source/tutorial/tutorial07.txt:17 +#: ../source/example/tutorial10-8.log:513 msgid "" -"groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブ" -"ログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとし" -"ましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。" +"> select --table Comments --query posted_by:tasukuchan --output_columns " +"comment --drilldown hash_tags [[0,1308820977.88551,0.000513653],[[[4]," +"[[\"comment\",\"ShortText\"]],[\"初の書き込み。テストテスト。\"],[\"@daijiro " +"ありがとう!\"],[\"groongaなう #groonga\"],[\"groonga開発合宿のため羽田空港に" +"来ました! #groonga #travel\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\"groonga\",2],[\"travel\",1]]]]" msgstr "" -"groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブ" -"ログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとし" -"ましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。" +"> select --table Comments --query posted_by:tasukuchan --output_columns " +"comment --drilldown hash_tags [[0,1308820977.88551,0.000513653],[[[4]," +"[[\"comment\",\"ShortText\"]],[\"初の書き込み。テストテスト。\"],[\"@daijiro " +"ありがとう!\"],[\"groongaなう #groonga\"],[\"groonga開発合宿のため羽田空港に" +"来ました! #groonga #travel\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\"groonga\",2],[\"travel\",1]]]]" -#: ../../../source/tutorial/tutorial07.txt:19 +#: ../source/example/tutorial01-8.log:262 msgid "" -"この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つず" -"つインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのイン" -"デックスを付与する方式です。groongaでは、どちらの形式のインデックスが存在して" -"いる場合でも、同一の記法で全文検索を行うことができます。" +"> select --table Site [[0,1308820934.06389,0.000123535],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" +"example.org/\",\"This is test record 1!\"],[2,\"http://example.net/\",\"test " +"record 2.\"],[3,\"http://example.com/\",\"test test record three.\"],[4," +"\"http://example.net/afr\",\"test record four.\"],[5,\"http://example.org/aba" +"\",\"test test test record five.\"],[6,\"http://example.com/rab\",\"test " +"test test test record six.\"],[7,\"http://example.net/atv\",\"test test test " +"record seven.\"],[8,\"http://example.org/gat\",\"test test record eight.\"]," +"[9,\"http://example.com/vdw\",\"test test record nine.\"]]]]" msgstr "" -"この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つず" -"つインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのイン" -"デックスを付与する方式です。groongaでは、どちらの形式のインデックスが存在して" -"いる場合でも、同一の記法で全文検索を行うことができます。" +"> select --table Site [[0,1308820934.06389,0.000123535],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" +"example.org/\",\"This is test record 1!\"],[2,\"http://example.net/\",\"test " +"record 2.\"],[3,\"http://example.com/\",\"test test record three.\"],[4," +"\"http://example.net/afr\",\"test record four.\"],[5,\"http://example.org/aba" +"\",\"test test test record five.\"],[6,\"http://example.com/rab\",\"test " +"test test test record six.\"],[7,\"http://example.net/atv\",\"test test test " +"record seven.\"],[8,\"http://example.org/gat\",\"test test record eight.\"]," +"[9,\"http://example.com/vdw\",\"test test record nine.\"]]]]" + +#: ../../../source/tutorial/tutorial06.txt:64 +msgid "" +"以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納す" +"るusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのイン" +"デックスのindex_friendsカラムを追加しています。" +msgstr "" +"以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納す" +"るusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのイン" +"デックスのindex_friendsカラムを追加しています。" -#: ../../../source/tutorial/tutorial07.txt:22 -msgid "カラムごとにインデックスを付与する場合" -msgstr "カラムごとにインデックスを付与する場合" +#: ../../../source/tutorial/tutorial01.txt:40 +msgid "DBの操作" +msgstr "DBの操作" -#: ../../../source/tutorial/tutorial07.txt:24 +#: ../../../source/tutorial/tutorial01.txt:228 msgid "" -"Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加し" -"ています。 インデックス用のIndexBlog1テーブルも作り、titleカラムのインデック" -"ス用にindex_titleカラム、messageカラムのインデック用にindex_messageカラムと、" -"それぞれ1カラムごとに1つずつ追加しています。" +"titleカラムに対して、'this'という文字列で全文検索を行った結果を返します。" msgstr "" -"Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加し" -"ています。 インデックス用のIndexBlog1テーブルも作り、titleカラムのインデック" -"ス用にindex_titleカラム、messageカラムのインデック用にindex_messageカラムと、" -"それぞれ1カラムごとに1つずつ追加しています。" +"titleカラムに対して、'this'という文字列で全文検索を行った結果を返します。" -#: ../../../source/tutorial/tutorial07.txt:42 +#: ../source/example/tutorial01-1.log:60 msgid "" -"match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索" -"する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全" -"文検索することができます。" +"% groonga /tmp/tutorial.db > status [[0,1308820929.89434,5.7777e-05]," +"{\"alloc_count\":525,\"starttime\":1308820641,\"uptime\":288,\"version\":" +"\"1.2.2-104-gf48051d\",\"n_queries\":376,\"cache_hit_rate" +"\":0.797872340425532,\"command_version\":1,\"default_command_version\":1," +"\"max_command_version\":2}]" msgstr "" -"match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索" -"する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全" -"文検索することができます。" +"% groonga /tmp/tutorial.db > status [[0,1308820929.89434,5.7777e-05]," +"{\"alloc_count\":525,\"starttime\":1308820641,\"uptime\":288,\"version\":" +"\"1.2.2-104-gf48051d\",\"n_queries\":376,\"cache_hit_rate" +"\":0.797872340425532,\"command_version\":1,\"default_command_version\":1," +"\"max_command_version\":2}]" -#: ../../../source/tutorial/tutorial07.txt:44 -msgid "実際に検索してみましょう。" -msgstr "実際に検索してみましょう。" +#: ../../../source/tutorial/tutorial02.txt:41 +msgid "対象ホストで動作しているgroongaサーバに接続します。" +msgstr "対象ホストで動作しているgroongaサーバに接続します。" -#: ../../../source/tutorial/tutorial07.txt:53 -msgid "複数のカラムにまたがったインデックスを付与する場合" -msgstr "複数のカラムにまたがったインデックスを付与する場合" +#: ../../../source/tutorial/tutorial10.txt:435 +msgid "GeoPointとキーワードでコメント検索" +msgstr "GeoPointとキーワードでコメント検索" -#: ../../../source/tutorial/tutorial07.txt:55 +#: ../source/example/tutorial06-3.log:109 msgid "" -"内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックス" -"が共通になっており、インデックスカラムが1つしかありません。" +"> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText " +"[[-22,1308820916.63478,0.000187163,\"already used name was assigned: <User>" +"\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1293,\"table_create --" +"name User --flags TABLE_HASH_KEY --key_type ShortText\"]]],false] > " +"column_create --table User --name username --flags COLUMN_SCALAR --type " +"ShortText [[-22,1308820916.8372,0.000179938,\"already used name was " +"assigned: <User.username>\",[[\"grn_obj_register\",\"db.c\",5938," +"\"(stdin)\",1294,\"column_create --table User --name username --flags " +"COLUMN_SCALAR --type ShortText\"]]],false] > column_create --table User --" +"name friends --flags COLUMN_VECTOR --type User " +"[[-22,1308820917.03936,0.000393764,\"already used name was assigned: <User." +"friends>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1295," +"\"column_create --table User --name friends --flags COLUMN_VECTOR --type User" +"\"]]],false] > column_create --table User --name index_friends --flags " +"COLUMN_INDEX --type User --source friends [[-22,1308820917.24229,0.00020492," +"\"already used name was assigned: <User.index_friends>\",[[\"grn_obj_register" +"\",\"db.c\",5938,\"(stdin)\",1296,\"column_create --table User --name " +"index_friends --flags COLUMN_INDEX --type User --source friends\"]]],false] " +"> load --table User > [ > {\"_key\":\"ken\",\"username\":\"健作\",\"friends" +"\":[\"taro\",\"jiro\",\"tomo\",\"moritapo\"]} > {\"_key\":\"moritapo\"," +"\"username\":\"森田\",\"friends\":[\"ken\",\"tomo\"]} > {\"_key\":\"taro\"," +"\"username\":\"ぐるんが太郎\",\"friends\":[\"jiro\",\"tomo\"]} > {\"_key\":" +"\"jiro\",\"username\":\"ぐるんが次郎\",\"friends\":[\"taro\",\"tomo\"]} > " +"{\"_key\":\"tomo\",\"username\":\"トモちゃん\",\"friends\":[\"ken\",\"hana" +"\"]} > {\"_key\":\"hana\",\"username\":\"花子\",\"friends\":[\"ken\",\"taro" +"\",\"jiro\",\"moritapo\",\"tomo\"]} > ] [[0,1308820917.44495,1.609341731],6]" msgstr "" -"内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックス" -"が共通になっており、インデックスカラムが1つしかありません。" +"> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText " +"[[-22,1308820916.63478,0.000187163,\"already used name was assigned: <User>" +"\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1293,\"table_create --" +"name User --flags TABLE_HASH_KEY --key_type ShortText\"]]],false] > " +"column_create --table User --name username --flags COLUMN_SCALAR --type " +"ShortText [[-22,1308820916.8372,0.000179938,\"already used name was " +"assigned: <User.username>\",[[\"grn_obj_register\",\"db.c\",5938," +"\"(stdin)\",1294,\"column_create --table User --name username --flags " +"COLUMN_SCALAR --type ShortText\"]]],false] > column_create --table User --" +"name friends --flags COLUMN_VECTOR --type User " +"[[-22,1308820917.03936,0.000393764,\"already used name was assigned: <User." +"friends>\",[[\"grn_obj_register\",\"db.c\",5938,\"(stdin)\",1295," +"\"column_create --table User --name friends --flags COLUMN_VECTOR --type User" +"\"]]],false] > column_create --table User --name index_friends --flags " +"COLUMN_INDEX --type User --source friends [[-22,1308820917.24229,0.00020492," +"\"already used name was assigned: <User.index_friends>\",[[\"grn_obj_register" +"\",\"db.c\",5938,\"(stdin)\",1296,\"column_create --table User --name " +"index_friends --flags COLUMN_INDEX --type User --source friends\"]]],false] " +"> load --table User > [ > {\"_key\":\"ken\",\"username\":\"健作\",\"friends" +"\":[\"taro\",\"jiro\",\"tomo\",\"moritapo\"]} > {\"_key\":\"moritapo\"," +"\"username\":\"森田\",\"friends\":[\"ken\",\"tomo\"]} > {\"_key\":\"taro\"," +"\"username\":\"ぐるんが太郎\",\"friends\":[\"jiro\",\"tomo\"]} > {\"_key\":" +"\"jiro\",\"username\":\"ぐるんが次郎\",\"friends\":[\"taro\",\"tomo\"]} > " +"{\"_key\":\"tomo\",\"username\":\"トモちゃん\",\"friends\":[\"ken\",\"hana" +"\"]} > {\"_key\":\"hana\",\"username\":\"花子\",\"friends\":[\"ken\",\"taro" +"\",\"jiro\",\"moritapo\",\"tomo\"]} > ] [[0,1308820917.44495,1.609341731],6]" -#: ../../../source/tutorial/tutorial07.txt:57 +#: ../source/example/tutorial04-5.log:136 msgid "" -"共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの" -"検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' [[0,1308820949.66719,0.000579851],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" msgstr "" -"共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの" -"検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。" - -#: ../../../source/tutorial/tutorial07.txt:74 -msgid "実際に検索してみましょう。結果は上の例と同じになります。" -msgstr "実際に検索してみましょう。結果は上の例と同じになります。" - -#: ../../../source/tutorial/tutorial07.txt:83 -msgid "インデックス名を指定した全文検索" -msgstr "インデックス名を指定した全文検索" - -#: ../../../source/tutorial/tutorial07.txt:85 -#: ../../../source/tutorial/tutorial07.txt:92 -#: ../../../source/tutorial/tutorial08.txt:33 -msgid "執筆中です。" -msgstr "執筆中です。" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' [[0,1308820949.66719,0.000579851],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" -#: ../../../source/tutorial/tutorial07.txt:90 -msgid "インデックスの重み" -msgstr "インデックスの重み" +#: ../../../source/tutorial/tutorial05.txt:37 +msgid "domainカラムとcountryカラムでドリルダウンを行う例を以下に示します。" +msgstr "domainカラムとcountryカラムでドリルダウンを行う例を以下に示します。" -#: ../../../source/tutorial/tutorial08.txt:9 -#: ../../../source/tutorial/tutorial08.txt:14 -msgid "主キーによる前方一致検索" -msgstr "主キーによる前方一致検索" +#: ../../../source/tutorial/tutorial10.txt:101 +msgid "コメントのハッシュタグの一覧" +msgstr "コメントのハッシュタグの一覧" -#: ../../../source/tutorial/tutorial08.txt:11 +#: ../../../source/tutorial/tutorial04.txt:69 msgid "" -"groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方" -"一致検索を行うことができます。また、追加のオプションを指定することにより、主" -"キーの後方一致検索をも行うことができます。" +"groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度" +"を用いて絞込やソートができます。" msgstr "" -"groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方" -"一致検索を行うことができます。また、追加のオプションを指定することにより、主" -"キーの後方一致検索をも行うことができます。" +"groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度" +"を用いて絞込やソートができます。" -#: ../../../source/tutorial/tutorial08.txt:16 +#: ../../../source/tutorial/tutorial01.txt:76 msgid "" -"table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キー" -"による前方一致検索ができるようになります。" +"書式1: コマンド名 引数1 引数2 .. 書式2: コマンド名 --引数名1 値1 --引数名2 " +"値2 .." msgstr "" -"table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キー" -"による前方一致検索ができるようになります。" - -#: ../../../source/tutorial/tutorial08.txt:31 -msgid "主キーによる後方一致検索" -msgstr "主キーによる後方一致検索" - -#: ../../../source/tutorial/tutorial09.txt:6 -msgid "全文検索の語彙表に対する追加情報" -msgstr "全文検索の語彙表に対する追加情報" +"書式1: コマンド名 引数1 引数2 .. 書式2: コマンド名 --引数名1 値1 --引数名2 " +"値2 .." -#: ../../../source/tutorial/tutorial09.txt:8 +#: ../../../source/tutorial/tutorial06.txt:45 msgid "" -"groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語" -"彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストッ" -"プワードのフラグ、単語の重要度などを保持することができます。" +"インデックスカラムを作成すると、全文検索が高速に行えるようになります。イン" +"デックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に" +"更新されます。" msgstr "" -"groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語" -"彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストッ" -"プワードのフラグ、単語の重要度などを保持することができます。" +"インデックスカラムを作成すると、全文検索が高速に行えるようになります。イン" +"デックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に" +"更新されます。" -#: ../../../source/tutorial/tutorial09.txt:10 -msgid "この項目については、現在執筆中です。" -msgstr "この項目については、現在執筆中です。" +#: ../../../source/tutorial/tutorial02.txt:8 +msgid "ネットワークを通じた利用" +msgstr "ネットワークを通じた利用" + +#: ../../../source/tutorial/tutorial04.txt:23 +msgid "_id <= 1" +msgstr "_id <= 1" #: ../../../source/tutorial/tutorial10.txt:12 msgid "マイクロブログ検索システムの作成" msgstr "マイクロブログ検索システムの作成" -#: ../../../source/tutorial/tutorial10.txt:14 -msgid "" -"これまで学んだgroongaの機能を用いて、マイクロブログの検索システムを作成してみ" -"ましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログで" -"す。" -msgstr "" -"これまで学んだgroongaの機能を用いて、マイクロブログの検索システムを作成してみ" -"ましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログで" -"す。" +#: ../../../source/tutorial/tutorial01.txt:255 +msgid "表示範囲指定" +msgstr "表示範囲指定" -#: ../../../source/tutorial/tutorial10.txt:19 -msgid "まずは、テーブルを作成します。" -msgstr "まずは、テーブルを作成します。" +#: ../../../source/tutorial/tutorial09.txt:10 +msgid "この項目については、現在執筆中です。" +msgstr "この項目については、現在執筆中です。" -#: ../../../source/tutorial/tutorial10.txt:23 +#: ../../../source/tutorial/tutorial10.txt:446 msgid "" -"table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " -"ShortText --default_tokenizer TokenBigram column_create --table Users --" -"name name --flags COLUMN_SCALAR --type ShortText column_create --table Users " -"--name follower --flags COLUMN_VECTOR --type Users column_create --table " -"Users --name favorites --flags COLUMN_VECTOR --type Comments column_create --" -"table Users --name location --flags COLUMN_SCALAR --type WGS84GeoPoint " -"column_create --table Users --name location_str --flags COLUMN_SCALAR --type " -"ShortText column_create --table Users --name description --flags " -"COLUMN_SCALAR --type ShortText column_create --table Users --name followee --" -"flags COLUMN_INDEX --type Users --source follower column_create --table " -"Comments --name comment --flags COLUMN_SCALAR --type ShortText column_create " -"--table Comments --name last_modified --flags COLUMN_SCALAR --type Time " -"column_create --table Comments --name replied_to --flags COLUMN_SCALAR --" -"type Comments column_create --table Comments --name replied_users --flags " -"COLUMN_VECTOR --type Users column_create --table Comments --name hash_tags --" -"flags COLUMN_VECTOR --type HashTags column_create --table Comments --name " -"location --flags COLUMN_SCALAR --type WGS84GeoPoint column_create --table " -"Comments --name posted_by --flags COLUMN_SCALAR --type Users column_create --" -"table Comments --name favorited_by --flags COLUMN_INDEX --type Users --" -"source favorites column_create --table HashTags --name hash_index --flags " -"COLUMN_INDEX --type Comments --source hash_tags column_create --table " -"Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --" -"type Users --source name,location_str,description column_create --table " -"Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type " -"Comments --source comment" +"あるハッシュタグのついているコメントを検索します。 これも、 :doc:" +"`tutorial06` で扱った、参照関係の逆引きを使います。" msgstr "" -"table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText " -"table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " -"ShortText --default_tokenizer TokenBigram column_create --table Users --" -"name name --flags COLUMN_SCALAR --type ShortText column_create --table Users " -"--name follower --flags COLUMN_VECTOR --type Users column_create --table " -"Users --name favorites --flags COLUMN_VECTOR --type Comments column_create --" -"table Users --name location --flags COLUMN_SCALAR --type WGS84GeoPoint " -"column_create --table Users --name location_str --flags COLUMN_SCALAR --type " -"ShortText column_create --table Users --name description --flags " -"COLUMN_SCALAR --type ShortText column_create --table Users --name followee --" -"flags COLUMN_INDEX --type Users --source follower column_create --table " -"Comments --name comment --flags COLUMN_SCALAR --type ShortText column_create " -"--table Comments --name last_modified --flags COLUMN_SCALAR --type Time " -"column_create --table Comments --name replied_to --flags COLUMN_SCALAR --" -"type Comments column_create --table Comments --name replied_users --flags " -"COLUMN_VECTOR --type Users column_create --table Comments --name hash_tags --" -"flags COLUMN_VECTOR --type HashTags column_create --table Comments --name " -"location --flags COLUMN_SCALAR --type WGS84GeoPoint column_create --table " -"Comments --name posted_by --flags COLUMN_SCALAR --type Users column_create --" -"table Comments --name favorited_by --flags COLUMN_INDEX --type Users --" -"source favorites column_create --table HashTags --name hash_index --flags " -"COLUMN_INDEX --type Comments --source hash_tags column_create --table " -"Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --" -"type Users --source name,location_str,description column_create --table " -"Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type " -"Comments --source comment" - -#: ../../../source/tutorial/tutorial10.txt:51 -msgid "Usersテーブル" -msgstr "Usersテーブル" +"あるハッシュタグのついているコメントを検索します。 これも、 :doc:" +"`tutorial06` で扱った、参照関係の逆引きを使います。" -#: ../../../source/tutorial/tutorial10.txt:53 -msgid "" -"ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を" -"格納するためのテーブルです。" -msgstr "" -"ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を" -"格納するためのテーブルです。" +#: ../../../source/tutorial/tutorial01.txt:10 +msgid "基本的な操作" +msgstr "基本的な操作" -#: ../../../source/tutorial/tutorial10.txt:56 -msgid "ユーザーID" -msgstr "ユーザーID" +#: ../../../source/tutorial/tutorial10.txt:457 +msgid "あるユーザーが投稿したコメントを検索します。" +msgstr "あるユーザーが投稿したコメントを検索します。" -#: ../../../source/tutorial/tutorial10.txt:59 -msgid "ユーザー名" -msgstr "ユーザー名" +#: ../../../source/tutorial/tutorial01.txt:222 +msgid "queryパラメータでは、インデックスを用いた全文検索を行うこともできます。" +msgstr "" +"queryパラメータでは、インデックスを用いた全文検索を行うこともできます。" -#: ../../../source/tutorial/tutorial10.txt:62 -msgid "フォローしているユーザーの一覧" -msgstr "フォローしているユーザーの一覧" +#: ../../../source/tutorial/tutorial02.txt:20 +msgid "groonga [-p ポート番号] -d DBパス名" +msgstr "groonga [-p ポート番号] -d DBパス名" -#: ../../../source/tutorial/tutorial10.txt:65 -msgid "お気に入りのコメント一覧" -msgstr "お気に入りのコメント一覧" +#: ../../../source/tutorial/tutorial02.txt:84 +msgid "" +"groongaがHTTPプロトコルモードで起動されているとき、「/d/コマンド名」というURL" +"にアクセスすると、コマンドを実行することが出来ます。" +msgstr "" +"groongaがHTTPプロトコルモードで起動されているとき、「/d/コマンド名」というURL" +"にアクセスすると、コマンドを実行することが出来ます。" -#: ../../../source/tutorial/tutorial10.txt:68 -msgid "ユーザーの現在地(緯度経度座標)" -msgstr "ユーザーの現在地(緯度経度座標)" +#: ../../../source/tutorial/tutorial01.txt:88 +msgid "DBにテーブルを追加します。" +msgstr "DBにテーブルを追加します。" -#: ../../../source/tutorial/tutorial10.txt:71 -msgid "ユーザーの現在地(文字列)" -msgstr "ユーザーの現在地(文字列)" +#: ../../../source/tutorial/tutorial03.txt:52 +msgid "" +"このように、linkカラムに他のサイトへの参照を保存することができました。また、" +"参照先の_keyとtitleカラムの内容を表示することができました。" +msgstr "" +"このように、linkカラムに他のサイトへの参照を保存することができました。また、" +"参照先の_keyとtitleカラムの内容を表示することができました。" -#: ../../../source/tutorial/tutorial10.txt:74 -msgid "ユーザーの自己紹介" -msgstr "ユーザーの自己紹介" +#: ../source/example/tutorial10-5.log:461 +msgid "" +"> select --table Comments --query comment:@なう --output_columns comment," +"_score [[0,1308820977.27259,0.000430023],[[[2],[[\"comment\",\"ShortText\"]," +"[\"_score\",\"Int32\"]],[\"groongaなう #groonga\",1],[\"中野ブロードウェイな" +"うなう\",2]]]]" +msgstr "" +"> select --table Comments --query comment:@なう --output_columns comment," +"_score [[0,1308820977.27259,0.000430023],[[[2],[[\"comment\",\"ShortText\"]," +"[\"_score\",\"Int32\"]],[\"groongaなう #groonga\",1],[\"中野ブロードウェイな" +"うなう\",2]]]]" -#: ../../../source/tutorial/tutorial10.txt:77 +#: ../../../source/tutorial/tutorial07.txt:42 msgid "" -"Usersテーブルのfollowerカラムに対するインデックス。 このインデックスを作るこ" -"とで、あるユーザーをフォローしているユーザーを検索できるようになります。" +"match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索" +"する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全" +"文検索することができます。" msgstr "" -"Usersテーブルのfollowerカラムに対するインデックス。 このインデックスを作るこ" -"とで、あるユーザーをフォローしているユーザーを検索できるようになります。" +"match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索" +"する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全" +"文検索することができます。" #: ../../../source/tutorial/tutorial10.txt:81 msgid "Commentsテーブル" msgstr "Commentsテーブル" -#: ../../../source/tutorial/tutorial10.txt:83 +#: ../../../source/tutorial/tutorial01.txt:16 msgid "" -"コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブ" -"ルです。" +"groonga実行ファイルを使って、DBの作成・操作・サーバの起動・サーバへの接続など" +"の操作が行えます。" msgstr "" -"コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブ" -"ルです。" - -#: ../../../source/tutorial/tutorial10.txt:86 -msgid "コメントID" -msgstr "コメントID" - -#: ../../../source/tutorial/tutorial10.txt:89 -msgid "コメント内容" -msgstr "コメント内容" - -#: ../../../source/tutorial/tutorial10.txt:92 -msgid "投稿日時" -msgstr "投稿日時" +"groonga実行ファイルを使って、DBの作成・操作・サーバの起動・サーバへの接続など" +"の操作が行えます。" -#: ../../../source/tutorial/tutorial10.txt:95 -msgid "返信元のコメント内容" -msgstr "返信元のコメント内容" +#: ../../../source/tutorial/tutorial02.txt:77 +msgid "HTML管理ツール" +msgstr "HTML管理ツール" -#: ../../../source/tutorial/tutorial10.txt:98 -msgid "返信先のユーザーの一覧" -msgstr "返信先のユーザーの一覧" +#: ../../../source/tutorial/tutorial01.txt:270 +msgid "並び替え" +msgstr "並び替え" -#: ../../../source/tutorial/tutorial10.txt:101 -msgid "コメントのハッシュタグの一覧" -msgstr "コメントのハッシュタグの一覧" +#: ../../../source/tutorial/tutorial01.txt:168 +msgid "" +"Siteテーブルのtitleカラムを検索対象とする、'blog_title'という名前のインデック" +"ス型カラムをTermsテーブルに作成しました。インデックス対象となるテーブルをtype" +"に、インデックス対象となるカラムをsourceに指定します。" +msgstr "" +"Siteテーブルのtitleカラムを検索対象とする、'blog_title'という名前のインデック" +"ス型カラムをTermsテーブルに作成しました。インデックス対象となるテーブルをtype" +"に、インデックス対象となるカラムをsourceに指定します。" -#: ../../../source/tutorial/tutorial10.txt:104 -msgid "投稿場所(緯度経度座標のため)" -msgstr "投稿場所(緯度経度座標のため)" +#: ../../../source/tutorial/tutorial10.txt:389 +msgid "GeoPointでユーザー検索" +msgstr "GeoPointでユーザー検索" -#: ../../../source/tutorial/tutorial10.txt:107 -msgid "コメントを書いたユーザー" -msgstr "コメントを書いたユーザー" +#: ../../../source/tutorial/tutorial03.txt:19 +msgid "その他のデータ型の一覧は、 :doc:`../type` を参照してください。" +msgstr "その他のデータ型の一覧は、 :doc:`../type` を参照してください。" -#: ../../../source/tutorial/tutorial10.txt:110 +#: ../../../source/tutorial/tutorial01.txt:217 msgid "" -"Usersテーブルのfavoritesカラムに対するインデックス。 このインデックスを作るこ" -"とで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになり" -"ます。" +"queryパラメータに与えた「_key:\\\"http://example.org/\\\"」というの" +"は、'_key'という名前のカラムに'\"http://example.org/\"'という値が入っているレ" +"コードを検索する、という意味です。" msgstr "" -"Usersテーブルのfavoritesカラムに対するインデックス。 このインデックスを作るこ" -"とで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになり" -"ます。" +"queryパラメータに与えた「_key:\\\"http://example.org/\\\"」というの" +"は、'_key'という名前のカラムに'\"http://example.org/\"'という値が入っているレ" +"コードを検索する、という意味です。" -#: ../../../source/tutorial/tutorial10.txt:114 -msgid "HashTagsテーブル" -msgstr "HashTagsテーブル" +#: ../../../source/tutorial/tutorial01.txt:79 +msgid "主なコマンド" +msgstr "主なコマンド" -#: ../../../source/tutorial/tutorial10.txt:116 -msgid "コメントのハッシュタグを一覧で保存するためのテーブルです。" -msgstr "コメントのハッシュタグを一覧で保存するためのテーブルです。" +#: ../../../source/tutorial/tutorial01.txt:259 +msgid "" +"offsetパラメータには、検索結果を返す始点を指定します。1件目から結果を返す場合" +"には、0を指定します。" +msgstr "" +"offsetパラメータには、検索結果を返す始点を指定します。1件目から結果を返す場合" +"には、0を指定します。" -#: ../../../source/tutorial/tutorial10.txt:119 -msgid "ハッシュタグ" -msgstr "ハッシュタグ" +#: ../../../source/tutorial/tutorial10.txt:143 +msgid "つづいて、テスト用データをロードします。" +msgstr "つづいて、テスト用データをロードします。" -#: ../../../source/tutorial/tutorial10.txt:122 +#: ../../../source/tutorial/tutorial03.txt:39 msgid "" -"「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定した" -"ハッシュタグのついているコメントの一覧を出すことが出来るようになります。" +"また、output_columnsにおいて「.」を区切りとして、参照先のテーブルに存在するカ" +"ラムを指定すると、指定したカラムの値を表示することができます。" msgstr "" -"「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定した" -"ハッシュタグのついているコメントの一覧を出すことが出来るようになります。" +"また、output_columnsにおいて「.」を区切りとして、参照先のテーブルに存在するカ" +"ラムを指定すると、指定したカラムの値を表示することができます。" -#: ../../../source/tutorial/tutorial10.txt:126 -msgid "Bigramテーブル" -msgstr "Bigramテーブル" +#: ../../../source/tutorial/tutorial10.txt:375 +msgid "それでは、実際に検索をしてみましょう。" +msgstr "それでは、実際に検索をしてみましょう。" -#: ../../../source/tutorial/tutorial10.txt:128 +#: ../source/example/tutorial02-1.log:52 msgid "" -"ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納す" -"るテーブルです。" +"% groonga -c > status [[0,1308820928.88213,4.1937e-05],{\"alloc_count\":548," +"\"starttime\":1308820641,\"uptime\":287,\"version\":\"1.2.2-104-gf48051d\"," +"\"n_queries\":375,\"cache_hit_rate\":0.533333333333333,\"command_version\":1," +"\"default_command_version\":1,\"max_command_version\":2}] > ctrl-d %" msgstr "" -"ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納す" -"るテーブルです。" - -#: ../../../source/tutorial/tutorial10.txt:131 -msgid "単語" -msgstr "単語" +"% groonga -c > status [[0,1308820928.88213,4.1937e-05],{\"alloc_count\":548," +"\"starttime\":1308820641,\"uptime\":287,\"version\":\"1.2.2-104-gf48051d\"," +"\"n_queries\":375,\"cache_hit_rate\":0.533333333333333,\"command_version\":1," +"\"default_command_version\":1,\"max_command_version\":2}] > ctrl-d %" -#: ../../../source/tutorial/tutorial10.txt:134 +#: ../../../source/tutorial/tutorial04.txt:113 msgid "" -"ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地" -"「Users.location_str」、自己紹介文「Users.description」のインデックスになって" -"います。" +"また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/" +"geo_in_rectangle` 関数も存在します。" msgstr "" -"ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地" -"「Users.location_str」、自己紹介文「Users.description」のインデックスになって" -"います。" +"また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/" +"geo_in_rectangle` 関数も存在します。" -#: ../../../source/tutorial/tutorial10.txt:138 -msgid "コメント内容「Comments.comment」のインデックス" -msgstr "コメント内容「Comments.comment」のインデックス" +#: ../../../source/tutorial/tutorial04.txt:64 +msgid "" +"よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わりま" +"す。" +msgstr "" +"よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わりま" +"す。" -#: ../../../source/tutorial/tutorial10.txt:143 -msgid "つづいて、テスト用データをロードします。" -msgstr "つづいて、テスト用データをロードします。" +#: ../../../source/tutorial/tutorial01.txt:21 +msgid "" +"以下のようなコマンドを実行すると、データベースを新規に作成することができま" +"す。" +msgstr "" +"以下のようなコマンドを実行すると、データベースを新規に作成することができま" +"す。" -#: ../../../source/tutorial/tutorial10.txt:147 +#: ../../../source/tutorial/tutorial10.txt:425 msgid "" -"load --table Users [ { \"_key\": \"daijiro\", \"name\": " -"\"hsiomaneki\", \"follower\": [\"tasukuchan\"], \"favorites\": " -"[], \"location\": \"127678039x502643091\", \"location_str\": \"神奈川" -"県\", \"description\": \"groonga developer\" }, { \"_key\": " -"\"tasukuchan\", \"name\": \"グニャラくん\", \"follower\": [\"daijiro" -"\",\"OffGao\"], \"favorites\": [\"daijiro:1\",\"OffGao:1\"], " -"\"location\": \"128423343x502929252\", \"location_str\": \"東京都渋谷区" -"\", \"description\": \"エロいおっさん\" }, { \"_key\": \"OffGao" -"\", \"name\": \"OffGao\", \"follower\": [\"tasukuchan\",\"daijiro" -"\"], \"favorites\": [\"tasukuchan:1\",\"daijiro:1\"], \"location\": " -"\"128544408x502801502\", \"location_str\": \"東京都中野区\", " -"\"description\": \"がおがお\" } ] load --table Comments [ { \"_key" -"\": \"daijiro:1\", \"comment\": \"マイクロブログ作ってみました(甘栗むい" -"ちゃいました的な感じで)。\", \"last_modified\": \"2010/03/17 " -"12:05:00\", \"posted_by\": \"daijiro\", }, { \"_key\": " -"\"tasukuchan:1\", \"comment\": \"初の書き込み。テストテスト。\", " -"\"last_modified\": \"2010/03/17 12:00:00\", \"posted_by\": \"tasukuchan" -"\", }, { \"_key\": \"daijiro:2\", \"comment\": \"@tasukuchan よう" -"こそ!!!\", \"last_modified\": \"2010/03/17 12:05:00\", \"replied_to" -"\": \"tasukuchan:1\", \"replied_users\": [\"tasukuchan\"], " -"\"posted_by\": \"daijiro\", }, { \"_key\": \"tasukuchan:2\", " -"\"comment\": \"@daijiro ありがとう!\", \"last_modified\": \"2010/03/17 " -"13:00:00\", \"replied_to\": \"daijiro:2\", \"replied_users\": " -"[\"daijiro\"], \"posted_by\": \"tasukuchan\", }, { \"_key\": " -"\"tasukuchan:3\", \"comment\": \"groongaなう #groonga\", " -"\"last_modified\": \"2010/03/17 14:00:00\", \"hash_tags\": [\"groonga" -"\"], \"location\": \"127972422x503117107\", \"posted_by\": " -"\"tasukuchan\", }, { \"_key\": \"tasukuchan:4\", \"comment\": " -"\"groonga開発合宿のため羽田空港に来ました! #groonga #travel\", " -"\"last_modified\": \"2010/03/17 14:05:00\", \"hash_tags\": [\"groonga\", " -"\"travel\"], \"location\": \"127975798x502919856\", \"posted_by\": " -"\"tasukuchan\", }, { \"_key\": \"OffGao:1\", \"comment\": " -"\"@daijiro @tasukuchan 登録してみましたよー!\", \"last_modified\": " -"\"2010/03/17 15:00:00\", \"replied_users\": [\"daijiro\", \"tasukuchan" -"\"], \"location\": \"128551935x502796433\", \"posted_by\": \"OffGao" -"\", } { \"_key\": \"OffGao:2\", \"comment\": \"中野ブロードウェイ" -"なうなう\", \"last_modified\": \"2010/03/17 15:05:00\", \"location" -"\": \"128551935x502796434\", \"posted_by\": \"OffGao\", } ]" +"あるキーワードを含むコメントを検索します。 さらに、 :doc:`tutorial04` で扱っ" +"た、スコア値_scoreも出してみましょう。" +msgstr "" +"あるキーワードを含むコメントを検索します。 さらに、 :doc:`tutorial04` で扱っ" +"た、スコア値_scoreも出してみましょう。" + +#: ../../../source/tutorial/tutorial02.txt:86 +msgid "" +"コマンドのオプションは、HTTPのGETパラメータで渡します。つまり、「?オプション=" +"値&オプション=値 …」という書式になります。" msgstr "" -"load --table Users [ { \"_key\": \"daijiro\", \"name\": " -"\"hsiomaneki\", \"follower\": [\"tasukuchan\"], \"favorites\": " -"[], \"location\": \"127678039x502643091\", \"location_str\": \"神奈川" -"県\", \"description\": \"groonga developer\" }, { \"_key\": " -"\"tasukuchan\", \"name\": \"グニャラくん\", \"follower\": [\"daijiro" -"\",\"OffGao\"], \"favorites\": [\"daijiro:1\",\"OffGao:1\"], " -"\"location\": \"128423343x502929252\", \"location_str\": \"東京都渋谷区" -"\", \"description\": \"エロいおっさん\" }, { \"_key\": \"OffGao" -"\", \"name\": \"OffGao\", \"follower\": [\"tasukuchan\",\"daijiro" -"\"], \"favorites\": [\"tasukuchan:1\",\"daijiro:1\"], \"location\": " -"\"128544408x502801502\", \"location_str\": \"東京都中野区\", " -"\"description\": \"がおがお\" } ] load --table Comments [ { \"_key" -"\": \"daijiro:1\", \"comment\": \"マイクロブログ作ってみました(甘栗むい" -"ちゃいました的な感じで)。\", \"last_modified\": \"2010/03/17 " -"12:05:00\", \"posted_by\": \"daijiro\", }, { \"_key\": " -"\"tasukuchan:1\", \"comment\": \"初の書き込み。テストテスト。\", " -"\"last_modified\": \"2010/03/17 12:00:00\", \"posted_by\": \"tasukuchan" -"\", }, { \"_key\": \"daijiro:2\", \"comment\": \"@tasukuchan よう" -"こそ!!!\", \"last_modified\": \"2010/03/17 12:05:00\", \"replied_to" -"\": \"tasukuchan:1\", \"replied_users\": [\"tasukuchan\"], " -"\"posted_by\": \"daijiro\", }, { \"_key\": \"tasukuchan:2\", " -"\"comment\": \"@daijiro ありがとう!\", \"last_modified\": \"2010/03/17 " -"13:00:00\", \"replied_to\": \"daijiro:2\", \"replied_users\": " -"[\"daijiro\"], \"posted_by\": \"tasukuchan\", }, { \"_key\": " -"\"tasukuchan:3\", \"comment\": \"groongaなう #groonga\", " -"\"last_modified\": \"2010/03/17 14:00:00\", \"hash_tags\": [\"groonga" -"\"], \"location\": \"127972422x503117107\", \"posted_by\": " -"\"tasukuchan\", }, { \"_key\": \"tasukuchan:4\", \"comment\": " -"\"groonga開発合宿のため羽田空港に来ました! #groonga #travel\", " -"\"last_modified\": \"2010/03/17 14:05:00\", \"hash_tags\": [\"groonga\", " -"\"travel\"], \"location\": \"127975798x502919856\", \"posted_by\": " -"\"tasukuchan\", }, { \"_key\": \"OffGao:1\", \"comment\": " -"\"@daijiro @tasukuchan 登録してみましたよー!\", \"last_modified\": " -"\"2010/03/17 15:00:00\", \"replied_users\": [\"daijiro\", \"tasukuchan" -"\"], \"location\": \"128551935x502796433\", \"posted_by\": \"OffGao" -"\", } { \"_key\": \"OffGao:2\", \"comment\": \"中野ブロードウェイ" -"なうなう\", \"last_modified\": \"2010/03/17 15:05:00\", \"location" -"\": \"128551935x502796434\", \"posted_by\": \"OffGao\", } ]" +"コマンドのオプションは、HTTPのGETパラメータで渡します。つまり、「?オプション=" +"値&オプション=値 …」という書式になります。" -#: ../../../source/tutorial/tutorial10.txt:241 +#: ../../../source/tutorial/tutorial10.txt:410 msgid "" -"Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルの" -"replied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値" -"を指定します。" +"「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしまし" +"た。" msgstr "" -"Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルの" -"replied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値" -"を指定します。" +"「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしまし" +"た。" -#: ../../../source/tutorial/tutorial10.txt:243 +#: ../../../source/tutorial/tutorial01.txt:157 msgid "" -"Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint" -"型です。この型での値の指定は、\"[緯度]x[経度]\"と記述して指定します。" +"実行例にある、TokenBigramという値は、 語彙表として使用するテーブルは、対象の" +"文書をトークナイズする方式を、default_tokenizerパラメータで与えます。この例で" +"はTokenBigramを指定しています。よって、一般的にN-gramと呼ばれるようなインデッ" +"クス方式を選択しています。" msgstr "" -"Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint" -"型です。この型での値の指定は、\"[緯度]x[経度]\"と記述して指定します。" +"実行例にある、TokenBigramという値は、 語彙表として使用するテーブルは、対象の" +"文書をトークナイズする方式を、default_tokenizerパラメータで与えます。この例で" +"はTokenBigramを指定しています。よって、一般的にN-gramと呼ばれるようなインデッ" +"クス方式を選択しています。" -#: ../../../source/tutorial/tutorial10.txt:245 +#: ../../../source/tutorial/tutorial07.txt:22 +msgid "カラムごとにインデックスを付与する場合" +msgstr "カラムごとにインデックスを付与する場合" + +#: ../../../source/tutorial/tutorial01.txt:173 +#: ../../../source/tutorial/tutorial10.txt:141 +msgid "データのロード" +msgstr "データのロード" + +#: ../../../source/tutorial/tutorial08.txt:38 msgid "" -"Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値の指定方法" -"は、マイクロ秒数の値を直接指定する方法のほかに、文字列で指定する方法もありま" -"す。\"年/月/日 時:分:秒\"というフォーマットで記述することで、データロードの際" -"に文字列からキャストされ、マイクロ秒数の値が格納されます。" +"例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元の" +"レコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが " +"``true`` も検索条件に加えます。" msgstr "" -"Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値の指定方法" -"は、マイクロ秒数の値を直接指定する方法のほかに、文字列で指定する方法もありま" -"す。\"年/月/日 時:分:秒\"というフォーマットで記述することで、データロードの際" -"に文字列からキャストされ、マイクロ秒数の値が格納されます。" +"例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元の" +"レコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが " +"``true`` も検索条件に加えます。" -#: ../../../source/tutorial/tutorial10.txt:375 -msgid "それでは、実際に検索をしてみましょう。" -msgstr "それでは、実際に検索をしてみましょう。" +#: ../source/example/tutorial03-3.log:104 +msgid "" +"> column_create --table Site --name links --flags COLUMN_VECTOR --type Site " +"[[0,1308820988.35428,0.055857261],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"links\":[\"http://example.net/\",\"http://example." +"org/\",\"http://example.com/\"]}] [[0,1308820988.61189,0.20152687],1] > " +"select --table Site --output_columns _key,title,links._key,links.title --" +"query title:@this [[0,1308820989.01506,0.000477611],[[[1],[[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"links._key\",\"ShortText\"]," +"[\"links.title\",\"ShortText\"]],[\"http://example.org/\",\"This is test " +"record 1!\",[\"http://example.net/\",\"http://example.org/\",\"http://" +"example.com/\"],[\"test record 2.\",\"This is test record 1!\",\"test test " +"record three.\"]]]]]" +msgstr "" +"> column_create --table Site --name links --flags COLUMN_VECTOR --type Site " +"[[0,1308820988.35428,0.055857261],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"links\":[\"http://example.net/\",\"http://example." +"org/\",\"http://example.com/\"]}] [[0,1308820988.61189,0.20152687],1] > " +"select --table Site --output_columns _key,title,links._key,links.title --" +"query title:@this [[0,1308820989.01506,0.000477611],[[[1],[[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"links._key\",\"ShortText\"]," +"[\"links.title\",\"ShortText\"]],[\"http://example.org/\",\"This is test " +"record 1!\",[\"http://example.net/\",\"http://example.org/\",\"http://" +"example.com/\"],[\"test record 2.\",\"This is test record 1!\",\"test test " +"record three.\"]]]]]" -#: ../../../source/tutorial/tutorial10.txt:378 -msgid "キーワードでユーザー検索" -msgstr "キーワードでユーザー検索" +#: ../../../source/tutorial/tutorial01.txt:25 +msgid "groonga -n データベースパス名" +msgstr "groonga -n データベースパス名" #: ../../../source/tutorial/tutorial10.txt:379 msgid "" @@ -1882,6 +2210,52 @@ msgstr "" "ここでは、 :doc:`tutorial07` で扱った、複数カラムを対象とした検索を行いま" "す。 指定された文字列で、ユーザー名・現在地・自己紹介文を対象に検索をします。" +#: ../source/example/tutorial04-3.log:66 +msgid "" +"> select --table Site --filter \"1\" --scorer \"_score = rand()\" --" +"output_columns _id,_key,_score --sortby _score " +"[[0,1308820947.7379,0.000649717],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"_score\",\"Int32\"]],[9,\"http://example.com/vdw" +"\",327254586],[6,\"http://example.com/rab\",498777856],[8,\"http://example." +"org/gat\",524872353],[5,\"http://example.org/aba\",631704567],[4,\"http://" +"example.net/afr\",791698927],[2,\"http://example.net/\",822890675],[7," +"\"http://example.net/atv\",1255179497],[1,\"http://example.org/" +"\",1469834481],[3,\"http://example.com/\",1610120709]]]] > select --table " +"Site --filter \"1\" --scorer \"_score = rand()\" --output_columns _id,_key," +"_score --sortby _score [[0,1308820947.94322,0.000598748],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"_score\",\"Int32\"]],[8,\"http://" +"example.org/gat\",112805732],[6,\"http://example.com/rab\",160051528],[2," +"\"http://example.net/\",269455306],[4,\"http://example.net/afr\",352406219]," +"[9,\"http://example.com/vdw\",1120048829],[1,\"http://example.org/" +"\",1572276965],[5,\"http://example.org/aba\",1600028624],[3,\"http://example." +"com/\",1703964683],[7,\"http://example.net/atv\",2040332871]]]]" +msgstr "" +"> select --table Site --filter \"1\" --scorer \"_score = rand()\" --" +"output_columns _id,_key,_score --sortby _score " +"[[0,1308820947.7379,0.000649717],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"_score\",\"Int32\"]],[9,\"http://example.com/vdw" +"\",327254586],[6,\"http://example.com/rab\",498777856],[8,\"http://example." +"org/gat\",524872353],[5,\"http://example.org/aba\",631704567],[4,\"http://" +"example.net/afr\",791698927],[2,\"http://example.net/\",822890675],[7," +"\"http://example.net/atv\",1255179497],[1,\"http://example.org/" +"\",1469834481],[3,\"http://example.com/\",1610120709]]]] > select --table " +"Site --filter \"1\" --scorer \"_score = rand()\" --output_columns _id,_key," +"_score --sortby _score [[0,1308820947.94322,0.000598748],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"_score\",\"Int32\"]],[8,\"http://" +"example.org/gat\",112805732],[6,\"http://example.com/rab\",160051528],[2," +"\"http://example.net/\",269455306],[4,\"http://example.net/afr\",352406219]," +"[9,\"http://example.com/vdw\",1120048829],[1,\"http://example.org/" +"\",1572276965],[5,\"http://example.org/aba\",1600028624],[3,\"http://example." +"com/\",1703964683],[7,\"http://example.net/atv\",2040332871]]]]" + +#: ../../../source/tutorial/tutorial10.txt:453 +msgid "" +"#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダ" +"ウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。" +msgstr "" +"#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダ" +"ウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。" + #: ../../../source/tutorial/tutorial10.txt:386 msgid "" "「東京」をキーワードにユーザー検索した結果、東京都に住んでいる「グニャラく" @@ -1890,105 +2264,226 @@ msgstr "" "「東京」をキーワードにユーザー検索した結果、東京都に住んでいる「グニャラく" "ん」と「OffGao」がヒットしました。" -#: ../../../source/tutorial/tutorial10.txt:389 -msgid "GeoPointでユーザー検索" -msgstr "GeoPointでユーザー検索" +#: ../../../source/tutorial/tutorial01.txt:107 +msgid "" +"ここでは、ShortText型の主キー値を持ち、主キーの格納方法はHASHである、'Site'と" +"いう名前のテーブルを作成します。" +msgstr "" +"ここでは、ShortText型の主キー値を持ち、主キーの格納方法はHASHである、'Site'と" +"いう名前のテーブルを作成します。" -#: ../../../source/tutorial/tutorial10.txt:391 +#: ../../../source/tutorial/tutorial01.txt:114 +#: ../../../source/tutorial/tutorial10.txt:373 +msgid "検索" +msgstr "検索" + +#: ../../../source/tutorial/tutorial10.txt:95 +msgid "返信元のコメント内容" +msgstr "返信元のコメント内容" + +#: ../source/example/tutorial04-1.log:22 msgid "" -"ここでは、 :doc:`tutorial04` で扱った、GeoPoint型のカラムで検索をします。 以" -"下の例では、指定された位置から5000m以内にいるユーザーを検索しています。" +"> select --table Site --filter \"_id <= 1\" --output_columns _id,_key " +"[[0,1308820947.12902,0.000234772],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"]],[1,\"http://example.org/\"]]]]" msgstr "" -"ここでは、 :doc:`tutorial04` で扱った、GeoPoint型のカラムで検索をします。 以" -"下の例では、指定された位置から5000m以内にいるユーザーを検索しています。" +"> select --table Site --filter \"_id <= 1\" --output_columns _id,_key " +"[[0,1308820947.12902,0.000234772],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"]],[1,\"http://example.org/\"]]]]" -#: ../../../source/tutorial/tutorial10.txt:398 +#: ../../../source/tutorial/tutorial04.txt:75 msgid "" -"新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と" -"「OffGao」がヒットしました。" +"ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみ" +"ましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅" +"は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、代入する文字列" +"はそれぞれ\"128452975x503157902\"/\"128487316x502920929\"となります。" msgstr "" -"新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と" -"「OffGao」がヒットしました。" +"ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみ" +"ましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅" +"は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、代入する文字列" +"はそれぞれ\"128452975x503157902\"/\"128487316x502920929\"となります。" -#: ../../../source/tutorial/tutorial10.txt:401 -msgid "あるユーザーをフォローしているユーザーの検索" -msgstr "あるユーザーをフォローしているユーザーの検索" +#: ../../../source/tutorial/tutorial04.txt:58 +msgid "sortbyパラメータには、" +msgstr "sortbyパラメータには、" -#: ../../../source/tutorial/tutorial10.txt:403 +#: ../../../source/tutorial/tutorial01.txt:76 +msgid "詳しくは、 :doc:`/execfile` のコマンドの項を参考にしてください。" +msgstr "詳しくは、 :doc:`/execfile` のコマンドの項を参考にしてください。" + +#: ../../../source/tutorial/tutorial04.txt:15 msgid "" -"ここでは、 :doc:`tutorial06` で扱った、参照関係の逆引きをします。 以下の例で" -"は、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。" +"selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条" +"件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメー" +"タには、JavaScriptの式に似た文法で条件を指定する点です。" msgstr "" -"ここでは、 :doc:`tutorial06` で扱った、参照関係の逆引きをします。 以下の例で" -"は、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。" +"selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条" +"件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメー" +"タには、JavaScriptの式に似た文法で条件を指定する点です。" -#: ../../../source/tutorial/tutorial10.txt:410 +#: ../../../source/tutorial/tutorial01.txt:127 +msgid "カラムの作成" +msgstr "カラムの作成" + +#: ../../../source/tutorial/tutorial04.txt:52 +msgid "上記の実行例では、scorerパラメータに" +msgstr "上記の実行例では、scorerパラメータに" + +#: ../../../source/tutorial/tutorial01.txt:241 +msgid "出力カラムの指定" +msgstr "出力カラムの指定" + +#: ../source/example/tutorial01-11.log:313 msgid "" -"「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしまし" -"た。" +"> select --table Site --query title:@this [[0,1308820934.67264,0.000440628]," +"[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" +"\"]],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" msgstr "" -"「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしまし" -"た。" +"> select --table Site --query title:@this [[0,1308820934.67264,0.000440628]," +"[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" +"\"]],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" -#: ../../../source/tutorial/tutorial10.txt:413 -msgid "GeoPointでコメント検索" -msgstr "GeoPointでコメント検索" +#: ../../../source/tutorial/tutorial04.txt:71 +msgid "" +"位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの" +"型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存しま" +"す。" +msgstr "" +"位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの" +"型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存しま" +"す。" -#: ../../../source/tutorial/tutorial10.txt:414 +#: ../../../source/tutorial/tutorial10.txt:378 +msgid "キーワードでユーザー検索" +msgstr "キーワードでユーザー検索" + +#: ../../../source/tutorial/tutorial03.txt:15 msgid "" -"ある範囲内で書かれたコメントを検索します。 また、 :doc:`tutorial05` で扱った" -"ドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、" -"ユーザー別・ハッシュタグ別のカウントを出します。" +"groongaでは、数値(整数・小数)や文字列や時刻や経緯度などの情報を格納すること" +"ができます。" msgstr "" -"ある範囲内で書かれたコメントを検索します。 また、 :doc:`tutorial05` で扱った" -"ドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、" -"ユーザー別・ハッシュタグ別のカウントを出します。" +"groongaでは、数値(整数・小数)や文字列や時刻や経緯度などの情報を格納すること" +"ができます。" + +#: ../../../source/tutorial/tutorial06.txt:12 +msgid "" +"本チュートリアルで、groongaはカラム値として他のテーブルへの参照の配列を持つこ" +"とができることを紹介いたしました。実は、テーブルへの参照の配列データを用いる" +"ことによって、いわゆるタグ検索を行うことが可能となります。" +msgstr "" +"本チュートリアルで、groongaはカラム値として他のテーブルへの参照の配列を持つこ" +"とができることを紹介いたしました。実は、テーブルへの参照の配列データを用いる" +"ことによって、いわゆるタグ検索を行うことが可能となります。" -#: ../../../source/tutorial/tutorial10.txt:421 +#: ../../../source/tutorial/tutorial04.txt:87 msgid "" -"範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そし" -"て、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタ" -"グは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」が" -"それぞれ2件ずつであることがわかります。" +"scorerパラメータにおいて、 :doc:`../functions/geo_distance` 関数を用いること" +"により、2点間の距離を計算することができます。" msgstr "" -"範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そし" -"て、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタ" -"グは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」が" -"それぞれ2件ずつであることがわかります。" +"scorerパラメータにおいて、 :doc:`../functions/geo_distance` 関数を用いること" +"により、2点間の距離を計算することができます。" -#: ../../../source/tutorial/tutorial10.txt:424 -msgid "キーワードでコメント検索" -msgstr "キーワードでコメント検索" +#: ../../../source/tutorial/tutorial06.txt:21 +msgid "実際に、動画情報のテーブルを作成し、検索をしてみましょう。" +msgstr "実際に、動画情報のテーブルを作成し、検索をしてみましょう。" -#: ../../../source/tutorial/tutorial10.txt:425 +#: ../../../source/tutorial/tutorial10.txt:398 msgid "" -"あるキーワードを含むコメントを検索します。 さらに、 :doc:`tutorial04` で扱っ" -"た、スコア値_scoreも出してみましょう。" +"新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と" +"「OffGao」がヒットしました。" msgstr "" -"あるキーワードを含むコメントを検索します。 さらに、 :doc:`tutorial04` で扱っ" -"た、スコア値_scoreも出してみましょう。" +"新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と" +"「OffGao」がヒットしました。" -#: ../../../source/tutorial/tutorial10.txt:432 +#: ../../../source/tutorial/tutorial06.txt:17 +msgid "タグ検索" +msgstr "タグ検索" + +#: ../../../source/example/tutorial01-1.log:1 +#: ../../../source/example/tutorial01-2.log:1 +#: ../../../source/example/tutorial01-3.log:1 +#: ../../../source/example/tutorial01-4.log:1 +#: ../../../source/example/tutorial01-5.log:1 +#: ../../../source/example/tutorial01-6.log:1 +#: ../../../source/example/tutorial01-7.log:1 +#: ../../../source/example/tutorial01-8.log:1 +#: ../../../source/example/tutorial01-9.log:1 +#: ../../../source/example/tutorial01-10.log:1 +#: ../../../source/example/tutorial01-11.log:1 +#: ../../../source/example/tutorial01-12.log:1 +#: ../../../source/example/tutorial01-13.log:1 +#: ../../../source/example/tutorial01-14.log:1 +#: ../../../source/example/tutorial01-15.log:1 +#: ../../../source/example/tutorial01-16.log:1 +#: ../../../source/example/tutorial01-17.log:1 +#: ../../../source/example/tutorial02-1.log:1 +#: ../../../source/example/tutorial02-2.log:1 +#: ../../../source/example/tutorial02-3.log:1 +#: ../../../source/example/tutorial03-1.log:1 +#: ../../../source/example/tutorial03-2.log:1 +#: ../../../source/example/tutorial03-3.log:1 +#: ../../../source/example/tutorial04-1.log:1 +#: ../../../source/example/tutorial04-2.log:1 +#: ../../../source/example/tutorial04-3.log:1 +#: ../../../source/example/tutorial04-4.log:1 +#: ../../../source/example/tutorial04-5.log:1 +#: ../../../source/example/tutorial04-6.log:1 +#: ../../../source/example/tutorial04-7.log:1 +#: ../../../source/example/tutorial05-1.log:1 +#: ../../../source/example/tutorial05-2.log:1 +#: ../../../source/example/tutorial05-3.log:1 +#: ../../../source/example/tutorial05-4.log:1 +#: ../../../source/example/tutorial05-5.log:1 +#: ../../../source/example/tutorial05-6.log:1 +#: ../../../source/example/tutorial06-1.log:1 +#: ../../../source/example/tutorial06-2.log:1 +#: ../../../source/example/tutorial06-3.log:1 +#: ../../../source/example/tutorial06-4.log:1 +#: ../../../source/example/tutorial06-5.log:1 +#: ../../../source/example/tutorial06-6.log:1 +#: ../../../source/example/tutorial06-7.log:1 +#: ../../../source/example/tutorial07-1.log:1 +#: ../../../source/example/tutorial07-2.log:1 +#: ../../../source/example/tutorial07-3.log:1 +#: ../../../source/example/tutorial07-4.log:1 +#: ../../../source/example/tutorial08-1.log:1 +#: ../../../source/example/tutorial08-2.log:1 +#: ../../../source/example/tutorial10-1.log:1 +#: ../../../source/example/tutorial10-2.log:1 +#: ../../../source/example/tutorial10-3.log:1 +#: ../../../source/example/tutorial10-4.log:1 +#: ../../../source/example/tutorial10-5.log:1 +#: ../../../source/example/tutorial10-6.log:1 +#: ../../../source/example/tutorial10-7.log:1 +#: ../../../source/example/tutorial10-8.log:1 +#: ../../../source/example/tutorial10-9.log:1 +#: ../../../source/example/tutorial10-10.log:1 +msgid "実行例 ::" +msgstr "実行例 ::" + +#: ../../../source/tutorial/tutorial07.txt:83 +msgid "インデックス名を指定した全文検索" +msgstr "インデックス名を指定した全文検索" + +#: ../../../source/tutorial/tutorial04.txt:39 msgid "" -"「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。ま" -"た、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できま" -"す。" +"selectコマンドのscorerパラメータは、 全文検索を行った結果の各レコードに対して" +"処理を行うためのパラメータです。" msgstr "" -"「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。ま" -"た、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できま" -"す。" - -#: ../../../source/tutorial/tutorial10.txt:435 -msgid "GeoPointとキーワードでコメント検索" -msgstr "GeoPointとキーワードでコメント検索" +"selectコマンドのscorerパラメータは、 全文検索を行った結果の各レコードに対して" +"処理を行うためのパラメータです。" -#: ../../../source/tutorial/tutorial10.txt:436 +#: ../../../source/tutorial/tutorial01.txt:272 msgid "" -"今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filter" -"の両方を使用した場合、両方の条件に一致するレコードがヒットします。" +"selectコマンドにおいて、sortbyパラメータを用いることで、検索結果を並び替える" +"ことが出来ます。" msgstr "" -"今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filter" -"の両方を使用した場合、両方の条件に一致するレコードがヒットします。" +"selectコマンドにおいて、sortbyパラメータを用いることで、検索結果を並び替える" +"ことが出来ます。" + +#: ../../../source/tutorial/tutorial01.txt:141 +msgid "全文検索用の語彙表の作成" +msgstr "全文検索用の語彙表の作成" #: ../../../source/tutorial/tutorial10.txt:442 msgid "" @@ -1998,1221 +2493,831 @@ msgstr "" "両方の条件を満たすコメントが1件ヒットしました。また、ドリルダウンの結果も返っ" "てきており、「グニャラくん」のコメント1件であることがわかります。" -#: ../../../source/tutorial/tutorial10.txt:445 -msgid "ハッシュタグでコメント検索" -msgstr "ハッシュタグでコメント検索" +#: ../../../source/tutorial/tutorial03.txt:37 +msgid "table_createで作成したテーブルを、カラムの型として使うことが出来ます。" +msgstr "table_createで作成したテーブルを、カラムの型として使うことが出来ます。" -#: ../../../source/tutorial/tutorial10.txt:446 +#: ../../../source/tutorial/tutorial04.txt:60 +msgid "_score" +msgstr "_score" + +#: ../../../source/tutorial/tutorial01.txt:82 +msgid "groongaプロセスの状態を表示します。" +msgstr "groongaプロセスの状態を表示します。" + +#: ../../../source/tutorial/tutorial10.txt:74 +msgid "ユーザーの自己紹介" +msgstr "ユーザーの自己紹介" + +#: ../../../source/tutorial/tutorial01.txt:274 msgid "" -"あるハッシュタグのついているコメントを検索します。 これも、 :doc:" -"`tutorial06` で扱った、参照関係の逆引きを使います。" +"sortbyパラメータにカラム名を指定することで、そのカラムの値で昇順にソートしま" +"す。また、カラム名の前にハイフン(-)を付けることで、降順にソートすることも出" +"来ます。" msgstr "" -"あるハッシュタグのついているコメントを検索します。 これも、 :doc:" -"`tutorial06` で扱った、参照関係の逆引きを使います。" +"sortbyパラメータにカラム名を指定することで、そのカラムの値で昇順にソートしま" +"す。また、カラム名の前にハイフン(-)を付けることで、降順にソートすることも出" +"来ます。" -#: ../../../source/tutorial/tutorial10.txt:453 +#: ../../../source/tutorial/tutorial02.txt:10 msgid "" -"#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダ" -"ウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。" +"groongaはネットワークを通じて利用することができます。groonga独自プロトコルも" +"しくはHTTPのどちらかを選択してgroongaを起動することにより、groongaはネット" +"ワーク接続を待ち受けます。" msgstr "" -"#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダ" -"ウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。" +"groongaはネットワークを通じて利用することができます。groonga独自プロトコルも" +"しくはHTTPのどちらかを選択してgroongaを起動することにより、groongaはネット" +"ワーク接続を待ち受けます。" -#: ../../../source/tutorial/tutorial10.txt:456 -msgid "ユーザーIDでコメント検索" -msgstr "ユーザーIDでコメント検索" +#: ../../../source/tutorial/tutorial04.txt:13 +msgid "JavaScriptに似た文法での絞込・全文検索" +msgstr "JavaScriptに似た文法での絞込・全文検索" -#: ../../../source/tutorial/tutorial10.txt:457 -msgid "あるユーザーが投稿したコメントを検索します。" -msgstr "あるユーザーが投稿したコメントを検索します。" +#: ../../../source/tutorial/tutorial10.txt:473 +msgid "「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。" +msgstr "" +"「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。" -#: ../../../source/tutorial/tutorial10.txt:463 +#: ../source/example/tutorial02-2.log:74 +msgid "% groonga -c > shutdown %" +msgstr "% groonga -c > shutdown %" + +#: ../../../source/tutorial/tutorial02.txt:22 msgid "" -"「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグ" -"でドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに" -"「#travel」が1つあることがわかります。" +"既存のデータベースのフルパス名をDBパス名に指定します。 groongaがデーモンモー" +"ドで起動し、指定したポート番号でgroongaの専用プロトコルを用いた通信をすること" +"ができます。 (ポート番号を省略した場合は10041が使用されます)" msgstr "" -"「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグ" -"でドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに" -"「#travel」が1つあることがわかります。" - -#: ../../../source/tutorial/tutorial10.txt:466 -msgid "ユーザーのお気に入りコメントを検索" -msgstr "ユーザーのお気に入りコメントを検索" +"既存のデータベースのフルパス名をDBパス名に指定します。 groongaがデーモンモー" +"ドで起動し、指定したポート番号でgroongaの専用プロトコルを用いた通信をすること" +"ができます。 (ポート番号を省略した場合は10041が使用されます)" -#: ../../../source/tutorial/tutorial10.txt:467 -msgid "あるユーザーがお気に入りに入れているコメントを検索します。" -msgstr "あるユーザーがお気に入りに入れているコメントを検索します。" +#: ../../../source/tutorial/tutorial07.txt:44 +msgid "実際に検索してみましょう。" +msgstr "実際に検索してみましょう。" -#: ../../../source/tutorial/tutorial10.txt:473 -msgid "「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。" +#: ../../../source/tutorial/tutorial10.txt:414 +msgid "" +"ある範囲内で書かれたコメントを検索します。 また、 :doc:`tutorial05` で扱った" +"ドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、" +"ユーザー別・ハッシュタグ別のカウントを出します。" msgstr "" -"「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。" +"ある範囲内で書かれたコメントを検索します。 また、 :doc:`tutorial05` で扱った" +"ドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、" +"ユーザー別・ハッシュタグ別のカウントを出します。" -#: ../../../source/tutorial/tutorial10.txt:476 -msgid "投稿時間でコメント検索" -msgstr "投稿時間でコメント検索" +#: ../../../source/tutorial/tutorial07.txt:12 +msgid "match_columnsパラメータ" +msgstr "match_columnsパラメータ" -#: ../../../source/tutorial/tutorial10.txt:477 +#: ../../../source/tutorial/tutorial01.txt:72 +msgid "書式1と2は混ぜて使うことができます。" +msgstr "書式1と2は混ぜて使うことができます。" + +#: ../../../source/tutorial/tutorial04.txt:27 +msgid "また、&& や || を使って、条件のAND・OR指定をすることもできます。" +msgstr "また、&& や || を使って、条件のAND・OR指定をすることもできます。" + +#: ../source/example/tutorial01-15.log:397 msgid "" -"コメントの投稿時間で検索をします。Time型については :doc:`tutorial03` で扱って" -"います。 この例では、指定した時間よりも前に投稿されているコメントを検索しま" -"す。" +"> select --table Site --sortby -_id [[0,1308820935.8941,0.000183882],[[[9]," +"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[9," +"\"http://example.com/vdw\",\"test test record nine.\"],[8,\"http://example." +"org/gat\",\"test test record eight.\"],[7,\"http://example.net/atv\",\"test " +"test test record seven.\"],[6,\"http://example.com/rab\",\"test test test " +"test record six.\"],[5,\"http://example.org/aba\",\"test test test record " +"five.\"],[4,\"http://example.net/afr\",\"test record four.\"],[3,\"http://" +"example.com/\",\"test test record three.\"],[2,\"http://example.net/\"," +"\"test record 2.\"],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" msgstr "" -"コメントの投稿時間で検索をします。Time型については :doc:`tutorial03` で扱って" -"います。 この例では、指定した時間よりも前に投稿されているコメントを検索しま" -"す。" +"> select --table Site --sortby -_id [[0,1308820935.8941,0.000183882],[[[9]," +"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[9," +"\"http://example.com/vdw\",\"test test record nine.\"],[8,\"http://example." +"org/gat\",\"test test record eight.\"],[7,\"http://example.net/atv\",\"test " +"test test record seven.\"],[6,\"http://example.com/rab\",\"test test test " +"test record six.\"],[5,\"http://example.org/aba\",\"test test test record " +"five.\"],[4,\"http://example.net/afr\",\"test record four.\"],[3,\"http://" +"example.com/\",\"test test record three.\"],[2,\"http://example.net/\"," +"\"test record 2.\"],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" -#: ../../../source/tutorial/tutorial10.txt:484 +#: ../../../source/tutorial/tutorial08.txt:34 msgid "" -"2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダ" -"ウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒット" -"していることがわかります。" +"table_createコマンドのflagsオプションにTABLE_PAT_KEYとKEY_WITH_SISを指定する" +"ことで、主キーによる前方一致検索・後方一致検索の両方が可能となります。" msgstr "" -"2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダ" -"ウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒット" -"していることがわかります。" +"table_createコマンドのflagsオプションにTABLE_PAT_KEYとKEY_WITH_SISを指定する" +"ことで、主キーによる前方一致検索・後方一致検索の両方が可能となります。" -#: ../source/example/tutorial01-1.log:60 +#: ../source/example/tutorial01-4.log:160 msgid "" -"% groonga /tmp/tutorial.db > status [[0,1294292494.18924,3.7116e-05]," -"{\"alloc_count\":443,\"starttime\":1294292404,\"uptime\":90,\"version\":" -"\"1.0.6-10-gba9df76\",\"n_queries\":106,\"cache_hit_rate\":0.943396226415094," -"\"command_version\":1,\"default_command_version\":1,\"max_command_version" -"\":2}]" +"> column_create --table Site --name title --flags COLUMN_SCALAR --type " +"ShortText [[0,1308820930.56469,0.052566362],true] > select --table Site " +"[[0,1308820930.81869,9.5061e-05],[[[0],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]]]]]" msgstr "" -"% groonga /tmp/tutorial.db > status [[0,1294292494.18924,3.7116e-05]," -"{\"alloc_count\":443,\"starttime\":1294292404,\"uptime\":90,\"version\":" -"\"1.0.6-10-gba9df76\",\"n_queries\":106,\"cache_hit_rate\":0.943396226415094," -"\"command_version\":1,\"default_command_version\":1,\"max_command_version" -"\":2}]" +"> column_create --table Site --name title --flags COLUMN_SCALAR --type " +"ShortText [[0,1308820930.56469,0.052566362],true] > select --table Site " +"[[0,1308820930.81869,9.5061e-05],[[[0],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]]]]]" -#: ../source/example/tutorial01-10.log:295 +#: ../source/example/tutorial04-6.log:151 msgid "" -"> select --table Site --query \"_key:\\\"http://example.org/\\" -"\"\" [[0,1294292498.74872,0.00031979],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " -"is test record 1!\"]]]]" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' --sortby -_score [[0,1308820949.87105,0.00059959]," +"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\"," +"\"Int32\"]],[\"http://example.net/\",\"128487316x502920929\",6720],[\"http://" +"example.org/\",\"128452975x503157902\",2054]]]]" msgstr "" -"> select --table Site --query \"_key:\\\"http://example.org/\\" -"\"\" [[0,1294292498.74872,0.00031979],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " -"is test record 1!\"]]]]" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' --sortby -_score [[0,1308820949.87105,0.00059959]," +"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\"," +"\"Int32\"]],[\"http://example.net/\",\"128487316x502920929\",6720],[\"http://" +"example.org/\",\"128452975x503157902\",2054]]]]" -#: ../source/example/tutorial01-11.log:313 +#: ../source/example/tutorial02-3.log:111 msgid "" -"> select --table Site --query title:@this [[0,1294292498.95104,0.00032904]," +"http://[IPまたはホスト名]:[ポート番号]/d/status 実行される処理: > status " +"[[0,1308820929.085,4.9675e-05],{\"alloc_count\":548,\"starttime\":1308820641," +"\"uptime\":288,\"version\":\"1.2.2-104-gf48051d\",\"n_queries\":375," +"\"cache_hit_rate\":0.533333333333333,\"command_version\":1," +"\"default_command_version\":1,\"max_command_version\":2}] http://[IPまたはホ" +"スト名]:[ポート番号]/d/select?table=Site&query=title:@this 実行される処理: " +"> select --table Site --query title:@this [[0,1308820929.28709,6.8668e-05]," "[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" "\"]],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" msgstr "" -"> select --table Site --query title:@this [[0,1294292498.95104,0.00032904]," +"http://[IPまたはホスト名]:[ポート番号]/d/status 実行される処理: > status " +"[[0,1308820929.085,4.9675e-05],{\"alloc_count\":548,\"starttime\":1308820641," +"\"uptime\":288,\"version\":\"1.2.2-104-gf48051d\",\"n_queries\":375," +"\"cache_hit_rate\":0.533333333333333,\"command_version\":1," +"\"default_command_version\":1,\"max_command_version\":2}] http://[IPまたはホ" +"スト名]:[ポート番号]/d/select?table=Site&query=title:@this 実行される処理: " +"> select --table Site --query title:@this [[0,1308820929.28709,6.8668e-05]," "[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" "\"]],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" -#: ../source/example/tutorial01-12.log:332 +#: ../../../source/tutorial/tutorial10.txt:131 +msgid "単語" +msgstr "単語" + +#: ../../../source/tutorial/tutorial01.txt:234 msgid "" -"> select --table Site --match_columns title --query this " -"[[0,1294292499.15359,0.000397943],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " -"is test record 1!\"]]]]" +"match_columnsパラメータに'title'、queryパラメータに'this'という文字列を指定す" +"ると、上記のクエリと同じ結果を得ることができます。" msgstr "" -"> select --table Site --match_columns title --query this " -"[[0,1294292499.15359,0.000397943],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " -"is test record 1!\"]]]]" +"match_columnsパラメータに'title'、queryパラメータに'this'という文字列を指定す" +"ると、上記のクエリと同じ結果を得ることができます。" -#: ../source/example/tutorial01-13.log:350 +#: ../../../source/tutorial/tutorial06.txt:47 +msgid "「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。" +msgstr "「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。" + +#: ../../../source/tutorial/tutorial10.txt:122 msgid "" -"> select --table Site --output_columns _key,title,_score --query title:@test " -"[[0,1294292499.35613,0.000371444],[[[9],[[\"_key\",\"ShortText\"],[\"title\"," -"\"ShortText\"],[\"_score\",\"Int32\"]],[\"http://example.org/\",\"This is " -"test record 1!\",1],[\"http://example.net/\",\"test record 2.\",1],[\"http://" -"example.com/\",\"test test record three.\",2],[\"http://example.net/afr\"," -"\"test record four.\",1],[\"http://example.org/aba\",\"test test test record " -"five.\",3],[\"http://example.com/rab\",\"test test test test record six." -"\",4],[\"http://example.net/atv\",\"test test test record seven.\",3]," -"[\"http://example.org/gat\",\"test test record eight.\",2],[\"http://example." -"com/vdw\",\"test test record nine.\",2]]]]" +"「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定した" +"ハッシュタグのついているコメントの一覧を出すことが出来るようになります。" msgstr "" -"> select --table Site --output_columns _key,title,_score --query title:@test " -"[[0,1294292499.35613,0.000371444],[[[9],[[\"_key\",\"ShortText\"],[\"title\"," -"\"ShortText\"],[\"_score\",\"Int32\"]],[\"http://example.org/\",\"This is " -"test record 1!\",1],[\"http://example.net/\",\"test record 2.\",1],[\"http://" -"example.com/\",\"test test record three.\",2],[\"http://example.net/afr\"," -"\"test record four.\",1],[\"http://example.org/aba\",\"test test test record " -"five.\",3],[\"http://example.com/rab\",\"test test test test record six." -"\",4],[\"http://example.net/atv\",\"test test test record seven.\",3]," -"[\"http://example.org/gat\",\"test test record eight.\",2],[\"http://example." -"com/vdw\",\"test test record nine.\",2]]]]" +"「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定した" +"ハッシュタグのついているコメントの一覧を出すことが出来るようになります。" + +#: ../../../source/tutorial/tutorial01.txt:261 +msgid "limitパラメータには、検索結果を何件表示するのかを指定します。" +msgstr "limitパラメータには、検索結果を何件表示するのかを指定します。" + +#: ../../../source/tutorial/tutorial02.txt:28 +msgid "% groonga -d /tmp/tutorial.db 12345 %" +msgstr "% groonga -d /tmp/tutorial.db 12345 %" + +#: ../../../source/tutorial/tutorial01.txt:220 +msgid "全文検索" +msgstr "全文検索" #: ../source/example/tutorial01-14.log:373 msgid "" -"> select --table Site --offset 0 --limit 3 [[0,1294292499.56296,0.00011524]," +"> select --table Site --offset 0 --limit 3 [[0,1308820935.28442,0.000252225]," "[[[9],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" "\"]],[1,\"http://example.org/\",\"This is test record 1!\"],[2,\"http://" "example.net/\",\"test record 2.\"],[3,\"http://example.com/\",\"test test " "record three.\"]]]] > select --table Site --offset 3 --limit 3 " -"[[0,1294292499.76592,0.000110122],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820935.48834,0.000202216],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"]],[4,\"http://example.net/afr\"," "\"test record four.\"],[5,\"http://example.org/aba\",\"test test test record " "five.\"],[6,\"http://example.com/rab\",\"test test test test record six." "\"]]]] > select --table Site --offset 7 --limit 3 " -"[[0,1294292499.96901,0.00010214],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820935.69195,0.000117711],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"]],[8,\"http://example.org/gat\"," "\"test test record eight.\"],[9,\"http://example.com/vdw\",\"test test " "record nine.\"]]]]" msgstr "" -"> select --table Site --offset 0 --limit 3 [[0,1294292499.56296,0.00011524]," +"> select --table Site --offset 0 --limit 3 [[0,1308820935.28442,0.000252225]," "[[[9],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" "\"]],[1,\"http://example.org/\",\"This is test record 1!\"],[2,\"http://" "example.net/\",\"test record 2.\"],[3,\"http://example.com/\",\"test test " "record three.\"]]]] > select --table Site --offset 3 --limit 3 " -"[[0,1294292499.76592,0.000110122],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820935.48834,0.000202216],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"]],[4,\"http://example.net/afr\"," "\"test record four.\"],[5,\"http://example.org/aba\",\"test test test record " "five.\"],[6,\"http://example.com/rab\",\"test test test test record six." "\"]]]] > select --table Site --offset 7 --limit 3 " -"[[0,1294292499.96901,0.00010214],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820935.69195,0.000117711],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"]],[8,\"http://example.org/gat\"," "\"test test record eight.\"],[9,\"http://example.com/vdw\",\"test test " "record nine.\"]]]]" -#: ../source/example/tutorial01-15.log:397 -msgid "" -"> select --table Site --sortby -_id [[0,1294292500.17182,0.000239255],[[[9]," -"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[9," -"\"http://example.com/vdw\",\"test test record nine.\"],[8,\"http://example." -"org/gat\",\"test test record eight.\"],[7,\"http://example.net/atv\",\"test " -"test test record seven.\"],[6,\"http://example.com/rab\",\"test test test " -"test record six.\"],[5,\"http://example.org/aba\",\"test test test record " -"five.\"],[4,\"http://example.net/afr\",\"test record four.\"],[3,\"http://" -"example.com/\",\"test test record three.\"],[2,\"http://example.net/\"," -"\"test record 2.\"],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" -msgstr "" -"> select --table Site --sortby -_id [[0,1294292500.17182,0.000239255],[[[9]," -"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[9," -"\"http://example.com/vdw\",\"test test record nine.\"],[8,\"http://example." -"org/gat\",\"test test record eight.\"],[7,\"http://example.net/atv\",\"test " -"test test record seven.\"],[6,\"http://example.com/rab\",\"test test test " -"test record six.\"],[5,\"http://example.org/aba\",\"test test test record " -"five.\"],[4,\"http://example.net/afr\",\"test record four.\"],[3,\"http://" -"example.com/\",\"test test record three.\"],[2,\"http://example.net/\"," -"\"test record 2.\"],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" - -#: ../source/example/tutorial01-16.log:410 -msgid "" -"> select --table Site --query title:@test --output_columns _id,_score,title " -"--sortby _score [[0,1294292500.37864,0.000452891],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " -"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," -"\"test test record three.\"],[9,2,\"test test record nine.\"],[8,2,\"test " -"test record eight.\"],[7,3,\"test test test record seven.\"],[5,3,\"test " -"test test record five.\"],[6,4,\"test test test test record six.\"]]]]" -msgstr "" -"> select --table Site --query title:@test --output_columns _id,_score,title " -"--sortby _score [[0,1294292500.37864,0.000452891],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " -"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," -"\"test test record three.\"],[9,2,\"test test record nine.\"],[8,2,\"test " -"test record eight.\"],[7,3,\"test test test record seven.\"],[5,3,\"test " -"test test record five.\"],[6,4,\"test test test test record six.\"]]]]" - -#: ../source/example/tutorial01-17.log:423 -msgid "" -"> select --table Site --query title:@test --output_columns _id,_score,title " -"--sortby _score,_id [[0,1294292500.58351,0.000449563],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " -"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," -"\"test test record three.\"],[8,2,\"test test record eight.\"],[9,2,\"test " -"test record nine.\"],[5,3,\"test test test record five.\"],[7,3,\"test test " -"test record seven.\"],[6,4,\"test test test test record six.\"]]]]" -msgstr "" -"> select --table Site --query title:@test --output_columns _id,_score,title " -"--sortby _score,_id [[0,1294292500.58351,0.000449563],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " -"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," -"\"test test record three.\"],[8,2,\"test test record eight.\"],[9,2,\"test " -"test record nine.\"],[5,3,\"test test test record five.\"],[7,3,\"test test " -"test record seven.\"],[6,4,\"test test test test record six.\"]]]]" - -#: ../source/example/tutorial01-2.log:122 -msgid "" -"> table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292494.39228,0.080407899],true]" -msgstr "" -"> table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292494.39228,0.080407899],true]" - -#: ../source/example/tutorial01-3.log:138 -msgid "" -"> select --table Site [[0,1294292494.67374,0.000159976],[[[0],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"]]]]]" -msgstr "" -"> select --table Site [[0,1294292494.67374,0.000159976],[[[0],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"]]]]]" +#: ../../../source/tutorial/tutorial10.txt:413 +msgid "GeoPointでコメント検索" +msgstr "GeoPointでコメント検索" -#: ../source/example/tutorial01-4.log:160 +#: ../../../source/tutorial/tutorial01.txt:31 msgid "" -"> column_create --table Site --name title --flags COLUMN_SCALAR --type " -"ShortText [[0,1294292494.87523,0.073160479],true] > select --table Site " -"[[0,1294292495.14923,0.000136609],[[[0],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]]]]]" +"上記コマンドでデータベースを作成すると、そのまま対話モードと呼ばれるコマンド" +"を受け付けるモードになります。Ctrlキーを押しながらdキーを押すと、対話モードか" +"ら抜けることができます。" msgstr "" -"> column_create --table Site --name title --flags COLUMN_SCALAR --type " -"ShortText [[0,1294292494.87523,0.073160479],true] > select --table Site " -"[[0,1294292495.14923,0.000136609],[[[0],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"]]]]]" +"上記コマンドでデータベースを作成すると、そのまま対話モードと呼ばれるコマンド" +"を受け付けるモードになります。Ctrlキーを押しながらdキーを押すと、対話モードか" +"ら抜けることができます。" -#: ../source/example/tutorial01-5.log:185 +#: ../../../source/tutorial/tutorial10.txt:403 msgid "" -"> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " -"ShortText --default_tokenizer TokenBigram [[0,1294292495.351,0.064287537]," -"true]" +"ここでは、 :doc:`tutorial06` で扱った、参照関係の逆引きをします。 以下の例で" +"は、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。" msgstr "" -"> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " -"ShortText --default_tokenizer TokenBigram [[0,1294292495.351,0.064287537]," -"true]" +"ここでは、 :doc:`tutorial06` で扱った、参照関係の逆引きをします。 以下の例で" +"は、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。" -#: ../source/example/tutorial01-6.log:207 +#: ../../../source/tutorial/tutorial04.txt:89 msgid "" -"> column_create --table Terms --name blog_title --flags COLUMN_INDEX|" -"WITH_POSITION --type Site --source title [[0,1294292495.6163,0.118577336]," -"true]" +"ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅" +"の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、" +"geo_distance関数に与える文字列は\"128515259x503187188\"となります。" msgstr "" -"> column_create --table Terms --name blog_title --flags COLUMN_INDEX|" -"WITH_POSITION --type Site --source title [[0,1294292495.6163,0.118577336]," -"true]" +"ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅" +"の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、" +"geo_distance関数に与える文字列は\"128515259x503187188\"となります。" -#: ../source/example/tutorial01-7.log:227 -msgid "" -"> load --table Site > [ > {\"_key\":\"http://example.org/\",\"title\":\"This " -"is test record 1!\"}, > {\"_key\":\"http://example.net/\",\"title\":\"test " -"record 2.\"}, > {\"_key\":\"http://example.com/\",\"title\":\"test test " -"record three.\"}, > {\"_key\":\"http://example.net/afr\",\"title\":\"test " -"record four.\"}, > {\"_key\":\"http://example.org/aba\",\"title\":\"test " -"test test record five.\"}, > {\"_key\":\"http://example.com/rab\",\"title\":" -"\"test test test test record six.\"}, > {\"_key\":\"http://example.net/atv\"," -"\"title\":\"test test test record seven.\"}, > {\"_key\":\"http://example." -"org/gat\",\"title\":\"test test record eight.\"}, > {\"_key\":\"http://" -"example.com/vdw\",\"title\":\"test test record nine.\"}, > ] " -"[[0,1294292495.93593,2.202904311],9]" -msgstr "" -"> load --table Site > [ > {\"_key\":\"http://example.org/\",\"title\":\"This " -"is test record 1!\"}, > {\"_key\":\"http://example.net/\",\"title\":\"test " -"record 2.\"}, > {\"_key\":\"http://example.com/\",\"title\":\"test test " -"record three.\"}, > {\"_key\":\"http://example.net/afr\",\"title\":\"test " -"record four.\"}, > {\"_key\":\"http://example.org/aba\",\"title\":\"test " -"test test record five.\"}, > {\"_key\":\"http://example.com/rab\",\"title\":" -"\"test test test test record six.\"}, > {\"_key\":\"http://example.net/atv\"," -"\"title\":\"test test test record seven.\"}, > {\"_key\":\"http://example." -"org/gat\",\"title\":\"test test record eight.\"}, > {\"_key\":\"http://" -"example.com/vdw\",\"title\":\"test test record nine.\"}, > ] " -"[[0,1294292495.93593,2.202904311],9]" +#: ../../../source/tutorial/tutorial04.txt:37 +msgid "scorerを利用したソート" +msgstr "scorerを利用したソート" -#: ../source/example/tutorial01-8.log:262 +#: ../source/example/tutorial03-1.log:27 msgid "" -"> select --table Site [[0,1294292498.33981,0.000163623],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" -"example.org/\",\"This is test record 1!\"],[2,\"http://example.net/\",\"test " -"record 2.\"],[3,\"http://example.com/\",\"test test record three.\"],[4," -"\"http://example.net/afr\",\"test record four.\"],[5,\"http://example.org/aba" -"\",\"test test test record five.\"],[6,\"http://example.com/rab\",\"test " -"test test test record six.\"],[7,\"http://example.net/atv\",\"test test test " -"record seven.\"],[8,\"http://example.org/gat\",\"test test record eight.\"]," -"[9,\"http://example.com/vdw\",\"test test record nine.\"]]]]" +"> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820985.62521,0.057448585],true] > column_create --table Type --name " +"number --type Int32 [[0,1308820985.88435,0.0506424],true] > column_create --" +"table Type --name float --type Float [[0,1308820986.13667,0.06274076],true] " +"> column_create --table Type --name string --type ShortText > column_create " +"--table Type --name time --type Time [[0,1308820986.40111,0.207566663],true] " +"[[0,1308820986.60872,0.060231324],true] > load --table Type > [{\"_key\":" +"\"sample\",\"number\":12345,\"float\":42.195,\"string\":\"GROONGA\",\"time" +"\":1234567890.12}] [[0,1308820986.87067,0.202168318],1] > select --table " +"Type [[0,1308820987.27451,0.000171948],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"time\",\"Time\"],[\"string\",\"ShortText\"],[\"number\"," +"\"Int32\"],[\"float\",\"Float\"]],[1,\"sample\",1234567890.12,\"GROONGA" +"\",12345,42.195]]]]" msgstr "" -"> select --table Site [[0,1294292498.33981,0.000163623],[[[9],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" -"example.org/\",\"This is test record 1!\"],[2,\"http://example.net/\",\"test " -"record 2.\"],[3,\"http://example.com/\",\"test test record three.\"],[4," -"\"http://example.net/afr\",\"test record four.\"],[5,\"http://example.org/aba" -"\",\"test test test record five.\"],[6,\"http://example.com/rab\",\"test " -"test test test record six.\"],[7,\"http://example.net/atv\",\"test test test " -"record seven.\"],[8,\"http://example.org/gat\",\"test test record eight.\"]," -"[9,\"http://example.com/vdw\",\"test test record nine.\"]]]]" +"> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820985.62521,0.057448585],true] > column_create --table Type --name " +"number --type Int32 [[0,1308820985.88435,0.0506424],true] > column_create --" +"table Type --name float --type Float [[0,1308820986.13667,0.06274076],true] " +"> column_create --table Type --name string --type ShortText > column_create " +"--table Type --name time --type Time [[0,1308820986.40111,0.207566663],true] " +"[[0,1308820986.60872,0.060231324],true] > load --table Type > [{\"_key\":" +"\"sample\",\"number\":12345,\"float\":42.195,\"string\":\"GROONGA\",\"time" +"\":1234567890.12}] [[0,1308820986.87067,0.202168318],1] > select --table " +"Type [[0,1308820987.27451,0.000171948],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"time\",\"Time\"],[\"string\",\"ShortText\"],[\"number\"," +"\"Int32\"],[\"float\",\"Float\"]],[1,\"sample\",1234567890.12,\"GROONGA" +"\",12345,42.195]]]]" -#: ../source/example/tutorial01-9.log:280 +#: ../../../source/tutorial/tutorial06.txt:60 msgid "" -"> select --table Site --query _id:1 [[0,1294292498.54636,0.000363938],[[[1]," -"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1," -"\"http://example.org/\",\"This is test record 1!\"]]]]" +"groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与する" +"ことができます。タグ検索は、その1例にすぎません。" msgstr "" -"> select --table Site --query _id:1 [[0,1294292498.54636,0.000363938],[[[1]," -"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1," -"\"http://example.org/\",\"This is test record 1!\"]]]]" +"groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与する" +"ことができます。タグ検索は、その1例にすぎません。" -#: ../source/example/tutorial02-1.log:52 +#: ../../../source/tutorial/tutorial04.txt:42 msgid "" -"% groonga -c > status [[0,1294292493.17513,3.4655e-05],{\"alloc_count\":466," -"\"starttime\":1294292404,\"uptime\":89,\"version\":\"1.0.6-10-gba9df76\"," -"\"n_queries\":105,\"cache_hit_rate\":0.0,\"command_version\":1," -"\"default_command_version\":1,\"max_command_version\":2}] > ctrl-d %" +"filterパラメータと同様に、 JavaScriptの式に似たな文法で様々な条件を指定するこ" +"とができます。" msgstr "" -"% groonga -c > status [[0,1294292493.17513,3.4655e-05],{\"alloc_count\":466," -"\"starttime\":1294292404,\"uptime\":89,\"version\":\"1.0.6-10-gba9df76\"," -"\"n_queries\":105,\"cache_hit_rate\":0.0,\"command_version\":1," -"\"default_command_version\":1,\"max_command_version\":2}] > ctrl-d %" - -#: ../source/example/tutorial02-2.log:74 -msgid "% groonga -c > shutdown %" -msgstr "% groonga -c > shutdown %" +"filterパラメータと同様に、 JavaScriptの式に似たな文法で様々な条件を指定するこ" +"とができます。" -#: ../source/example/tutorial02-3.log:111 +#: ../../../source/tutorial/tutorial01.txt:145 msgid "" -"http://[IPまたはホスト名]:[ポート番号]/d/status 実行される処理: > status " -"[[0,1294292493.37913,2.8547e-05],{\"alloc_count\":466,\"starttime" -"\":1294292404,\"uptime\":89,\"version\":\"1.0.6-10-gba9df76\",\"n_queries" -"\":105,\"cache_hit_rate\":0.0,\"command_version\":1,\"default_command_version" -"\":1,\"max_command_version\":2}] http://[IPまたはホスト名]:[ポート番号]/d/" -"select?table=Site&query=title:@this 実行される処理: > select --table Site --" -"query title:@this [[0,1294292493.58185,6.4853e-05],[[[1],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" -"example.org/\",\"This is test record 1!\"]]]]" +"全文検索を行う場合は、まず語彙表を作成する必要があります。 語彙表とは、文書の" +"中にある単語が主キーとなるテーブルです。 ここでは、ShortText型の主キー値を持" +"つ、'Terms'という名前のテーブルを作成しました。" msgstr "" -"http://[IPまたはホスト名]:[ポート番号]/d/status 実行される処理: > status " -"[[0,1294292493.37913,2.8547e-05],{\"alloc_count\":466,\"starttime" -"\":1294292404,\"uptime\":89,\"version\":\"1.0.6-10-gba9df76\",\"n_queries" -"\":105,\"cache_hit_rate\":0.0,\"command_version\":1,\"default_command_version" -"\":1,\"max_command_version\":2}] http://[IPまたはホスト名]:[ポート番号]/d/" -"select?table=Site&query=title:@this 実行される処理: > select --table Site --" -"query title:@this [[0,1294292493.58185,6.4853e-05],[[[1],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" -"example.org/\",\"This is test record 1!\"]]]]" +"全文検索を行う場合は、まず語彙表を作成する必要があります。 語彙表とは、文書の" +"中にある単語が主キーとなるテーブルです。 ここでは、ShortText型の主キー値を持" +"つ、'Terms'という名前のテーブルを作成しました。" -#: ../source/example/tutorial03-1.log:27 +#: ../../../source/tutorial/tutorial02.txt:68 msgid "" -"> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292421.12314,0.058638912],true] > column_create --table Type --name " -"number --type Int32 [[0,1294292421.38263,0.049456503],true] > column_create " -"--table Type --name float --type Float [[0,1294292421.63286,0.049592924]," -"true] > column_create --table Type --name string --type ShortText > " -"column_create --table Type --name time --type Time > load --table Type > " -"[{\"_key\":\"sample\",\"number\":12345,\"float\":42.195,\"string\":\"GROONGA" -"\",\"time\":1234567890.12}] > select --table Type" +"groongaをHTTP経由で利用したい場合には、HTTPプロトコルモードで起動します。" msgstr "" -"> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292421.12314,0.058638912],true] > column_create --table Type --name " -"number --type Int32 [[0,1294292421.38263,0.049456503],true] > column_create " -"--table Type --name float --type Float [[0,1294292421.63286,0.049592924]," -"true] > column_create --table Type --name string --type ShortText > " -"column_create --table Type --name time --type Time > load --table Type > " -"[{\"_key\":\"sample\",\"number\":12345,\"float\":42.195,\"string\":\"GROONGA" -"\",\"time\":1234567890.12}] > select --table Type" +"groongaをHTTP経由で利用したい場合には、HTTPプロトコルモードで起動します。" -#: ../source/example/tutorial03-2.log:66 +#: ../../../source/tutorial/tutorial01.txt:49 msgid "" -"> column_create --table Site --name link --type Site " -"[[0,1294292421.88324,1.758091494],true] [[0,1294292423.64139,0.096956537]," -"true] [[0,1294292423.73839,0.001444368],1] [[0,1294292423.73987,0.000161184]," -"[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"time\",\"Time\"]," -"[\"string\",\"ShortText\"],[\"number\",\"Int32\"],[\"float\",\"Float\"]],[1," -"\"sample\",1234567890.0,\"GROONGA\",12345,42.195]]]] " -"[[0,1294292423.74005,0.057032974],true] > load --table Site > [{\"_key\":" -"\"http://example.org/\",\"link\":\"http://example.net/\"}] " -"[[0,1294292423.99784,0.200585743],1] > select --table Site --output_columns " -"_key,title,link._key,link.title --query title:@this " -"[[0,1294292424.39909,0.000545272],[[[1],[[\"_key\",\"ShortText\"],[\"title\"," -"\"ShortText\"],[\"link._key\",\"ShortText\"],[\"link.title\",\"ShortText\"]]," -"[\"http://example.org/\",\"This is test record 1!\",\"http://example.net/\"," -"\"test record 2.\"]]]]" +"コマンドを指定しない場合には、対話モードに入ります。 対話モードでは、標準入力" +"からコマンドを読み込み、順次実行します。 本チュートリアルでは、対話モードを主" +"に使用します。" msgstr "" -"> column_create --table Site --name link --type Site " -"[[0,1294292421.88324,1.758091494],true] [[0,1294292423.64139,0.096956537]," -"true] [[0,1294292423.73839,0.001444368],1] [[0,1294292423.73987,0.000161184]," -"[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"time\",\"Time\"]," -"[\"string\",\"ShortText\"],[\"number\",\"Int32\"],[\"float\",\"Float\"]],[1," -"\"sample\",1234567890.0,\"GROONGA\",12345,42.195]]]] " -"[[0,1294292423.74005,0.057032974],true] > load --table Site > [{\"_key\":" -"\"http://example.org/\",\"link\":\"http://example.net/\"}] " -"[[0,1294292423.99784,0.200585743],1] > select --table Site --output_columns " -"_key,title,link._key,link.title --query title:@this " -"[[0,1294292424.39909,0.000545272],[[[1],[[\"_key\",\"ShortText\"],[\"title\"," -"\"ShortText\"],[\"link._key\",\"ShortText\"],[\"link.title\",\"ShortText\"]]," -"[\"http://example.org/\",\"This is test record 1!\",\"http://example.net/\"," -"\"test record 2.\"]]]]" +"コマンドを指定しない場合には、対話モードに入ります。 対話モードでは、標準入力" +"からコマンドを読み込み、順次実行します。 本チュートリアルでは、対話モードを主" +"に使用します。" -#: ../source/example/tutorial03-3.log:104 +#: ../source/example/tutorial04-7.log:168 msgid "" -"> column_create --table Site --name links --flags COLUMN_VECTOR --type Site " -"[[0,1294292424.60248,0.062420461],true] > load --table Site > [{\"_key\":" -"\"http://example.org/\",\"links\":[\"http://example.net/\",\"http://example." -"org/\",\"http://example.com/\"]}] [[0,1294292424.86574,0.200708196],1] > " -"select --table Site --output_columns _key,title,links._key,links.title --" -"query title:@this [[0,1294292425.26717,0.000522302],[[[1],[[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"links._key\",\"ShortText\"]," -"[\"links.title\",\"ShortText\"]],[\"http://example.org/\",\"This is test " -"record 1!\",[\"http://example.net/\",\"http://example.org/\",\"http://" -"example.com/\"],[\"test record 2.\",\"This is test record 1!\",\"test test " -"record three.\"]]]]]" +"> select --table Site --output_columns _key,location --filter 'geo_in_circle" +"(location, \"128515259x503187188\", 5000)' [[0,1308820950.07638,0.000388003]," +"[[[1],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" +"example.org/\",\"128452975x503157902\"]]]]" msgstr "" -"> column_create --table Site --name links --flags COLUMN_VECTOR --type Site " -"[[0,1294292424.60248,0.062420461],true] > load --table Site > [{\"_key\":" -"\"http://example.org/\",\"links\":[\"http://example.net/\",\"http://example." -"org/\",\"http://example.com/\"]}] [[0,1294292424.86574,0.200708196],1] > " -"select --table Site --output_columns _key,title,links._key,links.title --" -"query title:@this [[0,1294292425.26717,0.000522302],[[[1],[[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"links._key\",\"ShortText\"]," -"[\"links.title\",\"ShortText\"]],[\"http://example.org/\",\"This is test " -"record 1!\",[\"http://example.net/\",\"http://example.org/\",\"http://" -"example.com/\"],[\"test record 2.\",\"This is test record 1!\",\"test test " -"record three.\"]]]]]" +"> select --table Site --output_columns _key,location --filter 'geo_in_circle" +"(location, \"128515259x503187188\", 5000)' [[0,1308820950.07638,0.000388003]," +"[[[1],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" +"example.org/\",\"128452975x503157902\"]]]]" -#: ../source/example/tutorial04-1.log:22 +#: ../../../source/tutorial/tutorial05.txt:67 msgid "" -"> select --table Site --filter \"_id <= 1\" --output_columns _id,_key " -"[[0,1294292483.15552,0.000315671],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[1,\"http://example.org/\"]]]]" +"文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速で" +"す。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文" +"字列型を主キーとするテーブルを別途作成し、そのテーブルを型とするカラムを作成" +"します。" msgstr "" -"> select --table Site --filter \"_id <= 1\" --output_columns _id,_key " -"[[0,1294292483.15552,0.000315671],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[1,\"http://example.org/\"]]]]" +"文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速で" +"す。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文" +"字列型を主キーとするテーブルを別途作成し、そのテーブルを型とするカラムを作成" +"します。" -#: ../source/example/tutorial04-2.log:41 +#: ../../../source/tutorial/tutorial01.txt:94 +msgid "テーブルにレコードを挿入します。" +msgstr "テーブルにレコードを挿入します。" + +#: ../../../source/tutorial/tutorial03.txt:43 msgid "" -"> select --table Site --filter \"_id >= 4 && _id <= 6\" --output_columns _id," -"_key [[0,1294292483.35765,0.000332343],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[4,\"http://example.net/afr\"],[5,\"http://example.org/aba" -"\"],[6,\"http://example.com/rab\"]]]] > select --table Site --filter \"_id " -"<= 2 || _id >= 7\" --output_columns _id,_key " -"[[0,1294292483.55992,0.000325242],[[[5],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[1,\"http://example.org/\"],[2,\"http://example.net/\"],[7," -"\"http://example.net/atv\"],[8,\"http://example.org/gat\"],[9,\"http://" -"example.com/vdw\"]]]]" +"他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの" +"_keyカラムの値を代入する必要があります。" msgstr "" -"> select --table Site --filter \"_id >= 4 && _id <= 6\" --output_columns _id," -"_key [[0,1294292483.35765,0.000332343],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[4,\"http://example.net/afr\"],[5,\"http://example.org/aba" -"\"],[6,\"http://example.com/rab\"]]]] > select --table Site --filter \"_id " -"<= 2 || _id >= 7\" --output_columns _id,_key " -"[[0,1294292483.55992,0.000325242],[[[5],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"]],[1,\"http://example.org/\"],[2,\"http://example.net/\"],[7," -"\"http://example.net/atv\"],[8,\"http://example.org/gat\"],[9,\"http://" -"example.com/vdw\"]]]]" +"他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの" +"_keyカラムの値を代入する必要があります。" -#: ../source/example/tutorial04-3.log:66 +#: ../../../source/tutorial/tutorial10.txt:241 msgid "" -"> select --table Site --filter \"1\" --scorer \"_score = rand()\" --" -"output_columns _id,_key,_score --sortby _score " -"[[0,1294292483.76306,0.00050586],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"_score\",\"Int32\"]],[3,\"http://example.com/\",35005211]," -"[9,\"http://example.com/vdw\",278722862],[5,\"http://example.org/aba" -"\",294702567],[1,\"http://example.org/\",304089172],[7,\"http://example.net/" -"atv\",336465782],[4,\"http://example.net/afr\",521595368],[8,\"http://" -"example.org/gat\",861021530],[2,\"http://example.net/\",1303455736],[6," -"\"http://example.com/rab\",1726956429]]]] > select --table Site --filter " -"\"1\" --scorer \"_score = rand()\" --output_columns _id,_key,_score --sortby " -"_score [[0,1294292483.96835,0.000502458],[[[9],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"_score\",\"Int32\"]],[1,\"http://example.org/" -"\",233665123],[3,\"http://example.com/\",468703135],[7,\"http://example.net/" -"atv\",635723058],[4,\"http://example.net/afr\",1101513929],[9,\"http://" -"example.com/vdw\",1125898167],[6,\"http://example.com/rab\",1315634022],[8," -"\"http://example.org/gat\",1369133069],[5,\"http://example.org/aba" -"\",1801979802],[2,\"http://example.net/\",2145174067]]]]" +"Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルの" +"replied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値" +"を指定します。" msgstr "" -"> select --table Site --filter \"1\" --scorer \"_score = rand()\" --" -"output_columns _id,_key,_score --sortby _score " -"[[0,1294292483.76306,0.00050586],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"_score\",\"Int32\"]],[3,\"http://example.com/\",35005211]," -"[9,\"http://example.com/vdw\",278722862],[5,\"http://example.org/aba" -"\",294702567],[1,\"http://example.org/\",304089172],[7,\"http://example.net/" -"atv\",336465782],[4,\"http://example.net/afr\",521595368],[8,\"http://" -"example.org/gat\",861021530],[2,\"http://example.net/\",1303455736],[6," -"\"http://example.com/rab\",1726956429]]]] > select --table Site --filter " -"\"1\" --scorer \"_score = rand()\" --output_columns _id,_key,_score --sortby " -"_score [[0,1294292483.96835,0.000502458],[[[9],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"_score\",\"Int32\"]],[1,\"http://example.org/" -"\",233665123],[3,\"http://example.com/\",468703135],[7,\"http://example.net/" -"atv\",635723058],[4,\"http://example.net/afr\",1101513929],[9,\"http://" -"example.com/vdw\",1125898167],[6,\"http://example.com/rab\",1315634022],[8," -"\"http://example.org/gat\",1369133069],[5,\"http://example.org/aba" -"\",1801979802],[2,\"http://example.net/\",2145174067]]]]" +"Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルの" +"replied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値" +"を指定します。" #: ../source/example/tutorial04-4.log:107 msgid "" "> column_create --table Site --name location --type WGS84GeoPoint " -"[[0,1294292484.17389,0.064924593],true] > load --table Site > [ > {\"_key\":" +"[[0,1308820948.149,0.106673308],true] > load --table Site > [ > {\"_key\":" "\"http://example.org/\",\"location\":\"128452975x503157902\"} > {\"_key\":" "\"http://example.net/\",\"location\":\"128487316x502920929\"}, > ] " -"[[0,1294292484.43963,0.801132263],2] > select --table Site --query \"_id:1 " -"OR _id:2\" --output_columns _key,location [[0,1294292485.44153,0.000398502]," +"[[0,1308820948.45731,0.804828624],2] > select --table Site --query \"_id:1 " +"OR _id:2\" --output_columns _key,location [[0,1308820949.46367,0.000415883]," "[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" "example.org/\",\"128452975x503157902\"],[\"http://example.net/\"," "\"128487316x502920929\"]]]]" msgstr "" "> column_create --table Site --name location --type WGS84GeoPoint " -"[[0,1294292484.17389,0.064924593],true] > load --table Site > [ > {\"_key\":" +"[[0,1308820948.149,0.106673308],true] > load --table Site > [ > {\"_key\":" "\"http://example.org/\",\"location\":\"128452975x503157902\"} > {\"_key\":" "\"http://example.net/\",\"location\":\"128487316x502920929\"}, > ] " -"[[0,1294292484.43963,0.801132263],2] > select --table Site --query \"_id:1 " -"OR _id:2\" --output_columns _key,location [[0,1294292485.44153,0.000398502]," +"[[0,1308820948.45731,0.804828624],2] > select --table Site --query \"_id:1 " +"OR _id:2\" --output_columns _key,location [[0,1308820949.46367,0.000415883]," "[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" "example.org/\",\"128452975x503157902\"],[\"http://example.net/\"," "\"128487316x502920929\"]]]]" -#: ../source/example/tutorial04-5.log:136 -msgid "" -"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," -"location,_score --scorer '_score = geo_distance(location, " -"\"128515259x503187188\")' [[0,1294292485.64428,0.00042649],[[[2],[[\"_key\"," -"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," -"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" -"\",\"128487316x502920929\",6720]]]]" -msgstr "" -"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," -"location,_score --scorer '_score = geo_distance(location, " -"\"128515259x503187188\")' [[0,1294292485.64428,0.00042649],[[[2],[[\"_key\"," -"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," -"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" -"\",\"128487316x502920929\",6720]]]]" +#: ../../../source/tutorial/tutorial01.txt:27 +msgid "-nオプションは、データベースを作ることを示します。" +msgstr "-nオプションは、データベースを作ることを示します。" -#: ../source/example/tutorial04-6.log:151 +#: ../../../source/tutorial/tutorial10.txt:243 msgid "" -"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," -"location,_score --scorer '_score = geo_distance(location, " -"\"128515259x503187188\")' --sortby -_score [[0,1294292485.84748,0.000516522]," -"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\"," -"\"Int32\"]],[\"http://example.net/\",\"128487316x502920929\",6720],[\"http://" -"example.org/\",\"128452975x503157902\",2054]]]]" +"Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint" +"型です。この型での値の指定は、\"[緯度]x[経度]\"と記述して指定します。" msgstr "" -"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," -"location,_score --scorer '_score = geo_distance(location, " -"\"128515259x503187188\")' --sortby -_score [[0,1294292485.84748,0.000516522]," -"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\"," -"\"Int32\"]],[\"http://example.net/\",\"128487316x502920929\",6720],[\"http://" -"example.org/\",\"128452975x503157902\",2054]]]]" +"Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint" +"型です。この型での値の指定は、\"[緯度]x[経度]\"と記述して指定します。" -#: ../source/example/tutorial04-7.log:168 -msgid "" -"> select --table Site --output_columns _key,location --filter 'geo_in_circle" -"(location, \"128515259x503187188\", 5000)' [[0,1294292486.0507,0.000333268]," -"[[[1],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" -"example.org/\",\"128452975x503157902\"]]]]" -msgstr "" -"> select --table Site --output_columns _key,location --filter 'geo_in_circle" -"(location, \"128515259x503187188\", 5000)' [[0,1294292486.0507,0.000333268]," -"[[[1],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" -"example.org/\",\"128452975x503157902\"]]]]" +#: ../../../source/tutorial/tutorial02.txt:16 +msgid "groongaデーモンの起動" +msgstr "groongaデーモンの起動" -#: ../source/example/tutorial05-1.log:23 -msgid "" -"> table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292439.68952,0.086450272],true] > table_create --name SiteCountry --" -"flags TABLE_HASH_KEY --key_type ShortText [[0,1294292439.97679,0.049583906]," -"true] > column_create --table Site --name domain --flags COLUMN_SCALAR --" -"type SiteDomain [[0,1294292440.22716,0.04950764],true] > column_create --" -"table Site --name country --flags COLUMN_SCALAR --type SiteCountry " -"[[0,1294292440.47743,0.049554444],true] > load --table Site > [ > {\"_key\":" -"\"http://example.org/\",\"domain\":\".org\",\"country\":\"japan\"}, > {\"_key" -"\":\"http://example.net/\",\"domain\":\".net\",\"country\":\"brazil\"}, > " -"{\"_key\":\"http://example.com/\",\"domain\":\".com\",\"country\":\"japan" -"\"}, > {\"_key\":\"http://example.net/afr\",\"domain\":\".net\",\"country\":" -"\"usa\"}, > {\"_key\":\"http://example.org/aba\",\"domain\":\".org\"," -"\"country\":\"korea\"}, > {\"_key\":\"http://example.com/rab\",\"domain\":\"." -"com\",\"country\":\"china\"}, > {\"_key\":\"http://example.net/atv\",\"domain" -"\":\".net\",\"country\":\"china\"}, > {\"_key\":\"http://example.org/gat\"," -"\"domain\":\".org\",\"country\":\"usa\"}, > {\"_key\":\"http://example.com/" -"vdw\",\"domain\":\".com\",\"country\":\"japan\"} > ] " -"[[0,1294292440.72776,2.203006717],9]" -msgstr "" -"> table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292439.68952,0.086450272],true] > table_create --name SiteCountry --" -"flags TABLE_HASH_KEY --key_type ShortText [[0,1294292439.97679,0.049583906]," -"true] > column_create --table Site --name domain --flags COLUMN_SCALAR --" -"type SiteDomain [[0,1294292440.22716,0.04950764],true] > column_create --" -"table Site --name country --flags COLUMN_SCALAR --type SiteCountry " -"[[0,1294292440.47743,0.049554444],true] > load --table Site > [ > {\"_key\":" -"\"http://example.org/\",\"domain\":\".org\",\"country\":\"japan\"}, > {\"_key" -"\":\"http://example.net/\",\"domain\":\".net\",\"country\":\"brazil\"}, > " -"{\"_key\":\"http://example.com/\",\"domain\":\".com\",\"country\":\"japan" -"\"}, > {\"_key\":\"http://example.net/afr\",\"domain\":\".net\",\"country\":" -"\"usa\"}, > {\"_key\":\"http://example.org/aba\",\"domain\":\".org\"," -"\"country\":\"korea\"}, > {\"_key\":\"http://example.com/rab\",\"domain\":\"." -"com\",\"country\":\"china\"}, > {\"_key\":\"http://example.net/atv\",\"domain" -"\":\".net\",\"country\":\"china\"}, > {\"_key\":\"http://example.org/gat\"," -"\"domain\":\".org\",\"country\":\"usa\"}, > {\"_key\":\"http://example.com/" -"vdw\",\"domain\":\".com\",\"country\":\"japan\"} > ] " -"[[0,1294292440.72776,2.203006717],9]" +#: ../../../source/tutorial/tutorial10.txt:119 +msgid "ハッシュタグ" +msgstr "ハッシュタグ" -#: ../source/example/tutorial05-2.log:70 +#: ../../../source/tutorial/tutorial01.txt:101 msgid "" -"> select --table Site --limit 0 --drilldown domain " -"[[0,1294292443.13172,0.000424923],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]]]]" +"groongaでは、多くの場合テーブルを作成する際に主キーが必要となります。また、主" +"キーには型と、その格納方法を指定する必要があります。" msgstr "" -"> select --table Site --limit 0 --drilldown domain " -"[[0,1294292443.13172,0.000424923],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]]]]" +"groongaでは、多くの場合テーブルを作成する際に主キーが必要となります。また、主" +"キーには型と、その格納方法を指定する必要があります。" -#: ../source/example/tutorial05-3.log:83 +#: ../../../source/tutorial/tutorial01.txt:53 msgid "" -"> select --table Site --limit 0 --drilldown domain --" -"drilldown_output_columns _id,_key,_nsubrecs [[0,1294292443.33582,0.00027157]," -"[[[9],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" -"\"],[\"location\",\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site" -"\"],[\"domain\",\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[3],[[\"_id" -"\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[1,\".org" -"\",3],[2,\".net\",3],[3,\".com\",3]]]]" +"たとえば、statusというコマンドを実行してみましょう。statusコマンドは、groonga" +"の実行状態を返すコマンドです。" msgstr "" -"> select --table Site --limit 0 --drilldown domain --" -"drilldown_output_columns _id,_key,_nsubrecs [[0,1294292443.33582,0.00027157]," -"[[[9],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" -"\"],[\"location\",\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site" -"\"],[\"domain\",\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[3],[[\"_id" -"\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[1,\".org" -"\",3],[2,\".net\",3],[3,\".com\",3]]]]" +"たとえば、statusというコマンドを実行してみましょう。statusコマンドは、groonga" +"の実行状態を返すコマンドです。" -#: ../source/example/tutorial05-4.log:96 +#: ../source/example/tutorial06-7.log:214 msgid "" -"> select --table Site --limit 0 --drilldown domain,country " -"[[0,1294292443.53984,0.000373005],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]],[[5],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"japan\",3],[\"brazil\",1],[\"usa" -"\",2],[\"korea\",1],[\"china\",2]]]]" +"> select --table Site --filter 'geo_in_circle(location, " +"\"128515259x503187188\", 50000)' --output_columns _key,location,_score --" +"sortby '-geo_distance(location, \"128515259x503187188\")' --scorer '_score = " +"geo_distance(location, " +"\"128515259x503187188\")' [[0,1308820921.67976,0.00036066],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" msgstr "" -"> select --table Site --limit 0 --drilldown domain,country " -"[[0,1294292443.53984,0.000373005],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[3],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\".org\",3],[\".net\",3],[\".com\",3]],[[5],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"japan\",3],[\"brazil\",1],[\"usa" -"\",2],[\"korea\",1],[\"china\",2]]]]" +"> select --table Site --filter 'geo_in_circle(location, " +"\"128515259x503187188\", 50000)' --output_columns _key,location,_score --" +"sortby '-geo_distance(location, \"128515259x503187188\")' --scorer '_score = " +"geo_distance(location, " +"\"128515259x503187188\")' [[0,1308820921.67976,0.00036066],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" -#: ../source/example/tutorial05-5.log:109 -msgid "" -"> select --table Site --limit 0 --drilldown country --drilldown_sortby " -"_nsubrecs [[0,1294292443.74477,0.000352156],[[[9],[[\"_id\",\"UInt32\"]," -"[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"],[\"location\"," -"\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\"," -"\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText" -"\"],[\"_nsubrecs\",\"Int32\"]],[\"brazil\",1],[\"korea\",1],[\"usa\",2]," -"[\"china\",2],[\"japan\",3]]]]" +#: ../../../source/tutorial/tutorial04.txt:8 +msgid "さまざまな検索条件の指定" +msgstr "さまざまな検索条件の指定" + +#: ../../../source/tutorial/tutorial02.txt:79 +msgid "" +"コマンド実行後、http://[IPアドレスまたはホスト名]:[ポート番号]/ というURLにブ" +"ラウザからアクセスすると、HTML管理ツールが表示されます。ブラウザは、" +"JavaScriptの実行が有効になっている必要があります。" msgstr "" -"> select --table Site --limit 0 --drilldown country --drilldown_sortby " -"_nsubrecs [[0,1294292443.74477,0.000352156],[[[9],[[\"_id\",\"UInt32\"]," -"[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"],[\"location\"," -"\"WGS84GeoPoint\"],[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\"," -"\"SiteDomain\"],[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText" -"\"],[\"_nsubrecs\",\"Int32\"]],[\"brazil\",1],[\"korea\",1],[\"usa\",2]," -"[\"china\",2],[\"japan\",3]]]]" +"コマンド実行後、http://[IPアドレスまたはホスト名]:[ポート番号]/ というURLにブ" +"ラウザからアクセスすると、HTML管理ツールが表示されます。ブラウザは、" +"JavaScriptの実行が有効になっている必要があります。" -#: ../source/example/tutorial05-6.log:122 +#: ../../../source/tutorial/tutorial10.txt:134 msgid "" -"> select --table Site --limit 0 --drilldown country --drilldown_sortby " -"_nsubrecs --drilldown_limit 2 --drilldown_offset 2 " -"[[0,1294292443.94881,0.000324308],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\"usa\",2],[\"china\",2]]]]" +"ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地" +"「Users.location_str」、自己紹介文「Users.description」のインデックスになって" +"います。" msgstr "" -"> select --table Site --limit 0 --drilldown country --drilldown_sortby " -"_nsubrecs --drilldown_limit 2 --drilldown_offset 2 " -"[[0,1294292443.94881,0.000324308],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]," -"[\"links\",\"Site\"],[\"link\",\"Site\"],[\"domain\",\"SiteDomain\"]," -"[\"country\",\"SiteCountry\"]]],[[5],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\"usa\",2],[\"china\",2]]]]" +"ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地" +"「Users.location_str」、自己紹介文「Users.description」のインデックスになって" +"います。" -#: ../source/example/tutorial06-1.log:31 +#: ../../../source/tutorial/tutorial10.txt:245 msgid "" -"> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32 " -"[[0,1294292519.76797,0.049499306],true] > table_create --name Tag --flags " -"TABLE_HASH_KEY --key_type ShortText [[0,1294292520.01828,0.057850258],true] " -"> column_create --table Video --name title --flags COLUMN_SCALAR --type " -"ShortText [[0,1294292520.27693,0.050379447],true] > column_create --table " -"Video --name tags --flags COLUMN_VECTOR --type Tag " -"[[0,1294292520.52812,0.049635833],true] > column_create --table Tag --name " -"index_tags --flags COLUMN_INDEX --type Video --source tags " -"[[0,1294292520.77859,0.105692363],true] > load --table Video > [ > {\"_key" -"\":1,\"title\":\"Soccer 2010\",\"tags\":[\"Sports\",\"Soccer\"]}, > {\"_key" -"\":2,\"title\":\"Zenigata Kinjirou\",\"tags\":[\"Variety\",\"Money\"]}, > " -"{\"_key\":3,\"title\":\"groonga Demo\",\"tags\":[\"IT\",\"Server\",\"groonga" -"\"]}, > {\"_key\":4,\"title\":\"Moero!! Ultra Baseball\",\"tags\":[\"Sports" -"\",\"Baseball\"]}, > {\"_key\":5,\"title\":\"Hex Gone!\",\"tags\":[\"Variety" -"\",\"Quiz\"]}, > {\"_key\":6,\"title\":\"Pikonyan 1\",\"tags\":[\"Animation" -"\",\"Pikonyan\"]}, > {\"_key\":7,\"title\":\"Draw 8 Month\",\"tags\":" -"[\"Animation\",\"Raccoon\"]}, > {\"_key\":8,\"title\":\"K.O.\",\"tags\":" -"[\"Animation\",\"Music\"]} > ] [[0,1294292521.0851,2.002679112],8]" +"Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値の指定方法" +"は、マイクロ秒数の値を直接指定する方法のほかに、文字列で指定する方法もありま" +"す。\"年/月/日 時:分:秒\"というフォーマットで記述することで、データロードの際" +"に文字列からキャストされ、マイクロ秒数の値が格納されます。" msgstr "" -"> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32 " -"[[0,1294292519.76797,0.049499306],true] > table_create --name Tag --flags " -"TABLE_HASH_KEY --key_type ShortText [[0,1294292520.01828,0.057850258],true] " -"> column_create --table Video --name title --flags COLUMN_SCALAR --type " -"ShortText [[0,1294292520.27693,0.050379447],true] > column_create --table " -"Video --name tags --flags COLUMN_VECTOR --type Tag " -"[[0,1294292520.52812,0.049635833],true] > column_create --table Tag --name " -"index_tags --flags COLUMN_INDEX --type Video --source tags " -"[[0,1294292520.77859,0.105692363],true] > load --table Video > [ > {\"_key" -"\":1,\"title\":\"Soccer 2010\",\"tags\":[\"Sports\",\"Soccer\"]}, > {\"_key" -"\":2,\"title\":\"Zenigata Kinjirou\",\"tags\":[\"Variety\",\"Money\"]}, > " -"{\"_key\":3,\"title\":\"groonga Demo\",\"tags\":[\"IT\",\"Server\",\"groonga" -"\"]}, > {\"_key\":4,\"title\":\"Moero!! Ultra Baseball\",\"tags\":[\"Sports" -"\",\"Baseball\"]}, > {\"_key\":5,\"title\":\"Hex Gone!\",\"tags\":[\"Variety" -"\",\"Quiz\"]}, > {\"_key\":6,\"title\":\"Pikonyan 1\",\"tags\":[\"Animation" -"\",\"Pikonyan\"]}, > {\"_key\":7,\"title\":\"Draw 8 Month\",\"tags\":" -"[\"Animation\",\"Raccoon\"]}, > {\"_key\":8,\"title\":\"K.O.\",\"tags\":" -"[\"Animation\",\"Music\"]} > ] [[0,1294292521.0851,2.002679112],8]" +"Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値の指定方法" +"は、マイクロ秒数の値を直接指定する方法のほかに、文字列で指定する方法もありま" +"す。\"年/月/日 時:分:秒\"というフォーマットで記述することで、データロードの際" +"に文字列からキャストされ、マイクロ秒数の値が格納されます。" + +#: ../../../source/tutorial/tutorial01.txt:99 +msgid ":doc:`/commands/table_create` コマンドを使用してテーブルを作成します。" +msgstr ":doc:`/commands/table_create` コマンドを使用してテーブルを作成します。" #: ../source/example/tutorial06-2.log:81 msgid "" "> select --table Video --query tags:@Variety --output_columns _key,title " -"[[0,1294292523.28874,0.000475294],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.02932,0.000242814],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[2,\"Zenigata Kinjirou\"],[5,\"Hex Gone!\"]]]] > select --" "table Video --query tags:@Sports --output_columns _key,title " -"[[0,1294292523.49078,0.000311404],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.23053,0.000231493],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[1,\"Soccer 2010\"],[4,\"Moero!! Ultra Baseball\"]]]] > " "select --table Video --query tags:@Animation --output_columns _key,title " -"[[0,1294292523.69268,0.000299391],[[[3],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.43258,0.000233013],[[[3],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[6,\"Pikonyan 1\"],[7,\"Draw 8 Month\"],[8,\"K.O.\"]]]]" msgstr "" "> select --table Video --query tags:@Variety --output_columns _key,title " -"[[0,1294292523.28874,0.000475294],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.02932,0.000242814],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[2,\"Zenigata Kinjirou\"],[5,\"Hex Gone!\"]]]] > select --" "table Video --query tags:@Sports --output_columns _key,title " -"[[0,1294292523.49078,0.000311404],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.23053,0.000231493],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[1,\"Soccer 2010\"],[4,\"Moero!! Ultra Baseball\"]]]] > " "select --table Video --query tags:@Animation --output_columns _key,title " -"[[0,1294292523.69268,0.000299391],[[[3],[[\"_key\",\"UInt32\"],[\"title\"," +"[[0,1308820916.43258,0.000233013],[[[3],[[\"_key\",\"UInt32\"],[\"title\"," "\"ShortText\"]],[6,\"Pikonyan 1\"],[7,\"Draw 8 Month\"],[8,\"K.O.\"]]]]" -#: ../source/example/tutorial06-3.log:109 +#: ../../../source/tutorial/tutorial10.txt:128 msgid "" -"> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292523.89479,0.074787397],true] > column_create --table User --name " -"username --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292524.1704,0.050363618],true] > column_create --table User --name " -"friends --flags COLUMN_VECTOR --type User [[0,1294292524.42158,0.049597919]," -"true] > column_create --table User --name index_friends --flags COLUMN_INDEX " -"--type User --source friends [[0,1294292524.67201,0.104947934],true] > load " -"--table User > [ > {\"_key\":\"ken\",\"username\":\"健作\",\"friends\":" -"[\"taro\",\"jiro\",\"tomo\",\"moritapo\"]} > {\"_key\":\"moritapo\"," -"\"username\":\"森田\",\"friends\":[\"ken\",\"tomo\"]} > {\"_key\":\"taro\"," -"\"username\":\"ぐるんが太郎\",\"friends\":[\"jiro\",\"tomo\"]} > {\"_key\":" -"\"jiro\",\"username\":\"ぐるんが次郎\",\"friends\":[\"taro\",\"tomo\"]} > " -"{\"_key\":\"tomo\",\"username\":\"トモちゃん\",\"friends\":[\"ken\",\"hana" -"\"]} > {\"_key\":\"hana\",\"username\":\"花子\",\"friends\":[\"ken\",\"taro" -"\",\"jiro\",\"moritapo\",\"tomo\"]} > ] [[0,1294292524.97774,1.60223701],6]" +"ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納す" +"るテーブルです。" msgstr "" -"> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292523.89479,0.074787397],true] > column_create --table User --name " -"username --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292524.1704,0.050363618],true] > column_create --table User --name " -"friends --flags COLUMN_VECTOR --type User [[0,1294292524.42158,0.049597919]," -"true] > column_create --table User --name index_friends --flags COLUMN_INDEX " -"--type User --source friends [[0,1294292524.67201,0.104947934],true] > load " -"--table User > [ > {\"_key\":\"ken\",\"username\":\"健作\",\"friends\":" -"[\"taro\",\"jiro\",\"tomo\",\"moritapo\"]} > {\"_key\":\"moritapo\"," -"\"username\":\"森田\",\"friends\":[\"ken\",\"tomo\"]} > {\"_key\":\"taro\"," -"\"username\":\"ぐるんが太郎\",\"friends\":[\"jiro\",\"tomo\"]} > {\"_key\":" -"\"jiro\",\"username\":\"ぐるんが次郎\",\"friends\":[\"taro\",\"tomo\"]} > " -"{\"_key\":\"tomo\",\"username\":\"トモちゃん\",\"friends\":[\"ken\",\"hana" -"\"]} > {\"_key\":\"hana\",\"username\":\"花子\",\"friends\":[\"ken\",\"taro" -"\",\"jiro\",\"moritapo\",\"tomo\"]} > ] [[0,1294292524.97774,1.60223701],6]" +"ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納す" +"るテーブルです。" -#: ../source/example/tutorial06-4.log:150 +#: ../../../source/tutorial/tutorial01.txt:211 +msgid "_keyでも検索してみましょう。" +msgstr "_keyでも検索してみましょう。" + +#: ../../../source/tutorial/tutorial05.txt:61 msgid "" -"> select --table User --query friends:@tomo --output_columns _key,username " -"[[0,1294292526.78097,0.000456954],[[[5],[[\"_key\",\"ShortText\"],[\"username" -"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"jiro\"," -"\"ぐるんが次郎\"],[\"moritapo\",\"森田\"],[\"hana\",\"花子\"]]]] > select --" -"table User --query friends:@jiro --output_columns _key,username " -"[[0,1294292526.9838,0.000304224],[[[3],[[\"_key\",\"ShortText\"],[\"username" -"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"hana\"," -"\"花子\"]]]]" +"ドリルダウン結果は、デフォルトでは10件のみ表示されます。drilldown_offsetパラ" +"メータと、drilldown_limitパラメータによって、offsetとlimitを指定することがで" +"きます。" msgstr "" -"> select --table User --query friends:@tomo --output_columns _key,username " -"[[0,1294292526.78097,0.000456954],[[[5],[[\"_key\",\"ShortText\"],[\"username" -"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"jiro\"," -"\"ぐるんが次郎\"],[\"moritapo\",\"森田\"],[\"hana\",\"花子\"]]]] > select --" -"table User --query friends:@jiro --output_columns _key,username " -"[[0,1294292526.9838,0.000304224],[[[3],[[\"_key\",\"ShortText\"],[\"username" -"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"hana\"," -"\"花子\"]]]]" +"ドリルダウン結果は、デフォルトでは10件のみ表示されます。drilldown_offsetパラ" +"メータと、drilldown_limitパラメータによって、offsetとlimitを指定することがで" +"きます。" -#: ../source/example/tutorial06-5.log:166 +#: ../../../source/tutorial/tutorial01.txt:138 +msgid "COLUMN_SCALARについては、通常のカラムであることを示しています。" +msgstr "COLUMN_SCALARについては、通常のカラムであることを示しています。" + +#: ../source/example/tutorial01-17.log:423 msgid "" -"> select --table User --limit 0 --drilldown friends " -"[[0,1294292527.18622,0.000269477],[[[6],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"username\",\"ShortText\"],[\"index_friends\",\"User\"]," -"[\"friends\",\"User\"]]],[[6],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," -"\"Int32\"]],[\"taro\",3],[\"jiro\",3],[\"tomo\",5],[\"moritapo\",2],[\"ken" -"\",3],[\"hana\",1]]]]" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score,_id [[0,1308820936.3086,0.000588846],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " +"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," +"\"test test record three.\"],[8,2,\"test test record eight.\"],[9,2,\"test " +"test record nine.\"],[5,3,\"test test test record five.\"],[7,3,\"test test " +"test record seven.\"],[6,4,\"test test test test record six.\"]]]]" msgstr "" -"> select --table User --limit 0 --drilldown friends " -"[[0,1294292527.18622,0.000269477],[[[6],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"username\",\"ShortText\"],[\"index_friends\",\"User\"]," -"[\"friends\",\"User\"]]],[[6],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," -"\"Int32\"]],[\"taro\",3],[\"jiro\",3],[\"tomo\",5],[\"moritapo\",2],[\"ken" -"\",3],[\"hana\",1]]]]" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score,_id [[0,1308820936.3086,0.000588846],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " +"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," +"\"test test record three.\"],[8,2,\"test test record eight.\"],[9,2,\"test " +"test record nine.\"],[5,3,\"test test test record five.\"],[7,3,\"test test " +"test record seven.\"],[6,4,\"test test test test record six.\"]]]]" -#: ../source/example/tutorial06-6.log:184 +#: ../../../source/tutorial/tutorial06.txt:82 msgid "" -"> table_create --name GeoIndex --flags TABLE_HASH_KEY --key_type " -"WGS84GeoPoint [[0,1295945106.95941,0.042948258],true] > column_create --" -"table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source " -"location [[0,1295945107.20325,0.090239769],true] > load --table Site > [ > " -"{\"_key\":\"http://example.org/\",\"location\":\"128452975x503157902\"} > " -"{\"_key\":\"http://example.net/\",\"location\":\"128487316x502920929\"}, > ] " -"[[0,1295945107.49464,0.801677814],2] > select --table Site --filter " -"'geo_in_circle(location, \"128515259x503187188\", 5000)' --output_columns " -"_key,location [[0,1295945108.49712,0.000941181],[[[1],[[\"_key\",\"ShortText" -"\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://example.org/\"," -"\"128452975x503157902\"]]]]" +"指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。" msgstr "" -"> table_create --name GeoIndex --flags TABLE_HASH_KEY --key_type " -"WGS84GeoPoint [[0,1295945106.95941,0.042948258],true] > column_create --" -"table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source " -"location [[0,1295945107.20325,0.090239769],true] > load --table Site > [ > " -"{\"_key\":\"http://example.org/\",\"location\":\"128452975x503157902\"} > " -"{\"_key\":\"http://example.net/\",\"location\":\"128487316x502920929\"}, > ] " -"[[0,1295945107.49464,0.801677814],2] > select --table Site --filter " -"'geo_in_circle(location, \"128515259x503187188\", 5000)' --output_columns " -"_key,location [[0,1295945108.49712,0.000941181],[[[1],[[\"_key\",\"ShortText" -"\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://example.org/\"," -"\"128452975x503157902\"]]]]" +"指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。" -#: ../source/example/tutorial06-7.log:214 +#: ../../../source/tutorial/tutorial01.txt:160 +msgid "全文検索用のインデックスカラムの作成" +msgstr "全文検索用のインデックスカラムの作成" + +#: ../../../source/tutorial/tutorial02.txt:32 +msgid "デーモンモードで起動後、プロセス番号が表示されます。" +msgstr "デーモンモードで起動後、プロセス番号が表示されます。" + +#: ../../../source/tutorial/tutorial02.txt:82 +msgid "HTTPでのコマンド実行" +msgstr "HTTPでのコマンド実行" + +#: ../../../source/tutorial/tutorial04.txt:97 +msgid "geo_distance関数は、_scoreを通じてソートでも用いることができます。" +msgstr "geo_distance関数は、_scoreを通じてソートでも用いることができます。" + +#: ../../../source/tutorial/tutorial10.txt:62 +msgid "フォローしているユーザーの一覧" +msgstr "フォローしているユーザーの一覧" + +#: ../../../source/tutorial/tutorial10.txt:463 msgid "" -"> select --table Site --filter 'geo_in_circle(location, " -"\"128515259x503187188\", 50000)' --output_columns _key,location,_score --" -"sortby '-geo_distance(location, \"128515259x503187188\")' --scorer '_score = " -"geo_distance(location, " -"\"128515259x503187188\")' [[0,1301213651.42956,0.000757634],[[[2],[[\"_key\"," -"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," -"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" -"\",\"128487316x502920929\",6720]]]]" +"「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグ" +"でドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに" +"「#travel」が1つあることがわかります。" msgstr "" -"> select --table Site --filter 'geo_in_circle(location, " -"\"128515259x503187188\", 50000)' --output_columns _key,location,_score --" -"sortby '-geo_distance(location, \"128515259x503187188\")' --scorer '_score = " -"geo_distance(location, " -"\"128515259x503187188\")' [[0,1301213651.42956,0.000757634],[[[2],[[\"_key\"," -"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," -"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" -"\",\"128487316x502920929\",6720]]]]" +"「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグ" +"でドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに" +"「#travel」が1つあることがわかります。" -#: ../source/example/tutorial07-1.log:32 +#: ../../../source/tutorial/tutorial01.txt:162 msgid "" -"> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292405.5139,0.046640501],true] > column_create --table Blog1 --name " -"title --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292405.76135,0.05035077],true] > column_create --table Blog1 --name " -"message --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292406.01251,0.049535938],true] > table_create --name IndexBlog1 --" -"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " -"TokenBigram [[0,1294292406.2629,0.040450231],true] > column_create --table " -"IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type " -"Blog1 --source title [[0,1294292406.50413,0.089260402],true] > column_create " -"--table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --" -"type Blog1 --source message [[0,1294292406.7942,0.116405104],true] > load --" -"table Blog1 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\",\"message\":" -"\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball result\"," -"\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":\"grn3\"," -"\"title\":\"groonga message\",\"message\":\"none\"} > ] " -"[[0,1294292407.11144,1.001433691],3]" +"Siteテーブルのtitleカラムを全文検索の対象としたいとしましょう。その場合には、" +"語彙表にインデックス型のカラムを作成します。" msgstr "" -"> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292405.5139,0.046640501],true] > column_create --table Blog1 --name " -"title --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292405.76135,0.05035077],true] > column_create --table Blog1 --name " -"message --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292406.01251,0.049535938],true] > table_create --name IndexBlog1 --" -"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " -"TokenBigram [[0,1294292406.2629,0.040450231],true] > column_create --table " -"IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type " -"Blog1 --source title [[0,1294292406.50413,0.089260402],true] > column_create " -"--table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --" -"type Blog1 --source message [[0,1294292406.7942,0.116405104],true] > load --" -"table Blog1 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\",\"message\":" -"\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball result\"," -"\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":\"grn3\"," -"\"title\":\"groonga message\",\"message\":\"none\"} > ] " -"[[0,1294292407.11144,1.001433691],3]" +"Siteテーブルのtitleカラムを全文検索の対象としたいとしましょう。その場合には、" +"語彙表にインデックス型のカラムを作成します。" -#: ../source/example/tutorial07-2.log:75 +#: ../../../source/tutorial/tutorial10.txt:107 +msgid "コメントを書いたユーザー" +msgstr "コメントを書いたユーザー" + +#: ../../../source/tutorial/tutorial01.txt:19 +msgid "DBの作成" +msgstr "DBの作成" + +#: ../../../source/tutorial/tutorial07.txt:55 msgid "" -"> select --table Blog1 --match_columns title||message --query groonga " -"[[0,1294292408.31388,0.000823528],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," -"\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" -"\",\"none\"],[2,\"grn2\",\"baseball result\",\"rakutan eggs 4 - 4 groonga " -"moritars\"]]]] > select --table Blog1 --match_columns title||message --query " -"message [[0,1294292408.5178,0.000566064],[[[2],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," -"\"grn3\",\"groonga message\",\"none\"],[1,\"grn1\",\"groonga test\"," -"\"groonga message\"]]]] > select --table Blog1 --match_columns title --query " -"message [[0,1294292408.72074,0.0004798],[[[1],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," -"\"grn3\",\"groonga message\",\"none\"]]]]" +"内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックス" +"が共通になっており、インデックスカラムが1つしかありません。" msgstr "" -"> select --table Blog1 --match_columns title||message --query groonga " -"[[0,1294292408.31388,0.000823528],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," -"\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," -"\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" -"\",\"none\"],[2,\"grn2\",\"baseball result\",\"rakutan eggs 4 - 4 groonga " -"moritars\"]]]] > select --table Blog1 --match_columns title||message --query " -"message [[0,1294292408.5178,0.000566064],[[[2],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," -"\"grn3\",\"groonga message\",\"none\"],[1,\"grn1\",\"groonga test\"," -"\"groonga message\"]]]] > select --table Blog1 --match_columns title --query " -"message [[0,1294292408.72074,0.0004798],[[[1],[[\"_id\",\"UInt32\"],[\"_key" -"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," -"\"grn3\",\"groonga message\",\"none\"]]]]" +"内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックス" +"が共通になっており、インデックスカラムが1つしかありません。" -#: ../source/example/tutorial07-3.log:100 +#: ../../../source/tutorial/tutorial01.txt:251 msgid "" -"> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292408.92333,0.107518903],true] > column_create --table Blog2 --name " -"title --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292409.23168,0.050369538],true] > column_create --table Blog2 --name " -"message --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292409.48288,0.049530167],true] > table_create --name IndexBlog2 --" -"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " -"TokenBigram [[0,1294292409.73325,0.04885075],true] > column_create --table " -"IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION " -"--type Blog2 --source title,message [[0,1294292409.98288,0.105489516],true] " -"> load --table Blog2 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\"," -"\"message\":\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball " -"result\",\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":" -"\"grn3\",\"title\":\"groonga message\",\"message\":\"none\"} > ] " -"[[0,1294292410.28918,1.001414874],3]" +"groongaの検索結果には、「_score」という名前のカラムが追加されています。このカ" +"ラムは、全文検索の条件が合致する文書ほど高い数値が入ります。" +msgstr "" +"groongaの検索結果には、「_score」という名前のカラムが追加されています。このカ" +"ラムは、全文検索の条件が合致する文書ほど高い数値が入ります。" + +#: ../../../source/tutorial/tutorial03.txt:35 +msgid "テーブル型" +msgstr "テーブル型" + +#: ../../../source/tutorial/tutorial07.txt:15 +msgid "複数のカラムを対象とした全文検索" +msgstr "複数のカラムを対象とした全文検索" + +#: ../source/example/tutorial01-16.log:410 +msgid "" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score [[0,1308820936.09781,0.000563749],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " +"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," +"\"test test record three.\"],[9,2,\"test test record nine.\"],[8,2,\"test " +"test record eight.\"],[7,3,\"test test test record seven.\"],[5,3,\"test " +"test test record five.\"],[6,4,\"test test test test record six.\"]]]]" msgstr "" -"> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText " -"[[0,1294292408.92333,0.107518903],true] > column_create --table Blog2 --name " -"title --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292409.23168,0.050369538],true] > column_create --table Blog2 --name " -"message --flags COLUMN_SCALAR --type ShortText " -"[[0,1294292409.48288,0.049530167],true] > table_create --name IndexBlog2 --" -"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " -"TokenBigram [[0,1294292409.73325,0.04885075],true] > column_create --table " -"IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION " -"--type Blog2 --source title,message [[0,1294292409.98288,0.105489516],true] " -"> load --table Blog2 > [ > {\"_key\":\"grn1\",\"title\":\"groonga test\"," -"\"message\":\"groonga message\"}, > {\"_key\":\"grn2\",\"title\":\"baseball " -"result\",\"message\":\"rakutan eggs 4 - 4 groonga moritars\"}, > {\"_key\":" -"\"grn3\",\"title\":\"groonga message\",\"message\":\"none\"} > ] " -"[[0,1294292410.28918,1.001414874],3]" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score [[0,1308820936.09781,0.000563749],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_score\",\"Int32\"],[\"title\",\"ShortText\"]],[1,1,\"This is " +"test record 1!\"],[2,1,\"test record 2.\"],[4,1,\"test record four.\"],[3,2," +"\"test test record three.\"],[9,2,\"test test record nine.\"],[8,2,\"test " +"test record eight.\"],[7,3,\"test test test record seven.\"],[5,3,\"test " +"test test record five.\"],[6,4,\"test test test test record six.\"]]]]" #: ../source/example/tutorial07-4.log:138 msgid "" "> select --table Blog2 --match_columns title||message --query groonga " -"[[0,1294292411.49151,0.000575701],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820995.95094,0.000554864],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," "\"grn1\",\"groonga test\",\"groonga message\"],[2,\"grn2\",\"baseball result" "\",\"rakutan eggs 4 - 4 groonga moritars\"],[3,\"grn3\",\"groonga message\"," "\"none\"]]]] > select --table Blog2 --match_columns title||message --query " -"message [[0,1294292411.69532,0.000523916],[[[2],[[\"_id\",\"UInt32\"],[\"_key" +"message [[0,1308820996.1552,0.000481635],[[[2],[[\"_id\",\"UInt32\"],[\"_key" "\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," "\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" "\",\"none\"]]]] > select --table Blog2 --match_columns title --query message " -"[[0,1294292411.89825,0.000508446],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820996.35865,0.000473223],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," "\"grn3\",\"groonga message\",\"none\"]]]]" msgstr "" "> select --table Blog2 --match_columns title||message --query groonga " -"[[0,1294292411.49151,0.000575701],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820995.95094,0.000554864],[[[3],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," "\"grn1\",\"groonga test\",\"groonga message\"],[2,\"grn2\",\"baseball result" "\",\"rakutan eggs 4 - 4 groonga moritars\"],[3,\"grn3\",\"groonga message\"," "\"none\"]]]] > select --table Blog2 --match_columns title||message --query " -"message [[0,1294292411.69532,0.000523916],[[[2],[[\"_id\",\"UInt32\"],[\"_key" +"message [[0,1308820996.1552,0.000481635],[[[2],[[\"_id\",\"UInt32\"],[\"_key" "\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[1," "\"grn1\",\"groonga test\",\"groonga message\"],[3,\"grn3\",\"groonga message" "\",\"none\"]]]] > select --table Blog2 --match_columns title --query message " -"[[0,1294292411.89825,0.000508446],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"[[0,1308820996.35865,0.000473223],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," "\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," "\"grn3\",\"groonga message\",\"none\"]]]]" -#: ../source/example/tutorial08-1.log:23 -msgid "" -"> table_create --name PatPre --flags TABLE_PAT_KEY --key_type ShortText " -"[[0,1294292412.30259,0.079878298],true] > load --table PatPre > [ > " -"{\"_key\":\"ひろゆき\"}, > {\"_key\":\"まろゆき\"}, > {\"_key\":\"ひろ" -"あき\"} > ] [[0,1294292412.58327,1.001299934],3] > select --table " -"PatPre --query _key:@ひろ [[0,1294292413.78527,0.000581025],[[[2],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"]],[3,\"ひろあき\"],[1,\"ひろゆき\"]]]]" -msgstr "" -"> table_create --name PatPre --flags TABLE_PAT_KEY --key_type ShortText " -"[[0,1294292412.30259,0.079878298],true] > load --table PatPre > [ > " -"{\"_key\":\"ひろゆき\"}, > {\"_key\":\"まろゆき\"}, > {\"_key\":\"ひろ" -"あき\"} > ] [[0,1294292412.58327,1.001299934],3] > select --table " -"PatPre --query _key:@ひろ [[0,1294292413.78527,0.000581025],[[[2],[[\"_id\"," -"\"UInt32\"],[\"_key\",\"ShortText\"]],[3,\"ひろあき\"],[1,\"ひろゆき\"]]]]" +#: ../../../source/tutorial/tutorial01.txt:35 +msgid "% groonga -n /tmp/tutorial.db > ctrl-d %" +msgstr "% groonga -n /tmp/tutorial.db > ctrl-d %" -#: ../source/example/tutorial10-1.log:387 +#: ../source/example/tutorial01-2.log:122 msgid "" -"> select --table Users --match_columns name,location_str,description --query " -"東京 --output_columns _key,name [[0,1294292470.41307,0.000532663],[[[2]," -"[[\"_key\",\"ShortText\"],[\"name\",\"ShortText\"]],[\"tasukuchan\",\"グニャ" -"ラくん\"],[\"OffGao\",\"OffGao\"]]]]" +"> table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820930.09682,0.063827982],true]" msgstr "" -"> select --table Users --match_columns name,location_str,description --query " -"東京 --output_columns _key,name [[0,1294292470.41307,0.000532663],[[[2]," -"[[\"_key\",\"ShortText\"],[\"name\",\"ShortText\"]],[\"tasukuchan\",\"グニャ" -"ラくん\"],[\"OffGao\",\"OffGao\"]]]]" +"> table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1308820930.09682,0.063827982],true]" -#: ../source/example/tutorial10-10.log:548 -msgid "" -"> select Comments --filter 'last_modified<=1268802000' --output_columns " -"posted_by.name,comment,last_modified --drilldown hash_tags,posted_by " -"[[0,1294292472.24623,0.000634424],[[[5],[[\"posted_by.name\",\"ShortText\"]," -"[\"comment\",\"ShortText\"],[\"last_modified\",\"Time\"]],[\"hsiomaneki\"," -"\"マイクロブログ作ってみました(甘栗むいちゃいました的な感じ" -"で)。\",1268795100.0],[\"グニャラくん\",\"初の書き込み。テストテス" -"ト。\",1268794800.0],[\"hsiomaneki\",\"@tasukuchan ようこそ!!!" -"\",1268795100.0],[\"グニャラくん\",\"@daijiro ありがとう!\",1268798400.0]," -"[\"グニャラくん\",\"groongaなう #groonga\",1268802000.0]],[[1],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",1]],[[2],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"daijiro\",2],[\"tasukuchan" -"\",3]]]]" -msgstr "" -"> select Comments --filter 'last_modified<=1268802000' --output_columns " -"posted_by.name,comment,last_modified --drilldown hash_tags,posted_by " -"[[0,1294292472.24623,0.000634424],[[[5],[[\"posted_by.name\",\"ShortText\"]," -"[\"comment\",\"ShortText\"],[\"last_modified\",\"Time\"]],[\"hsiomaneki\"," -"\"マイクロブログ作ってみました(甘栗むいちゃいました的な感じ" -"で)。\",1268795100.0],[\"グニャラくん\",\"初の書き込み。テストテス" -"ト。\",1268794800.0],[\"hsiomaneki\",\"@tasukuchan ようこそ!!!" -"\",1268795100.0],[\"グニャラくん\",\"@daijiro ありがとう!\",1268798400.0]," -"[\"グニャラくん\",\"groongaなう #groonga\",1268802000.0]],[[1],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",1]],[[2],[[\"_key\"," -"\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"daijiro\",2],[\"tasukuchan" -"\",3]]]]" +#: ../../../source/tutorial/tutorial03.txt:13 +msgid "データ型" +msgstr "データ型" -#: ../source/example/tutorial10-2.log:406 -msgid "" -"> select --table Users --filter 'geo_in_circle(location," -"\"128484216x502919856\",5000)' --output_columns _key,name " -"[[0,1294292470.6155,0.000343137],[[[2],[[\"_key\",\"ShortText\"],[\"name\"," -"\"ShortText\"]],[\"tasukuchan\",\"グニャラくん\"],[\"OffGao\",\"OffGao\"]]]]" -msgstr "" -"> select --table Users --filter 'geo_in_circle(location," -"\"128484216x502919856\",5000)' --output_columns _key,name " -"[[0,1294292470.6155,0.000343137],[[[2],[[\"_key\",\"ShortText\"],[\"name\"," -"\"ShortText\"]],[\"tasukuchan\",\"グニャラくん\"],[\"OffGao\",\"OffGao\"]]]]" +#: ../../../source/tutorial/tutorial10.txt:445 +msgid "ハッシュタグでコメント検索" +msgstr "ハッシュタグでコメント検索" -#: ../source/example/tutorial10-3.log:425 -msgid "" -"> select --table Users --query follower:@tasukuchan --output_columns _key," -"name [[0,1294292470.81784,0.000305006],[[[2],[[\"_key\",\"ShortText\"]," -"[\"name\",\"ShortText\"]],[\"daijiro\",\"hsiomaneki\"],[\"OffGao\",\"OffGao" -"\"]]]]" -msgstr "" -"> select --table Users --query follower:@tasukuchan --output_columns _key," -"name [[0,1294292470.81784,0.000305006],[[[2],[[\"_key\",\"ShortText\"]," -"[\"name\",\"ShortText\"]],[\"daijiro\",\"hsiomaneki\"],[\"OffGao\",\"OffGao" -"\"]]]]" +#: ../../../source/tutorial/tutorial10.txt:92 +msgid "投稿日時" +msgstr "投稿日時" -#: ../source/example/tutorial10-4.log:443 +#: ../../../source/tutorial/tutorial01.txt:105 msgid "" -"> select --table Comments --filter 'geo_in_circle(location," -"\"127975798x502919856\",20000)' --output_columns posted_by.name,comment --" -"drilldown hash_tags,posted_by [[0,1294292471.01995,0.000683663],[[[4]," -"[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"OffGao\"," -"\"@daijiro @tasukuchan 登録してみましたよー!\"],[\"グニャラくん\",\"groonga" -"なう #groonga\"],[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来まし" -"た! #groonga #travel\"],[\"OffGao\",\"中野ブロードウェイなうなう\"]],[[2]," -"[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",2]," -"[\"travel\",1]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," -"[\"OffGao\",2],[\"tasukuchan\",2]]]]" +"主キーの格納方法によって、主キーでの検索速度や、前方一致検索の可否が決まりま" +"す。これも、のちのチュートリアルで触れます。" msgstr "" -"> select --table Comments --filter 'geo_in_circle(location," -"\"127975798x502919856\",20000)' --output_columns posted_by.name,comment --" -"drilldown hash_tags,posted_by [[0,1294292471.01995,0.000683663],[[[4]," -"[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"OffGao\"," -"\"@daijiro @tasukuchan 登録してみましたよー!\"],[\"グニャラくん\",\"groonga" -"なう #groonga\"],[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来まし" -"た! #groonga #travel\"],[\"OffGao\",\"中野ブロードウェイなうなう\"]],[[2]," -"[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga\",2]," -"[\"travel\",1]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," -"[\"OffGao\",2],[\"tasukuchan\",2]]]]" +"主キーの格納方法によって、主キーでの検索速度や、前方一致検索の可否が決まりま" +"す。これも、のちのチュートリアルで触れます。" -#: ../source/example/tutorial10-5.log:461 +#: ../../../source/tutorial/tutorial01.txt:155 msgid "" -"> select --table Comments --query comment:@なう --output_columns comment," -"_score [[0,1294292471.22683,0.000339904],[[[2],[[\"comment\",\"ShortText\"]," -"[\"_score\",\"Int32\"]],[\"groongaなう #groonga\",1],[\"中野ブロードウェイな" -"うなう\",2]]]]" +"実行例にある、TABLE_PAT_KEY|KEY_NORMALIZEという値は、主キー値をパトリシア木に" +"格納し、各語彙を正規化して登録することを示しています。" msgstr "" -"> select --table Comments --query comment:@なう --output_columns comment," -"_score [[0,1294292471.22683,0.000339904],[[[2],[[\"comment\",\"ShortText\"]," -"[\"_score\",\"Int32\"]],[\"groongaなう #groonga\",1],[\"中野ブロードウェイな" -"うなう\",2]]]]" +"実行例にある、TABLE_PAT_KEY|KEY_NORMALIZEという値は、主キー値をパトリシア木に" +"格納し、各語彙を正規化して登録することを示しています。" -#: ../source/example/tutorial10-6.log:478 +#: ../../../source/tutorial/tutorial01.txt:65 msgid "" -"> select --table Comments --query comment:@羽田 --filter 'geo_in_circle" -"(location,\"127975798x502919856\",20000)' --output_columns posted_by.name," -"comment --drilldown hash_tags,posted_by [[0,1294292471.42922,0.00063973]," -"[[[1],[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"グ" -"ニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga #travel" -"\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga" -"\",1],[\"travel\",1]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," -"\"Int32\"]],[\"tasukuchan\",1]]]]" +"groonga実行ファイルやgroongaサーバを介して様々なコマンドを実行して、DBを操作" +"することができます。 コマンドは以下の書式のうちいずれかで与えることができま" +"す。 ::" msgstr "" -"> select --table Comments --query comment:@羽田 --filter 'geo_in_circle" -"(location,\"127975798x502919856\",20000)' --output_columns posted_by.name," -"comment --drilldown hash_tags,posted_by [[0,1294292471.42922,0.00063973]," -"[[[1],[[\"posted_by.name\",\"ShortText\"],[\"comment\",\"ShortText\"]],[\"グ" -"ニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga #travel" -"\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]],[\"groonga" -"\",1],[\"travel\",1]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\"," -"\"Int32\"]],[\"tasukuchan\",1]]]]" +"groonga実行ファイルやgroongaサーバを介して様々なコマンドを実行して、DBを操作" +"することができます。 コマンドは以下の書式のうちいずれかで与えることができま" +"す。 ::" -#: ../source/example/tutorial10-7.log:496 +#: ../../../source/tutorial/tutorial01.txt:124 msgid "" -"> select --table Comments --query hash_tags:@groonga --output_columns " -"posted_by.name,comment --drilldown posted_by " -"[[0,1294292471.6339,0.000473975],[[[2],[[\"posted_by.name\",\"ShortText\"]," -"[\"comment\",\"ShortText\"]],[\"グニャラくん\",\"groongaなう #groonga\"]," -"[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga " -"#travel\"]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," -"[\"tasukuchan\",2]]]]" +"table_createコマンドで作成したテーブルには、最初から'_id'/'_key'という2つの" +"カラムがあります。'_id'はgroongaが自動的に付与するID番号が格納されるカラムで" +"す。'_key'は主キーが格納されるカラムです。これらのカラム名を変更することはで" +"きません。" msgstr "" -"> select --table Comments --query hash_tags:@groonga --output_columns " -"posted_by.name,comment --drilldown posted_by " -"[[0,1294292471.6339,0.000473975],[[[2],[[\"posted_by.name\",\"ShortText\"]," -"[\"comment\",\"ShortText\"]],[\"グニャラくん\",\"groongaなう #groonga\"]," -"[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga " -"#travel\"]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," -"[\"tasukuchan\",2]]]]" +"table_createコマンドで作成したテーブルには、最初から'_id'/'_key'という2つの" +"カラムがあります。'_id'はgroongaが自動的に付与するID番号が格納されるカラムで" +"す。'_key'は主キーが格納されるカラムです。これらのカラム名を変更することはで" +"きません。" -#: ../source/example/tutorial10-8.log:513 +#: ../../../source/tutorial/tutorial10.txt:23 msgid "" -"> select --table Comments --query posted_by:tasukuchan --output_columns " -"comment --drilldown hash_tags [[0,1294292471.83804,0.000471649],[[[4]," -"[[\"comment\",\"ShortText\"]],[\"初の書き込み。テストテスト。\"],[\"@daijiro " -"ありがとう!\"],[\"groongaなう #groonga\"],[\"groonga開発合宿のため羽田空港に" -"来ました! #groonga #travel\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\"groonga\",2],[\"travel\",1]]]]" +"table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " +"ShortText --default_tokenizer TokenBigram column_create --table Users --" +"name name --flags COLUMN_SCALAR --type ShortText column_create --table Users " +"--name follower --flags COLUMN_VECTOR --type Users column_create --table " +"Users --name favorites --flags COLUMN_VECTOR --type Comments column_create --" +"table Users --name location --flags COLUMN_SCALAR --type WGS84GeoPoint " +"column_create --table Users --name location_str --flags COLUMN_SCALAR --type " +"ShortText column_create --table Users --name description --flags " +"COLUMN_SCALAR --type ShortText column_create --table Users --name followee --" +"flags COLUMN_INDEX --type Users --source follower column_create --table " +"Comments --name comment --flags COLUMN_SCALAR --type ShortText column_create " +"--table Comments --name last_modified --flags COLUMN_SCALAR --type Time " +"column_create --table Comments --name replied_to --flags COLUMN_SCALAR --" +"type Comments column_create --table Comments --name replied_users --flags " +"COLUMN_VECTOR --type Users column_create --table Comments --name hash_tags --" +"flags COLUMN_VECTOR --type HashTags column_create --table Comments --name " +"location --flags COLUMN_SCALAR --type WGS84GeoPoint column_create --table " +"Comments --name posted_by --flags COLUMN_SCALAR --type Users column_create --" +"table Comments --name favorited_by --flags COLUMN_INDEX --type Users --" +"source favorites column_create --table HashTags --name hash_index --flags " +"COLUMN_INDEX --type Comments --source hash_tags column_create --table " +"Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --" +"type Users --source name,location_str,description column_create --table " +"Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type " +"Comments --source comment" msgstr "" -"> select --table Comments --query posted_by:tasukuchan --output_columns " -"comment --drilldown hash_tags [[0,1294292471.83804,0.000471649],[[[4]," -"[[\"comment\",\"ShortText\"]],[\"初の書き込み。テストテスト。\"],[\"@daijiro " -"ありがとう!\"],[\"groongaなう #groonga\"],[\"groonga開発合宿のため羽田空港に" -"来ました! #groonga #travel\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs" -"\",\"Int32\"]],[\"groonga\",2],[\"travel\",1]]]]" +"table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText " +"table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " +"ShortText --default_tokenizer TokenBigram column_create --table Users --" +"name name --flags COLUMN_SCALAR --type ShortText column_create --table Users " +"--name follower --flags COLUMN_VECTOR --type Users column_create --table " +"Users --name favorites --flags COLUMN_VECTOR --type Comments column_create --" +"table Users --name location --flags COLUMN_SCALAR --type WGS84GeoPoint " +"column_create --table Users --name location_str --flags COLUMN_SCALAR --type " +"ShortText column_create --table Users --name description --flags " +"COLUMN_SCALAR --type ShortText column_create --table Users --name followee --" +"flags COLUMN_INDEX --type Users --source follower column_create --table " +"Comments --name comment --flags COLUMN_SCALAR --type ShortText column_create " +"--table Comments --name last_modified --flags COLUMN_SCALAR --type Time " +"column_create --table Comments --name replied_to --flags COLUMN_SCALAR --" +"type Comments column_create --table Comments --name replied_users --flags " +"COLUMN_VECTOR --type Users column_create --table Comments --name hash_tags --" +"flags COLUMN_VECTOR --type HashTags column_create --table Comments --name " +"location --flags COLUMN_SCALAR --type WGS84GeoPoint column_create --table " +"Comments --name posted_by --flags COLUMN_SCALAR --type Users column_create --" +"table Comments --name favorited_by --flags COLUMN_INDEX --type Users --" +"source favorites column_create --table HashTags --name hash_index --flags " +"COLUMN_INDEX --type Comments --source hash_tags column_create --table " +"Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --" +"type Users --source name,location_str,description column_create --table " +"Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type " +"Comments --source comment" -#: ../source/example/tutorial10-9.log:530 +#: ../../../source/tutorial/tutorial06.txt:98 +msgid "インデックス付きジオサーチ" +msgstr "インデックス付きジオサーチ" + +#: ../../../source/tutorial/tutorial10.txt:83 msgid "" -"> select --table Users --query _key:tasukuchan --output_columns favorites." -"posted_by,favorites.comment [[0,1294292472.04238,0.000320089],[[[1]," -"[[\"favorites.posted_by\",\"Users\"],[\"favorites.comment\",\"ShortText\"]]," -"[[\"daijiro\",\"OffGao\"],[\"マイクロブログ作ってみました(甘栗むいちゃいまし" -"た的な感じで)。\",\"@daijiro @tasukuchan 登録してみましたよー!\"]]]]]" +"コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブ" +"ルです。" msgstr "" -"> select --table Users --query _key:tasukuchan --output_columns favorites." -"posted_by,favorites.comment [[0,1294292472.04238,0.000320089],[[[1]," -"[[\"favorites.posted_by\",\"Users\"],[\"favorites.comment\",\"ShortText\"]]," -"[[\"daijiro\",\"OffGao\"],[\"マイクロブログ作ってみました(甘栗むいちゃいまし" -"た的な感じで)。\",\"@daijiro @tasukuchan 登録してみましたよー!\"]]]]]" +"コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブ" +"ルです。" Modified: doc/locale/en/LC_MESSAGES/type.po (+171 -171) =================================================================== --- doc/locale/en/LC_MESSAGES/type.po 2011-06-28 14:48:48 +0000 (db7bcb5) +++ doc/locale/en/LC_MESSAGES/type.po 2011-06-28 15:04:00 +0000 (3274162) @@ -1,59 +1,53 @@ -# English translations for 1.2.1 package. +# English translations for 1.2.3 package. # Copyright (C) 2009-2011, Brazil, Inc # This file is distributed under the same license as the groonga package. # Kouhei Sutou <kou****@clear*****>, 2011. # msgid "" msgstr "" -"Project-Id-Version: 1.2.1\n" +"Project-Id-Version: 1.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:19\n" -"PO-Revision-Date: 2011-05-18 15:16+0900\n" +"POT-Creation-Date: 2011-06-28 23:53\n" +"PO-Revision-Date: 2011-06-28 23:55+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: English\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: en\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../../../source/type.txt:6 -msgid "データ型" -msgstr "データ型" - -#: ../../../source/type.txt:9 -msgid "名前" -msgstr "名前" - -#: ../../../source/type.txt:11 -msgid "groonga データ型" -msgstr "groonga データ型" - -#: ../../../source/type.txt:14 -msgid "説明" -msgstr "説明" - #: ../../../source/type.txt:16 msgid "groonga は、格納するデータの型を区別します。" msgstr "groonga は、格納するデータの型を区別します。" -#: ../../../source/type.txt:18 +#: ../../../source/type.txt:43 +msgid "``UInt8``" +msgstr "``UInt8``" + +#: ../../../source/type.txt:99 msgid "" -"groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型" -"に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの" -"値は共通となります。" +"世界測地系緯度経度座標。緯度と経度はミリ秒単位での整数。 \"経度のミリ秒x緯度" +"のミリ秒\"という文字列表現を持つ。 度分秒形式であれば、x度y分z秒は(((x * 60) " +"+ y) * 60 + z) * 1000という計算式で変換した値を代入します。" msgstr "" -"groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型" -"に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの" -"値は共通となります。" +"世界測地系緯度経度座標。緯度と経度はミリ秒単位での整数。 \"経度のミリ秒x緯度" +"のミリ秒\"という文字列表現を持つ。 度分秒形式であれば、x度y分z秒は(((x * 60) " +"+ y) * 60 + z) * 1000という計算式で変換した値を代入します。" -#: ../../../source/type.txt:20 +#: ../../../source/type.txt:77 msgid "" -"主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、" -"またはユーザが定義したテーブルを指定することができます。" +"1970年1月1日0時0分0秒からの経過マイクロ秒数を64bit符号付き整数で表現した値。" msgstr "" -"主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、" -"またはユーザが定義したテーブルを指定することができます。" +"1970年1月1日0時0分0秒からの経過マイクロ秒数を64bit符号付き整数で表現した値。" + +#: ../../../source/type.txt:14 +msgid "説明" +msgstr "説明" + +#: ../../../source/type.txt:37 +msgid "bool型。trueとfalse。" +msgstr "bool型。trueとfalse。" #: ../../../source/type.txt:22 msgid "" @@ -63,147 +57,109 @@ msgstr "" "主キーの型に他のテーブルを指定する場合は、そのテーブルは、主キーの型となる" "テーブルのサブセットとなります。" -#: ../../../source/type.txt:24 -msgid "" -"カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテー" -"ブルの参照キーとなります。" -msgstr "" -"カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテー" -"ブルの参照キーとなります。" +#: ../../../source/type.txt:71 +msgid "``Float``" +msgstr "``Float``" + +#: ../../../source/type.txt:85 +msgid "64Kbyte以下の文字列。" +msgstr "64Kbyte以下の文字列。" + +#: ../../../source/type.txt:55 +msgid "``Int32``" +msgstr "``Int32``" + +#: ../../../source/type.txt:11 +msgid "groonga データ型" +msgstr "groonga データ型" #: ../../../source/type.txt:27 msgid "組込型" msgstr "組込型" +#: ../../../source/type.txt:41 +msgid "8bit符号付き整数。" +msgstr "8bit符号付き整数。" + +#: ../../../source/type.txt:57 +msgid "32bit符号付き整数。" +msgstr "32bit符号付き整数。" + +#: ../../../source/type.txt:73 +msgid "ieee754形式の64bit浮動小数点数。" +msgstr "ieee754形式の64bit浮動小数点数。" + #: ../../../source/type.txt:29 msgid "以下の型が組込型としてあらかじめ定義されています。" msgstr "以下の型が組込型としてあらかじめ定義されています。" -#: ../../../source/type.txt:31 -msgid "``Object``" -msgstr "``Object``" +#: ../../../source/type.txt:112 +msgid "ベクトルとして格納できない型" +msgstr "ベクトルとして格納できない型" -#: ../../../source/type.txt:33 -msgid "任意のテーブルに属する全てのレコード [#]_" -msgstr "任意のテーブルに属する全てのレコード [#]_" +#: ../../../source/type.txt:47 +msgid "``Int16``" +msgstr "``Int16``" -#: ../../../source/type.txt:35 -msgid "``Bool``" -msgstr "``Bool``" +#: ../../../source/type.txt:119 +msgid "脚注" +msgstr "脚注" -#: ../../../source/type.txt:37 -msgid "bool型。trueとfalse。" -msgstr "bool型。trueとfalse。" +#: ../../../source/type.txt:97 +msgid "``WGS84GeoPoint``" +msgstr "``WGS84GeoPoint``" -#: ../../../source/type.txt:39 -msgid "``Int8``" -msgstr "``Int8``" +#: ../../../source/type.txt:9 +msgid "名前" +msgstr "名前" -#: ../../../source/type.txt:41 -msgid "8bit符号付き整数。" -msgstr "8bit符号付き整数。" +#: ../../../source/type.txt:49 +msgid "16bit符号付き整数。" +msgstr "16bit符号付き整数。" -#: ../../../source/type.txt:43 -msgid "``UInt8``" -msgstr "``UInt8``" +#: ../../../source/type.txt:89 +msgid "2Gbyte以下の文字列。" +msgstr "2Gbyte以下の文字列。" + +#: ../../../source/type.txt:107 +msgid "テーブルの主キーに指定できない型" +msgstr "テーブルの主キーに指定できない型" #: ../../../source/type.txt:45 msgid "8bit符号なし整数。" msgstr "8bit符号なし整数。" -#: ../../../source/type.txt:47 -msgid "``Int16``" -msgstr "``Int16``" +#: ../../../source/type.txt:120 +msgid "Object型はv1.2でサポートされます。" +msgstr "Object型はv1.2でサポートされます。" -#: ../../../source/type.txt:49 -msgid "16bit符号付き整数。" -msgstr "16bit符号付き整数。" +#: ../../../source/type.txt:31 +msgid "``Object``" +msgstr "``Object``" -#: ../../../source/type.txt:51 -msgid "``UInt16``" -msgstr "``UInt16``" +#: ../../../source/type.txt:81 +msgid "4Kbyte以下の文字列。" +msgstr "4Kbyte以下の文字列。" #: ../../../source/type.txt:53 msgid "16bit符号なし整数。" msgstr "16bit符号なし整数。" -#: ../../../source/type.txt:55 -msgid "``Int32``" -msgstr "``Int32``" - -#: ../../../source/type.txt:57 -msgid "32bit符号付き整数。" -msgstr "32bit符号付き整数。" - -#: ../../../source/type.txt:59 -msgid "``UInt32``" -msgstr "``UInt32``" - -#: ../../../source/type.txt:61 -msgid "32bit符号なし整数。" -msgstr "32bit符号なし整数。" - -#: ../../../source/type.txt:63 -msgid "``Int64``" -msgstr "``Int64``" - -#: ../../../source/type.txt:65 -msgid "64bit符号付き整数。" -msgstr "64bit符号付き整数。" - -#: ../../../source/type.txt:67 -msgid "``UInt64``" -msgstr "``UInt64``" - -#: ../../../source/type.txt:69 -msgid "64bit符号なし整数。" -msgstr "64bit符号なし整数。" - -#: ../../../source/type.txt:71 -msgid "``Float``" -msgstr "``Float``" - -#: ../../../source/type.txt:73 -msgid "ieee754形式の64bit浮動小数点数。" -msgstr "ieee754形式の64bit浮動小数点数。" - -#: ../../../source/type.txt:75 -msgid "``Time``" -msgstr "``Time``" - -#: ../../../source/type.txt:77 -msgid "" -"1970年1月1日0時0分0秒からの経過マイクロ秒数を64bit符号付き整数で表現した値。" -msgstr "" -"1970年1月1日0時0分0秒からの経過マイクロ秒数を64bit符号付き整数で表現した値。" +#: ../../../source/type.txt:6 +msgid "データ型" +msgstr "データ型" #: ../../../source/type.txt:79 msgid "``ShortText``" msgstr "``ShortText``" -#: ../../../source/type.txt:81 -msgid "4Kbyte以下の文字列。" -msgstr "4Kbyte以下の文字列。" - -#: ../../../source/type.txt:83 -msgid "``Text``" -msgstr "``Text``" - -#: ../../../source/type.txt:85 -msgid "64Kbyte以下の文字列。" -msgstr "64Kbyte以下の文字列。" - -#: ../../../source/type.txt:87 -msgid "``LongText``" -msgstr "``LongText``" - -#: ../../../source/type.txt:89 -msgid "2Gbyte以下の文字列。" -msgstr "2Gbyte以下の文字列。" +#: ../../../source/type.txt:39 +msgid "``Int8``" +msgstr "``Int8``" -#: ../../../source/type.txt:91 -msgid "``TokyoGeoPoint``" -msgstr "``TokyoGeoPoint``" +#: ../../../source/type.txt:33 +msgid "任意のテーブルに属する全てのレコード [#]_" +msgstr "任意のテーブルに属する全てのレコード [#]_" #: ../../../source/type.txt:93 msgid "" @@ -215,27 +171,55 @@ msgstr "" "のミリ秒\"という文字列表現を持つ。 度分秒形式であれば、x度y分z秒は(((x * 60) " "+ y) * 60 + z) * 1000という計算式で変換した値を代入します。" -#: ../../../source/type.txt:97 -msgid "``WGS84GeoPoint``" -msgstr "``WGS84GeoPoint``" - -#: ../../../source/type.txt:99 +#: ../../../source/type.txt:18 msgid "" -"世界測地系緯度経度座標。緯度と経度はミリ秒単位での整数。 \"経度のミリ秒x緯度" -"のミリ秒\"という文字列表現を持つ。 度分秒形式であれば、x度y分z秒は(((x * 60) " -"+ y) * 60 + z) * 1000という計算式で変換した値を代入します。" +"groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型" +"に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの" +"値は共通となります。" msgstr "" -"世界測地系緯度経度座標。緯度と経度はミリ秒単位での整数。 \"経度のミリ秒x緯度" -"のミリ秒\"という文字列表現を持つ。 度分秒形式であれば、x度y分z秒は(((x * 60) " -"+ y) * 60 + z) * 1000という計算式で変換した値を代入します。" +"groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型" +"に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの" +"値は共通となります。" + +#: ../../../source/type.txt:61 +msgid "32bit符号なし整数。" +msgstr "32bit符号なし整数。" + +#: ../../../source/type.txt:51 +msgid "``UInt16``" +msgstr "``UInt16``" + +#: ../../../source/type.txt:35 +msgid "``Bool``" +msgstr "``Bool``" + +#: ../../../source/type.txt:59 +msgid "``UInt32``" +msgstr "``UInt32``" + +#: ../../../source/type.txt:67 +msgid "``UInt64``" +msgstr "``UInt64``" + +#: ../../../source/type.txt:83 +msgid "``Text``" +msgstr "``Text``" + +#: ../../../source/type.txt:63 +msgid "``Int64``" +msgstr "``Int64``" + +#: ../../../source/type.txt:75 +msgid "``Time``" +msgstr "``Time``" #: ../../../source/type.txt:104 msgid "型に関する制限事項" msgstr "型に関する制限事項" -#: ../../../source/type.txt:107 -msgid "テーブルの主キーに指定できない型" -msgstr "テーブルの主キーに指定できない型" +#: ../../../source/type.txt:87 +msgid "``LongText``" +msgstr "``LongText``" #: ../../../source/type.txt:109 msgid "" @@ -243,19 +227,21 @@ msgid "" msgstr "" "Text型とLongText型については、テーブルの主キーに指定することはできません。" -#: ../../../source/type.txt:112 -msgid "ベクトルとして格納できない型" -msgstr "ベクトルとして格納できない型" +#: ../../../source/type.txt:24 +msgid "" +"カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテー" +"ブルの参照キーとなります。" +msgstr "" +"カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテー" +"ブルの参照キーとなります。" -#: ../../../source/type.txt:114 +#: ../../../source/type.txt:20 msgid "" -"groongaのカラムは、ある型のベクトルを保存することができます。しかし、" -"ShortText, Text, LongTextの3つの型についてはベクトルとして保存することはでき" -"ません。" +"主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、" +"またはユーザが定義したテーブルを指定することができます。" msgstr "" -"groongaのカラムは、ある型のベクトルを保存することができます。しかし、" -"ShortText, Text, LongTextの3つの型についてはベクトルとして保存することはでき" -"ません。" +"主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、" +"またはユーザが定義したテーブルを指定することができます。" #: ../../../source/type.txt:116 msgid "" @@ -267,10 +253,24 @@ msgstr "" "ルを保存したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブ" "ルを型として利用します。" -#: ../../../source/type.txt:119 -msgid "脚注" -msgstr "脚注" +#: ../../../source/type.txt:114 +msgid "" +"groongaのカラムは、ある型のベクトルを保存することができます。しかし、" +"ShortText, Text, LongTextの3つの型についてはベクトルとして保存することはでき" +"ません。" +msgstr "" +"groongaのカラムは、ある型のベクトルを保存することができます。しかし、" +"ShortText, Text, LongTextの3つの型についてはベクトルとして保存することはでき" +"ません。" -#: ../../../source/type.txt:120 -msgid "Object型はv1.2でサポートされます。" -msgstr "Object型はv1.2でサポートされます。" +#: ../../../source/type.txt:65 +msgid "64bit符号付き整数。" +msgstr "64bit符号付き整数。" + +#: ../../../source/type.txt:91 +msgid "``TokyoGeoPoint``" +msgstr "``TokyoGeoPoint``" + +#: ../../../source/type.txt:69 +msgid "64bit符号なし整数。" +msgstr "64bit符号なし整数。" Modified: doc/locale/ja/LC_MESSAGES/conf.po (+3 -3) =================================================================== --- doc/locale/ja/LC_MESSAGES/conf.po 2011-06-28 14:48:48 +0000 (b072216) +++ doc/locale/ja/LC_MESSAGES/conf.po 2011-06-28 15:04:00 +0000 (63321c8) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-22 22:56+0900\n" +"POT-Creation-Date: 2011-06-28 23:32+0900\n" "PO-Revision-Date: 2011-05-22 21:45+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: Japanese\n" @@ -22,11 +22,11 @@ msgstr "" msgid "%(project)s v%(release)s documentation" msgstr "%(project)s v%(release)sドキュメント" -#: ../../../source/conf.py:237 ../../../source/conf.py:280 +#: ../../../source/conf.py:240 ../../../source/conf.py:283 msgid "groonga documentation" msgstr "groongaのドキュメント" -#: ../../../source/conf.py:263 +#: ../../../source/conf.py:266 msgid "groonga project" msgstr "groongaプロジェクト" Deleted: doc/locale/ja/LC_MESSAGES/developer.po (+0 -692) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/developer.po 2011-06-28 14:48:48 +0000 (42be866) +++ /dev/null @@ -1,692 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:26\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/developer.txt:6 -msgid "groonga開発者向け情報" -msgstr "" - -#: ../../../source/developer/com.txt:4 -msgid "groonga 通信アーキテクチャ" -msgstr "" - -#: ../../../source/developer/com.txt:7 -msgid "gqtpでのアーキテクチャ" -msgstr "" - -#: ../../../source/developer/com.txt:9 -msgid "comが外部からの接続を受け付ける。" -msgstr "" - -#: ../../../source/developer/com.txt:10 -msgid "comは1スレッド。" -msgstr "" - -#: ../../../source/developer/com.txt:11 -msgid "comがedgeを作る。" -msgstr "" - -#: ../../../source/developer/com.txt:12 -msgid "edgeは接続と1対1対応。" -msgstr "" - -#: ../../../source/developer/com.txt:13 -msgid "edgeはctxを含む。" -msgstr "" - -#: ../../../source/developer/com.txt:14 -msgid "workerはthreadと1対1対応。" -msgstr "" - -#: ../../../source/developer/com.txt:15 -msgid "workerは上限が個定数。" -msgstr "" - -#: ../../../source/developer/com.txt:16 -msgid "workerは、1つのedgeと結びつくことができる。" -msgstr "" - -#: ../../../source/developer/com.txt:18 -msgid "edgeごとにqueueを持つ。" -msgstr "" - -#: ../../../source/developer/com.txt:19 -msgid "" -"msgはcomによって、edgeのqueueにenqueueされる。 edgeがworkerに結びついていない" -"ときは、同時に、ctx_newというqueueに、msgをenqueueした対象のedgeをenqueueす" -"る。" -msgstr "" - -#: ../../../source/developer/document.txt:6 -msgid "ドキュメント作成" -msgstr "" - -#: ../../../source/developer/document.txt:9 -msgid "Sphinxのインストール" -msgstr "" - -#: ../../../source/developer/document.txt:11 -msgid "" -"groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは" -"以下のように導入します。::" -msgstr "" - -#: ../../../source/developer/document.txt:13 -msgid "# aptitude install python-setuptools # easy_install -U sphinx" -msgstr "" - -#: ../../../source/developer/document.txt:17 -msgid "htmlの作成" -msgstr "" - -#: ../../../source/developer/document.txt:19 -msgid "以下のコマンドでhtmlが作成されます。::" -msgstr "" - -#: ../../../source/developer/document.txt:21 -msgid "% make html" -msgstr "" - -#: ../../../source/developer/document.txt:24 -#: ../../../source/developer/document.txt:36 -msgid "pdfの作成" -msgstr "" - -#: ../../../source/developer/document.txt:26 -msgid "" -"groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント" -"(IPA Gothic/IPAexGothic)が必要となります。" -msgstr "" - -#: ../../../source/developer/document.txt:29 -msgid "rst2pdfのインストール" -msgstr "" - -#: ../../../source/developer/document.txt:31 -msgid "以下のようにしてインストールできます。::" -msgstr "" - -#: ../../../source/developer/document.txt:33 -msgid "# easy_install rst2pdf" -msgstr "" - -#: ../../../source/developer/document.txt:38 -msgid "以下のコマンドでpdfが作成されます。::" -msgstr "" - -#: ../../../source/developer/document.txt:40 -msgid "% make pdf" -msgstr "" - -#: ../../../source/developer/query.txt:6 -msgid "クエリの実現" -msgstr "" - -#: ../../../source/developer/query.txt:8 -msgid "" -"groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取" -"り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのク" -"エリの表現と実行に関して、groongaは複数の手段を用意しています。" -msgstr "" - -#: ../../../source/developer/query.txt:11 -msgid "クエリ実行のためのインタフェース" -msgstr "" - -#: ../../../source/developer/query.txt:13 -msgid "" -"groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドイ" -"ンタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供して" -"います。" -msgstr "" - -#: ../../../source/developer/query.txt:15 -msgid "" -"クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する" -"形で用意されています。以下に低レイヤなインタフェースから順に説明します。" -msgstr "" - -#: ../../../source/developer/query.txt:18 -msgid "DB_API" -msgstr "" - -#: ../../../source/developer/query.txt:20 -msgid "" -"DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供しま" -"す。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供しま" -"す。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができま" -"す。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによっ" -"て実現されています。" -msgstr "" - -#: ../../../source/developer/query.txt:23 -msgid "grn_expr" -msgstr "" - -#: ../../../source/developer/query.txt:25 -msgid "" -"grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現す" -"るためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現す" -"ることができます。grn_exprによって表現されたクエリを実行するためには、" -"grn_table_select()関数を使用します。" -msgstr "" - -#: ../../../source/developer/query.txt:28 -msgid "groonga実行ファイル" -msgstr "" - -#: ../../../source/developer/query.txt:30 -msgid "" -"groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマン" -"ドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザ" -"がC言語で定義した関数を新たなコマンドとしてgroonga実行ファイルに組み込むこと" -"ができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解" -"釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈して" -"DB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができま" -"す。" -msgstr "" - -#: ../../../source/developer/query.txt:33 -msgid "grn_exprで表現できるクエリ" -msgstr "" - -#: ../../../source/developer/query.txt:35 -msgid "" -"grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索" -"クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の" -"要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算" -"子で結合したものです。" -msgstr "" - -#: ../../../source/developer/query.txt:37 -msgid "論理演算子は、以下の3種類があります。 ::" -msgstr "" - -#: ../../../source/developer/query.txt:40 -msgid "&& (論理積) || (論理和) ! (否定)" -msgstr "" - -#: ../../../source/developer/query.txt:44 -msgid "" -"関係式は、下記の11種類が用意されています。また、ユーザが定義した関数を新たな" -"関係式として使うこともできます。 ::" -msgstr "" - -#: ../../../source/developer/query.txt:47 -msgid "" -"equal(==) not_equal(!=) less(<) greater(>) less_equal(<=) greater_equal(>=) " -"contain() near() similar() prefix() suffix()" -msgstr "" - -#: ../../../source/developer/query.txt:60 -msgid "grn_table_select()" -msgstr "" - -#: ../../../source/developer/query.txt:62 -msgid "" -"grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使い" -"ます。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格" -"納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映する" -"かを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。 ::" -msgstr "" - -#: ../../../source/developer/query.txt:65 -msgid "GRN_OP_OR GRN_OP_AND GRN_OP_BUT GRN_OP_ADJUST" -msgstr "" - -#: ../../../source/developer/query.txt:70 -msgid "" -"GRN_OP_ORは、検索対象テーブルの中からクエリにマッチするレコードを検索結果テー" -"ブルに加えます。GRN_OP_OR以外の演算子は、検索結果テーブルが空でない場合にだけ" -"意味を持ちます。GRN_OP_ANDは、検索結果テーブルの中からクエリにマッチしないレ" -"コードを取り除きます。GRN_OP_BUTは、検索結果テーブルの中からクエリにマッチす" -"るレコードを取り除きます。GRN_OP_ADJUSTは、検索結果テーブルの中でクエリにマッ" -"チするレコードに対してスコア値の更新のみを行います。" -msgstr "" - -#: ../../../source/developer/query.txt:72 -msgid "" -"grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わ" -"せて可能な限り高速に指定されたクエリを実行しようとします。" -msgstr "" - -#: ../../../source/developer/query.txt:75 -msgid "関係式" -msgstr "" - -#: ../../../source/developer/query.txt:77 -msgid "" -"関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係" -"として表現します。いずれの関係式も、その関係が成り立ったときに評価される" -"callback、コールバック関数に渡されるargとを引数として指定することができます。" -"callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされ" -"ます。主な関係式について説明します。" -msgstr "" - -#: ../../../source/developer/query.txt:80 -msgid "equal(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:81 -msgid "v1の値とv2の値が等しいことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:84 -msgid "not_equal(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:85 -msgid "v1の値とv2の値が等しくないことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:88 -msgid "less(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:89 -msgid "v1の値がv2の値よりも小さいことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:92 -msgid "greater(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:93 -msgid "v1の値がv2の値よりも大きいことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:96 -msgid "less_equal(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:97 -msgid "v1の値がv2の値と等しいか小さいことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:100 -msgid "greater_equal(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:101 -msgid "v1の値がv2の値と等しいか大きいことを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:104 -msgid "contain(v1, v2, mode, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:105 -msgid "" -"v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されると" -"き、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれ" -"かを指定することができます。" -msgstr "" - -#: ../../../source/developer/query.txt:109 -msgid "" -"EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致す" -"る(デフォルト) UNSPLIT: v2の値は要素に分解しない PREFIX: v1の値の要素がv2の値" -"に前方一致する SUFFIX: v1の値の要素がv2の値に後方一致する PARTIAL: v1の値の要" -"素がv2の値に中間一致する" -msgstr "" - -#: ../../../source/developer/query.txt:116 -msgid "near(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:117 -msgid "" -"v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配" -"列を渡します)" -msgstr "" - -#: ../../../source/developer/query.txt:120 -msgid "similar(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:121 -msgid "v1の値とv2の値が類似していることを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:124 -msgid "prefix(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:125 -msgid "v1の値がv2の値に対して前方一致することを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:128 -msgid "suffix(v1, v2, arg, callback)" -msgstr "" - -#: ../../../source/developer/query.txt:129 -msgid "v1の値がv2の値に対して後方一致することを表します。" -msgstr "" - -#: ../../../source/developer/query.txt:132 -msgid "クエリの実例" -msgstr "" - -#: ../../../source/developer/query.txt:134 -msgid "grn_exprを使って様々な検索クエリを表現することができます。" -msgstr "" - -#: ../../../source/developer/query.txt:137 -msgid "検索例1" -msgstr "" - -#: ../../../source/developer/query.txt:140 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" -msgstr "" - -#: ../../../source/developer/query.txt:147 -msgid "" -"tableのcolumnの値がstringを含むレコードをresultに返します。columnの値" -"が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコー" -"ドr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1の" -"みがヒットします。" -msgstr "" - -#: ../../../source/developer/query.txt:151 -msgid "検索例2" -msgstr "" - -#: ../../../source/developer/query.txt:154 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); GRN_EXPR_CREATE_FOR_QUERY(ctx, " -"table, query, var); grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, " -"1); grn_expr_append_obj(ctx, query, column2, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); grn_table_select(ctx, table, query, result, " -"GRN_OP_ADJUST); grn_obj_close(ctx, query);" -msgstr "" - -#: ../../../source/developer/query.txt:173 -msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。次に、resultにセットされたレ" -"コードのうち、column2の値がstringにexactモードでヒットするレコードについて" -"は、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。" -msgstr "" - -#: ../../../source/developer/query.txt:176 -msgid "検索例3" -msgstr "" - -#: ../../../source/developer/query.txt:179 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column1, " -"GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, exact, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score1, GRN_OP_PUSH, 1); grn_expr_append_op" -"(ctx, query, GRN_OP_CALL, 5); result = grn_table_select(ctx, table, query, " -"NULL, GRN_OP_OR); grn_obj_close(ctx, query); if (grn_table_size(ctx, result) " -"< t1) { GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); " -"grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1); " -"grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, partial, GRN_OP_PUSH, 1); " -"grn_expr_append_const(ctx, query, score2, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); grn_table_select(ctx, " -"table, query, result, GRN_OP_OR); grn_obj_close(ctx, query); }" -msgstr "" - -#: ../../../source/developer/query.txt:200 -msgid "" -"tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるス" -"コア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小" -"さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコ" -"ア値にscore2を積算してresultに追加します。" -msgstr "" - -#: ../../../source/developer/query.txt:203 -msgid "検索例4" -msgstr "" - -#: ../../../source/developer/query.txt:206 -msgid "" -"GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var); grn_expr_append_obj(ctx, " -"query, contain, GRN_OP_PUSH, 1); grn_expr_append_const(ctx, query, string, " -"GRN_OP_PUSH, 1); grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1); " -"grn_expr_append_op(ctx, query, GRN_OP_CALL, 3); result = grn_table_select" -"(ctx, table, query, NULL, GRN_OP_OR);" -msgstr "" - -#: ../../../source/developer/query.txt:213 -msgid "" -"tableのcolumnの値がstringに含まれるレコードをresultに返します。 columnの値" -"が'needle'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに" -"登録されていたとき、stringに'hay in haystack'を指定したなら、レコードr2のみが" -"ヒットします。" -msgstr "" - -#: ../../../source/developer/test.txt:6 -msgid "テスト方法" -msgstr "" - -#: ../../../source/developer/test.txt:9 -msgid "テスト環境の構築" -msgstr "" - -#: ../../../source/developer/test.txt:12 -msgid "Cutterのインストール" -msgstr "" - -#: ../../../source/developer/test.txt:14 -msgid "groongaは、テストのフレームワークとして Cutter_ を用いています。" -msgstr "" - -#: ../../../source/developer/test.txt:16 -msgid "" -"Cutterのインストール方法は プラットフォーム毎のCutterのインストール方法_ をご" -"覧下さい。" -msgstr "" - -#: ../../../source/developer/test.txt:22 -msgid "lcovのインストール" -msgstr "" - -#: ../../../source/developer/test.txt:24 -msgid "" -"カバレッジ情報を計測するためには、lcov 1.6以上が必要です。DebianやUbuntuでは" -"以下のようにしてインストールできます。::" -msgstr "" - -#: ../../../source/developer/test.txt:26 -msgid "% sudo aptitude install -y lcov" -msgstr "" - -#: ../../../source/developer/test.txt:29 -msgid "clangのインストール" -msgstr "" - -#: ../../../source/developer/test.txt:31 -msgid "" -"ソースコードの静的解析を行うためには、clang(scan-build)をインストールする必要" -"があります。DebianやUbuntuでは以下のようにしてインストールできます。::" -msgstr "" - -#: ../../../source/developer/test.txt:33 -msgid "% sudo aptitude install -y clang" -msgstr "" - -#: ../../../source/developer/test.txt:36 -msgid "libmemcachedのインストール" -msgstr "" - -#: ../../../source/developer/test.txt:38 -msgid "" -"memcachedのバイナリプロトコルのテストを動作させるためには、libmemcachedの導入" -"が必要です。squeeze以降のDebianやKarmic以降のUubntuでは以下の用にしてインス" -"トールできます。::" -msgstr "" - -#: ../../../source/developer/test.txt:40 -msgid "% sudo aptitude install -y libmemcached-dev" -msgstr "" - -#: ../../../source/developer/test.txt:43 -msgid "テストの動作" -msgstr "" - -#: ../../../source/developer/test.txt:45 ../../../source/developer/test.txt:52 -msgid "groongaのトップディレクトリで、以下のコマンドを実行します。::" -msgstr "" - -#: ../../../source/developer/test.txt:47 -msgid "make check" -msgstr "" - -#: ../../../source/developer/test.txt:50 -msgid "カバレッジ情報" -msgstr "" - -#: ../../../source/developer/test.txt:54 -msgid "make coverage" -msgstr "" - -#: ../../../source/developer/test.txt:56 -msgid "" -"すると、coverageディレクトリ以下に、カバレッジ情報が入ったhtmlが出力されま" -"す。" -msgstr "" - -#: ../../../source/developer/test.txt:58 -msgid "" -"カバレッジには、Lines/Functions/Branchesの3つの対象があります。それぞれ、行/" -"関数/分岐に対応します。Functionsがもっとも重要な対象です。すべての関数がテス" -"トされるようになっていることを心がけてください。" -msgstr "" - -#: ../../../source/developer/test.txt:60 -msgid "" -"テストがカバーしていない部分の編集は慎重に行ってください。また、テストがカ" -"バーしている部分を増やすことも重要です。" -msgstr "" - -#: ../../../source/developer/test.txt:63 -msgid "様々なテスト" -msgstr "" - -#: ../../../source/developer/test.txt:65 -msgid "" -"テストは、test/unitディレクトリにおいて、./run-test.shを実行することによって" -"も行えます。run-test.shはいくつかのオプションをとります。詳細は、./run-test." -"sh --helpを実行しヘルプをご覧ください。" -msgstr "" - -#: ../../../source/developer/test.txt:68 -msgid "特定のテスト関数のみテストする" -msgstr "" - -#: ../../../source/developer/test.txt:70 -msgid "" -"特定のテスト関数(Cutterではテストと呼ぶ)のみをテストすることができます。" -msgstr "" - -#: ../../../source/developer/test.txt:72 ../../../source/developer/test.txt:81 -#: ../../../source/developer/test.txt:92 -#: ../../../source/developer/test.txt:103 -msgid "実行例::" -msgstr "" - -#: ../../../source/developer/test.txt:74 -msgid "% ./run-test.sh -n test_text_otoj" -msgstr "" - -#: ../../../source/developer/test.txt:77 -msgid "特定のテストファイルのみテストする" -msgstr "" - -#: ../../../source/developer/test.txt:79 -msgid "" -"特定のテストファイル(Cutterではテストケースと呼ぶ)のみテストすることができま" -"す。" -msgstr "" - -#: ../../../source/developer/test.txt:83 -msgid "% ./run-test.sh -t test_string" -msgstr "" - -#: ../../../source/developer/test.txt:86 -msgid "不正メモリアクセス・メモリリーク検出" -msgstr "" - -#: ../../../source/developer/test.txt:88 -msgid "" -"環境変数CUTTER_CHECK_LEAKをyesと設定すると、valgrindを用いて不正メモリアクセ" -"スやメモリリークを検出しつつ、テストを動作させることができます。" -msgstr "" - -#: ../../../source/developer/test.txt:90 -#: ../../../source/developer/test.txt:101 -msgid "run-test.shのみならず、make checkでも利用可能です。" -msgstr "" - -#: ../../../source/developer/test.txt:94 -msgid "% CUTTER_CHECK_LEAK=yes make check" -msgstr "" - -#: ../../../source/developer/test.txt:97 -msgid "デバッガ上でのテスト実行" -msgstr "" - -#: ../../../source/developer/test.txt:99 -msgid "" -"環境変数CUTTER_DEBUGをyesと設定すると、テストが実行できる環境が整ったgdbが実" -"行されます。gdb上でrunを行うと、テストの実行が開始されます。" -msgstr "" - -#: ../../../source/developer/test.txt:105 -msgid "% CUTTER_DEBUG=yes make check" -msgstr "" - -#: ../../../source/developer/test.txt:108 -msgid "静的解析" -msgstr "" - -#: ../../../source/developer/test.txt:110 -msgid "" -"scan-buildを用いて、ソースコードの静的解析を行うことができます。scan_buildと" -"いうディレクトリに解析結果のhtmlが出力されます。::" -msgstr "" - -#: ../../../source/developer/test.txt:112 -msgid "" -"% scan-build ./configure --prefix=/usr % make clean % scan-build -o ./" -"scan_build make -j4" -msgstr "" - -#: ../../../source/developer/test.txt:116 -msgid "configureは1度のみ実行する必要があります。" -msgstr "" Deleted: doc/locale/ja/LC_MESSAGES/execfile.po (+0 -353) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/execfile.po 2011-06-28 14:48:48 +0000 (239ce17) +++ /dev/null @@ -1,353 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-28 16:22\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/execfile.txt:6 -msgid "groonga実行ファイル" -msgstr "" - -#: ../../../source/execfile.txt:9 -msgid "名前" -msgstr "" - -#: ../../../source/execfile.txt:11 -msgid "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" -msgstr "" - -#: ../../../source/execfile.txt:14 -msgid "書式" -msgstr "" - -#: ../../../source/execfile.txt:18 -msgid "groonga [options] [dest] [command [args]]" -msgstr "" - -#: ../../../source/execfile.txt:21 -msgid "説明" -msgstr "" - -#: ../../../source/execfile.txt:23 -msgid "" -"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" -"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" -"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" -"の使い方について説明します。" -msgstr "" - -#: ../../../source/execfile.txt:27 -msgid "オプション" -msgstr "" - -#: ../../../source/execfile.txt:31 -msgid "新たなデータベースを作成します。" -msgstr "" - -#: ../../../source/execfile.txt:35 -msgid "クライアントモードで実行します。" -msgstr "" - -#: ../../../source/execfile.txt:39 -msgid "サーバモードで実行します。" -msgstr "" - -#: ../../../source/execfile.txt:43 -msgid "デーモンモードで実行します。(forkする点がサーバモードと異なる)" -msgstr "" - -#: ../../../source/execfile.txt:47 -msgid "" -"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" -"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" -"定できます。" -msgstr "" - -#: ../../../source/execfile.txt:51 -msgid "" -"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" -"が出力されます。" -msgstr "" - -#: ../../../source/execfile.txt:62 -msgid "" -"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" -"(デフォルトは `hostname` の返すホスト名)" -msgstr "" - -#: ../../../source/execfile.txt:66 -msgid "" -"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" -"トは10041番)" -msgstr "" - -#: ../../../source/execfile.txt:71 -msgid "" -"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" -"ます。(デフォルトは`hostname`の返すホスト名)" -msgstr "" - -#: ../../../source/execfile.txt:75 -msgid "ヘルプメッセージを出力します。" -msgstr "" - -#: ../../../source/execfile.txt:79 -msgid "" -"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" -"します。" -msgstr "" - -#: ../../../source/execfile.txt:81 -msgid "" -"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" -"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" -"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" -"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" -"ルを使用できます。" -msgstr "" - -#: ../../../source/execfile.txt:85 -msgid "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" -msgstr "" - -#: ../../../source/execfile.txt:89 -msgid "" -"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" -"groonga.logです)" -msgstr "" - -#: ../../../source/execfile.txt:93 -msgid "" -"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" -"ん)" -msgstr "" - -#: ../../../source/execfile.txt:97 -msgid "" -"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" -"です)" -msgstr "" - -#: ../../../source/execfile.txt:101 -msgid "PIDを保存するパスを指定します。(デフォルトでは保存しません)" -msgstr "" - -#: ../../../source/execfile.txt:105 -msgid "" -"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" -"ます。::" -msgstr "" - -#: ../../../source/execfile.txt:107 -msgid "" -"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" -"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" -"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" -"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " -"# ただし、キーが'config-path'のオプションは無視される。" -msgstr "" - -#: ../../../source/execfile.txt:122 -msgid "キャッシュ数の最大値を指定します。(デフォルトは100です)" -msgstr "" - -#: ../../../source/execfile.txt:126 -msgid "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" -msgstr "" - -#: ../../../source/execfile.txt:129 -msgid "引数" -msgstr "" - -#: ../../../source/execfile.txt:133 -msgid "使用するデータベースのパス名を指定します。" -msgstr "" - -#: ../../../source/execfile.txt:135 -msgid "" -"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" -"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" -"とします。" -msgstr "" - -#: ../../../source/execfile.txt:139 -msgid "" -"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" -"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" -"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" -"ます。" -msgstr "" - -#: ../../../source/execfile.txt:142 -msgid "コマンド" -msgstr "" - -#: ../../../source/execfile.txt:144 -msgid "" -"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" -"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" -"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" -"す。" -msgstr "" - -#: ../../../source/execfile.txt:147 -msgid "引数は以下の2種類の方法のいずれかで指定することができます。::" -msgstr "" - -#: ../../../source/execfile.txt:149 -msgid "" -"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" -"2,.." -msgstr "" - -#: ../../../source/execfile.txt:153 -msgid "" -"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" -"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" -"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" -"を指定することが可能で、途中の引数の指定を省略することもできます。" -msgstr "" - -#: ../../../source/execfile.txt:155 -msgid "" -"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" -"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" -"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" -"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" -"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" -"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" -"を指定します。" -msgstr "" - -#: ../../../source/execfile.txt:158 -msgid "組み込みコマンド" -msgstr "" - -#: ../../../source/execfile.txt:160 -msgid "以下のコマンドは組み込みコマンドとして予め定義されています。" -msgstr "" - -#: ../../../source/execfile.txt:163 -msgid "groongaプロセスの状態を表示します。" -msgstr "" - -#: ../../../source/execfile.txt:166 -msgid "DBに定義されているテーブルのリストを表示します。" -msgstr "" - -#: ../../../source/execfile.txt:169 -msgid "テーブルに定義されているカラムのリストを表示します。" -msgstr "" - -#: ../../../source/execfile.txt:172 -msgid "DBにテーブルを追加します。" -msgstr "" - -#: ../../../source/execfile.txt:175 -msgid "テーブルにカラムを追加します。" -msgstr "" - -#: ../../../source/execfile.txt:178 -msgid "DBに定義されているテーブルを削除します。" -msgstr "" - -#: ../../../source/execfile.txt:181 -msgid "テーブルに定義されているカラムを削除します。" -msgstr "" - -#: ../../../source/execfile.txt:184 -msgid "VIEW型のテーブルに要素となるテーブルを定義します。" -msgstr "" - -#: ../../../source/execfile.txt:187 -msgid "テーブルにレコードを挿入します。" -msgstr "" - -#: ../../../source/execfile.txt:190 -msgid "テーブルに含まれるレコードを検索して表示します。" -msgstr "" - -#: ../../../source/execfile.txt:193 -msgid "検索条件をカスタマイズした新たな検索コマンドを定義します。" -msgstr "" - -#: ../../../source/execfile.txt:196 -msgid "データベースとのセッションを終了します。" -msgstr "" - -#: ../../../source/execfile.txt:199 -msgid "サーバ(デーモン)プロセスを停止します。" -msgstr "" - -#: ../../../source/execfile.txt:202 -msgid "ログ出力レベルを設定します。" -msgstr "" - -#: ../../../source/execfile.txt:205 -msgid "ログ出力を行います。" -msgstr "" - -#: ../../../source/execfile.txt:208 -msgid "ロックを解除します。" -msgstr "" - -#: ../../../source/execfile.txt:212 -msgid "例" -msgstr "" - -#: ../../../source/execfile.txt:214 -msgid "新しいデータベースを作成します。::" -msgstr "" - -#: ../../../source/execfile.txt:216 -msgid "% groonga -n /tmp/hoge.db quit %" -msgstr "" - -#: ../../../source/execfile.txt:219 -msgid "作成済みのデータベースにテーブルを定義します。::" -msgstr "" - -#: ../../../source/execfile.txt:221 -msgid "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" -msgstr "" - -#: ../../../source/execfile.txt:225 -msgid "サーバを起動します。::" -msgstr "" - -#: ../../../source/execfile.txt:227 -msgid "% groonga -d /tmp/hoge.db %" -msgstr "" - -#: ../../../source/execfile.txt:230 -msgid "httpサーバとして起動します。::" -msgstr "" - -#: ../../../source/execfile.txt:232 -msgid "" -"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" -"admin_html /tmp/hoge.db %" -msgstr "" - -#: ../../../source/execfile.txt:235 -msgid "サーバに接続し、テーブル一覧を表示します。::" -msgstr "" - -#: ../../../source/execfile.txt:237 -msgid "" -"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," -"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" -msgstr "" Added: doc/locale/ja/LC_MESSAGES/executables.po (+979 -0) 100644 =================================================================== --- /dev/null +++ doc/locale/ja/LC_MESSAGES/executables.po 2011-06-28 15:04:00 +0000 (ecccdce) @@ -0,0 +1,979 @@ +# Japanese translations for 1.2.3 package. +# Copyright (C) 2009-2011, Brazil, Inc +# This file is distributed under the same license as the groonga package. +# Kouhei Sutou <kou****@clear*****>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: 1.2.3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-28 23:59\n" +"PO-Revision-Date: 2011-06-29 00:00+0900\n" +"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" +"Language-Team: Japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../../../source/executables/grntest.txt:255 +msgid "制限事項" +msgstr "" + +#: ../../../source/executables/groonga.txt:93 +msgid "" +"クエリーログを出力するファイルのパスを指定します。(デフォルトでは出力されませ" +"ん)" +msgstr "" + +#: ../../../source/executables/grntest.txt:265 +msgid "もし、grntestが正常に動作しない場合、まず以下を確認してください。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:36 +msgid "リクエストのプロトコルを指定します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:18 +msgid "groonga [options] [dest] [command [args]]" +msgstr "" + +#: ../../../source/executables/grntest.txt:81 +msgid "とタイプしてください。もしgrntestが正常に動作すれば、::" +msgstr "" + +#: ../../../source/executables/grntest.txt:6 +msgid "grntest" +msgstr "" + +#: ../../../source/executables/groonga.txt:81 +msgid "" +"デフォルトでは、データベースを管理するための汎用的なページに対応するファイル" +"が/usr/share/groonga/admin_html以下にインストールされます。このディレクトリを" +"document-rootオプションの値に指定して起動した場合、ウェブブラウザでhttp://" +"hostname:port/index.htmlにアクセスすると、ウェブベースのデータベース管理ツー" +"ルを使用できます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:124 +msgid "とした場合と同じです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:11 +msgid "grntest - groongaテストプログラム" +msgstr "" + +#: ../../../source/executables/groonga.txt:85 +msgid "http,gqtpのいずれかを指定します。(デフォルトはgqtp)" +msgstr "" + +#: ../../../source/executables/grntest.txt:100 +msgid "現在サポートされているgrntest命令は以下の8つです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:179 +msgid "$ ./grntest --port 20010 test.scr testdb" +msgstr "" + +#: ../../../source/executables/grnslap.txt:6 +msgid "grnslap" +msgstr "" + +#: ../../../source/executables/grnslap.txt:48 +msgid "リクエストの多重度を指定します。初期値は10です。" +msgstr "" + +#: ../../../source/executables/grntest.txt:170 +msgid "" +"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" +"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" +"ンを指定しなかった場合にもSET_PORTが優先されます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:173 +msgid "" +"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" +"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" +msgstr "" + +#: ../../../source/executables/grntest.txt:142 +msgid "スクリプトファイルのサンプルです。::" +msgstr "" + +#: ../../../source/executables/grntest.txt:49 +msgid "" +"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" +"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" +"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" +"意してください。" +msgstr "" + +#: ../../../source/executables/grntest.txt:157 +msgid "" +"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" +"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" +"令を実行する場合に付与しても問題ありません。)" +msgstr "" + +#: ../../../source/executables/groonga.txt:166 +msgid "DBに定義されているテーブルのリストを表示します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:147 +msgid "引数は以下の2種類の方法のいずれかで指定することができます。::" +msgstr "" + +#: ../../../source/executables/http.txt:39 +msgid "" +"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" +"数名を用いてoutput_typeを指定します。" +msgstr "" + +#: ../../../source/executables.txt:8 +msgid "groongaパッケージが提供する実行ファイルについて説明します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:159 +msgid "" +"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" +"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" +"test.statusというコマンドファイルを10個のスレッドで実行する。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:29 +msgid "現在は、make installしてもインストールは行われない。" +msgstr "" + +#: ../../../source/executables/groonga.txt:144 +msgid "" +"groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コ" +"マンドは主にC言語で記述され、groongaプロセスにロードすることによって使用でき" +"るようになります。 それぞれのコマンドは一意な名前と、0個以上の引数を持ちま" +"す。" +msgstr "" + +#: ../../../source/executables/groonga.txt:232 +msgid "" +"% groonga -d -p 80 --protocol http --document-root /usr/share/groonga/" +"admin_html /tmp/hoge.db %" +msgstr "" + +#: ../../../source/executables/grnslap.txt:58 +#: ../../../source/executables/grntest.txt:140 +msgid "サンプル" +msgstr "" + +#: ../../../source/executables/grnslap.txt:25 +msgid "" +"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" +"できます。また、リクエストの多重度を指定することができます。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:44 +msgid "" +"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" +"それらのリクエストを順次行います。" +msgstr "" + +#: ../../../source/executables/grntest.txt:29 +msgid "" +"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" +"れません。" +msgstr "" + +#: ../../../source/executables/groonga.txt:126 +msgid "検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)" +msgstr "" + +#: ../../../source/executables/grntest.txt:98 +msgid "grntest命令" +msgstr "" + +#: ../../../source/executables/grntest.txt:83 +msgid "test-ユーザ名-数字.log" +msgstr "" + +#: ../../../source/executables/http.txt:56 +msgid "output_typeの指定に従って、コマンドの実行結果を出力します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:61 +msgid "" +"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:160 +msgid "以下のコマンドは組み込みコマンドとして予め定義されています。" +msgstr "" + +#: ../../../source/executables/groonga.txt:89 +msgid "" +"ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/" +"groonga.logです)" +msgstr "" + +#: ../../../source/executables/http.txt:33 +msgid "" +"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" +"す。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:32 +#: ../../../source/executables/grntest.txt:32 +#: ../../../source/executables/groonga.txt:27 +msgid "オプション" +msgstr "" + +#: ../../../source/executables/groonga.txt:105 +msgid "" +"設定ファイルのパスを指定します。設定ファイルは以下のようなフォーマットになり" +"ます。::" +msgstr "" + +#: ../../../source/executables/groonga.txt:221 +msgid "% groonga /tmp/hoge.db table_create Table 0 ShortText [[0]] %" +msgstr "" + +#: ../../../source/executables/groonga.txt:225 +msgid "サーバを起動します。::" +msgstr "" + +#: ../../../source/executables/groonga.txt:23 +msgid "" +"groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンで" +"す。 groongaのデータベースは、groonga実行ファイルかCライブラリインタフェース" +"を通して操作することができます。このマニュアルページでは、groonga実行ファイル" +"の使い方について説明します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:163 +msgid "groongaプロセスの状態を表示します。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:42 +msgid "`gqtp`" +msgstr "" + +#: ../../../source/executables/grntest.txt:153 +msgid "コメント行。" +msgstr "" + +#: ../../../source/executables/grntest.txt:102 +msgid "do_local コマンドファイル [スレッド数] [繰り返し数]" +msgstr "" + +#: ../../../source/executables/grntest.txt:126 +msgid "out_gqtp コマンドファイル 出力ファイル名" +msgstr "" + +#: ../../../source/executables/grntest.txt:128 +msgid "" +"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" +"す。" +msgstr "" + +#: ../../../source/executables/groonga.txt:175 +msgid "テーブルにカラムを追加します。" +msgstr "" + +#: ../../../source/executables/http.txt:35 +msgid "形式1: コマンド名 値1 値2,.." +msgstr "" + +#: ../../../source/executables/groonga.txt:214 +msgid "新しいデータベースを作成します。::" +msgstr "" + +#: ../../../source/executables/grntest.txt:175 +msgid "例えば、" +msgstr "" + +#: ../../../source/executables/http.txt:37 +msgid "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." +msgstr "" + +#: ../../../source/executables/groonga.txt:202 +msgid "ログ出力レベルを設定します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:75 +msgid "ヘルプメッセージを出力します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:144 +msgid "" +"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " +"10 10; do_local test.status 10" +msgstr "" + +#: ../../../source/executables/groonga.txt:169 +msgid "テーブルに定義されているカラムのリストを表示します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:184 +msgid "VIEW型のテーブルに要素となるテーブルを定義します。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:27 +msgid "" +"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" +"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" +"ことができます。" +msgstr "" + +#: ../../../source/executables/http.txt:31 +msgid "" +"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" +"な引数である「output_type」と「command_version」があります。" +msgstr "" + +#: ../../../source/executables/http.txt:22 +msgid "" +"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" +"可能になります。また、--document-root によって静的ページのパスを指定すると、" +"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" +"す。" +msgstr "" + +#: ../../../source/executables/groonga.txt:199 +msgid "サーバ(デーモン)プロセスを停止します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:53 +msgid "" +"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" +"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" +"きます。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:64 +msgid "" +"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " +"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " +"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " +"etime=0.012511" +msgstr "" + +#: ../../../source/executables/http.txt:24 +msgid "" +"groongaにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。--" +"document-rootを指定しない場合は管理ツールがインストールされているパスが指定さ" +"れたとみなされますので、ウェブブラウザでhttp://hostname:port/にアクセスする" +"と、管理ツールを利用できます。" +msgstr "" + +#: ../../../source/executables/groonga.txt:172 +msgid "DBにテーブルを追加します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:273 +msgid "" +"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" +"す。" +msgstr "" + +#: ../../../source/executables/groonga.txt:158 +msgid "組み込みコマンド" +msgstr "" + +#: ../../../source/executables/groonga.txt:97 +msgid "" +"最大で利用するスレッド数を指定します。(デフォルトはマシンのCPUコア数と同じ数" +"です)" +msgstr "" + +#: ../../../source/executables/grntest.txt:89 +msgid "スクリプトファイル" +msgstr "" + +#: ../../../source/executables/groonga.txt:39 +msgid "サーバモードで実行します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:35 +msgid "クライアントモードで実行します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:259 +msgid "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:137 +msgid "" +"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" +"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:" +"`commands` を参照してください。" +msgstr "" + +#: ../../../source/executables/groonga.txt:133 +msgid "使用するデータベースのパス名を指定します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:108 +msgid "" +"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" +"do_localの場合と同じです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:91 +msgid "" +"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" +"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" +"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" +"として扱われます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:202 +msgid "" +"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " +"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " +"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " +"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " +"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" +"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " +"\"table_create res_table --key_type ShortText\", 1490, 3086, " +"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" +"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " +"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " +"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " +"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " +"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " +"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " +"\"table_create thread_table --key_type ShortText\", 13289, 14541, " +"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " +"thread_title_column --type ShortText\", 14570, 17380, [0,12 " +"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " +"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" +"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " +"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " +"inv_res_column 514 res_table res_column \", 18998, 33248, " +"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " +"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " +"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " +"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" +"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " +"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " +"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" +"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " +"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " +"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " +"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" +"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" +"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " +"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" +msgstr "" + +#: ../../../source/executables/groonga.txt:219 +msgid "作成済みのデータベースにテーブルを定義します。::" +msgstr "" + +#: ../../../source/executables/groonga.txt:66 +msgid "" +"クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。 (デフォル" +"トは10041番)" +msgstr "" + +#: ../../../source/executables/grntest.txt:164 +msgid "" +"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" +"サポートされている特殊命令は以下の二つです。" +msgstr "" + +#: sphinx-built-in-message:0 +msgid "groonga < コマンドファイル > 出力ファイル" +msgstr "" + +#: ../../../source/executables/grnslap.txt:18 +msgid "grnslap [options] [dest]" +msgstr "" + +#: ../../../source/executables/grntest.txt:181 +msgid "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" +msgstr "" + +#: ../../../source/executables/grntest.txt:167 +msgid "" +"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" +"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" +"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" +"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" +"ションで指定した場合と同様です。" +msgstr "" + +#: ../../../source/executables/grntest.txt:118 +msgid "out_local コマンドファイル 入力ファイル名" +msgstr "" + +#: ../../../source/executables/grnslap.txt:38 +msgid "`http`" +msgstr "" + +#: ../../../source/executables/grnslap.txt:21 +#: ../../../source/executables/grntest.txt:21 +#: ../../../source/executables/groonga.txt:21 +#: ../../../source/executables/http.txt:20 +msgid "説明" +msgstr "" + +#: ../../../source/executables/groonga.txt:212 +msgid "例" +msgstr "" + +#: ../../../source/executables/http.txt:43 +msgid "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." +msgstr "" + +#: ../../../source/executables/grntest.txt:35 +msgid "" +"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" +"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" +"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" +"動して接続します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:187 +msgid "テーブルにレコードを挿入します。" +msgstr "" + +#: ../../../source/executables/http.txt:47 +msgid "GETメソッドのみが使用可能です。" +msgstr "" + +#: ../../../source/executables/groonga.txt:51 +msgid "" +"ログレベルを指定します。0〜8までの数値が指定可能で、数が大きいほど多くのログ" +"が出力されます。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:40 +msgid "" +"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" +"で標準入力に与えると、それらのパスに順次アクセスします。" +msgstr "" + +#: ../../../source/executables/grntest.txt:25 +msgid "" +"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" +"用する場合の動作確認や実行速度測定が可能です。" +msgstr "" + +#: ../../../source/executables/groonga.txt:122 +msgid "キャッシュ数の最大値を指定します。(デフォルトは100です)" +msgstr "" + +#: ../../../source/executables/grnslap.txt:60 +msgid "http://localhost:10041/d/status に、多重度100でリクエストを行う。" +msgstr "" + +#: ../../../source/executables/grntest.txt:27 +msgid "" +"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" +"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" +"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:135 +msgid "コマンドファイル" +msgstr "" + +#: ../../../source/executables/groonga.txt:216 +msgid "% groonga -n /tmp/hoge.db quit %" +msgstr "" + +#: ../../../source/executables/groonga.txt:193 +msgid "検索条件をカスタマイズした新たな検索コマンドを定義します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:107 +msgid "" +"# '#'以降はコメント。 ; ';'以降もコメント。 # 'キー = 値'でオプションを指" +"定。 pid-file = /var/run/groonga.pid # '='の前後の空白はは無視される。↓は↑と" +"同じ意味。 pid-file=/var/run/groonga.pid # 'キー'は'--XXX'スタイルのオプショ" +"ン名と同じものが使える。 # 例えば、'--pid-path'に対応するキーは'pid-path'。 " +"# ただし、キーが'config-path'のオプションは無視される。" +msgstr "" + +#: ../../../source/executables/grntest.txt:271 +msgid "" +"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" +"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" +"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" +"す。" +msgstr "" + +#: ../../../source/executables/grntest.txt:150 +msgid "上記の意味は以下のとおりです。" +msgstr "" + +#: ../../../source/executables.txt:6 +msgid "実行ファイル" +msgstr "" + +#: ../../../source/executables/grntest.txt:77 +msgid "まず、シェル上(Windowsならコマンドプロンプト上)で::" +msgstr "" + +#: ../../../source/executables/groonga.txt:155 +msgid "" +"標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で" +"区切ります。空白や、記号「\"'()\\」のうちいずれかを含む値を指定したい場合は、" +"シングルクォート(')かダブルクォート(\")で値を囲みます。値として指定する文字列" +"の中では、改行文字は'\\n'に置き換えて指定します。また、引用符に使用した文字を" +"値の中で指定する場合には、その文字の前にバックスラッシュ('\\') を指定します。" +"バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュ" +"を指定します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:43 +msgid "デーモンモードで実行します。(forkする点がサーバモードと異なる)" +msgstr "" + +#: ../../../source/executables/groonga.txt:101 +msgid "PIDを保存するパスを指定します。(デフォルトでは保存しません)" +msgstr "" + +#: ../../../source/executables/grnslap.txt:23 +msgid "" +"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" +"チェックするためのツールです。" +msgstr "" + +#: ../../../source/executables/groonga.txt:237 +msgid "" +"% groonga -c localhost table_list [[0],[[\"id\",\"name\",\"path\",\"flags\"," +"\"domain\"],[256,\"Table\",\"/tmp/hoge.db.0000100\",49152,14]]] %" +msgstr "" + +#: ../../../source/executables/grntest.txt:23 +msgid "grntestは、groonga汎用テストツールです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:40 +msgid "" +"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" +"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" +"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" +"ください。" +msgstr "" + +#: ../../../source/executables/groonga.txt:227 +msgid "% groonga -d /tmp/hoge.db %" +msgstr "" + +#: ../../../source/executables/grntest.txt:197 +msgid "" +"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" +"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" +"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" +"式のテキストです。" +msgstr "" + +#: ../../../source/executables/grntest.txt:18 +msgid "grntest [options...] [script] [db]" +msgstr "" + +#: ../../../source/executables/grntest.txt:263 +msgid "トラブルシューティング" +msgstr "" + +#: ../../../source/executables/grntest.txt:195 +msgid "grntest実行結果" +msgstr "" + +#: ../../../source/executables/http.txt:41 +msgid "" +"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" +"す。::" +msgstr "" + +#: ../../../source/executables/groonga.txt:139 +msgid "" +"スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数を" +"コマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場" +"合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行し" +"ます。" +msgstr "" + +#: ../../../source/executables/groonga.txt:135 +msgid "" +"クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト" +"値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたもの" +"とします。" +msgstr "" + +#: ../../../source/executables/grntest.txt:68 +msgid "" +"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" +"す。拡張子は.scrです。" +msgstr "" + +#: ../../../source/executables/http.txt:29 +msgid "" +"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" +"同じコマンドが使用できます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:162 +msgid "特殊命令" +msgstr "" + +#: ../../../source/executables/groonga.txt:31 +msgid "新たなデータベースを作成します。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:11 +msgid "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" +msgstr "" + +#: ../../../source/executables/grntest.txt:185 +msgid "" +"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " +"10 10; rep_local test.status 10 #SET_PORT 10400" +msgstr "" + +#: ../../../source/executables/http.txt:6 +#: ../../../source/executables/http.txt:11 +msgid "groonga HTTPサービス" +msgstr "" + +#: ../../../source/executables/http.txt:51 +msgid "" +"command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:" +"`command_version` を参照してください。" +msgstr "" + +#: ../../../source/executables/grnslap.txt:51 +#: ../../../source/executables/grntest.txt:64 +#: ../../../source/executables/groonga.txt:129 +msgid "引数" +msgstr "" + +#: ../../../source/executables/grntest.txt:76 +msgid "使い方" +msgstr "" + +#: ../../../source/executables/groonga.txt:178 +msgid "DBに定義されているテーブルを削除します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:120 +msgid "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" +"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" +"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" +"のものです。grntestではコメントが利用できる以外、::" +msgstr "" + +#: ../../../source/executables/grntest.txt:267 +msgid "" +"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" +"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" +"grntestは正常に動作しません。" +msgstr "" + +#: ../../../source/executables/grntest.txt:116 +msgid "" +"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" +"数や繰り返し数の意味はdo_localと 同じです。" +msgstr "" + +#: ../../../source/executables/groonga.txt:230 +msgid "httpサーバとして起動します。::" +msgstr "" + +#: ../../../source/executables/grnslap.txt:55 +msgid "" +"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" +"ポート番号を指定しない場合には、10041が指定されたものとします。" +msgstr "" + +#: ../../../source/executables/http.txt:54 +msgid "返値" +msgstr "" + +#: ../../../source/executables/grnslap.txt:9 +#: ../../../source/executables/grntest.txt:9 +#: ../../../source/executables/groonga.txt:9 +#: ../../../source/executables/http.txt:9 +msgid "名前" +msgstr "" + +#: ../../../source/executables/groonga.txt:47 +msgid "" +"データベースで使用する文字エンコーディング方式を指定します。新たなデータベー" +"スを作成する時のみ有効です。none, euc, utf8, sjis, latin, koi8rのいずれかが指" +"定できます。" +msgstr "" + +#: ../../../source/executables/groonga.txt:196 +msgid "データベースとのセッションを終了します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:104 +msgid "" +"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" +"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" +"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" +"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" +"ル 1 [繰り返し数]と明示的に指定してください。" +msgstr "" + +#: ../../../source/executables/grntest.txt:72 +msgid "" +"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" +"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" +"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" +"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" +"ることに注意してください。" +msgstr "" + +#: ../../../source/executables/groonga.txt:6 +msgid "groonga実行ファイル" +msgstr "" + +#: ../../../source/executables/groonga.txt:142 +#: ../../../source/executables/http.txt:27 +msgid "コマンド" +msgstr "" + +#: ../../../source/executables/grntest.txt:257 +msgid "" +"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" +"ド数の合計は最大64までに制限されます。" +msgstr "" + +#: ../../../source/executables/groonga.txt:205 +msgid "ログ出力を行います。" +msgstr "" + +#: ../../../source/executables/groonga.txt:190 +msgid "テーブルに含まれるレコードを検索して表示します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:269 +msgid "" +"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" +"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" +"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" +"ます。" +msgstr "" + +#: ../../../source/executables/grntest.txt:155 +msgid "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" +msgstr "" + +#: ../../../source/executables/groonga.txt:235 +msgid "サーバに接続し、テーブル一覧を表示します。::" +msgstr "" + +#: ../../../source/executables/groonga.txt:149 +msgid "" +"形式1: コマンド名 値1 値2,.. 形式2: コマンド名 --引数名1 値1 --引数名2 値" +"2,.." +msgstr "" + +#: ../../../source/executables/grntest.txt:110 +msgid "rep_local コマンドファイル [スレッド数] [繰り返し数]" +msgstr "" + +#: ../../../source/executables/grntest.txt:131 +msgid "" +"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" +"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." +"diffというファイルに書きだします。" +msgstr "" + +#: ../../../source/executables/groonga.txt:71 +msgid "" +"サーバモードかデーモンモードで実行するとき、サーバのIDとなるアドレスを指定し" +"ます。(デフォルトは`hostname`の返すホスト名)" +msgstr "" + +#: ../../../source/executables/http.txt:45 +msgid "ただし、コマンド名、引数名、値はURLエンコードが必要です。" +msgstr "" + +#: ../../../source/executables/groonga.txt:153 +msgid "" +"形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途" +"中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「--" +"引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数" +"を指定することが可能で、途中の引数の指定を省略することもできます。" +msgstr "" + +#: ../../../source/executables/groonga.txt:11 +msgid "groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア" +msgstr "" + +#: ../../../source/executables/grntest.txt:114 +msgid "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" +msgstr "" + +#: ../../../source/executables/grntest.txt:57 +msgid "" +"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" +"ドを探します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:191 +msgid "" +"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" +msgstr "" + +#: ../../../source/executables/groonga.txt:208 +msgid "ロックを解除します。" +msgstr "" + +#: ../../../source/executables/http.txt:17 +msgid "groonga -d --protocol http DB_PATH" +msgstr "" + +#: ../../../source/executables/grnslap.txt:14 +#: ../../../source/executables/grntest.txt:14 +#: ../../../source/executables/groonga.txt:14 +#: ../../../source/executables/http.txt:14 +msgid "書式" +msgstr "" + +#: ../../../source/executables/groonga.txt:62 +msgid "" +"サーバモードかデーモンモードで実行するとき、listenするアドレスを指定します。" +"(デフォルトは `hostname` の返すホスト名)" +msgstr "" + +#: ../../../source/executables/grntest.txt:79 +msgid "grntest test.scr 任意のDB名" +msgstr "" + +#: ../../../source/executables/grntest.txt:112 +msgid "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" +msgstr "" + +#: ../../../source/executables/http.txt:49 +msgid "output_typeにはjson, tsv, xmlが指定可能です。" +msgstr "" + +#: ../../../source/executables/grntest.txt:45 +msgid "ftp.groonga.org に用意されているスクリプトファイルを表示します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:85 +msgid "" +"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" +"ラブルシューティング」の章を参照してください。" +msgstr "" + +#: ../../../source/executables/groonga.txt:79 +msgid "" +"httpサーバとしてgroongaを使用する場合に静的ページを格納するディレクトリを指定" +"します。" +msgstr "" + +#: ../../../source/executables/grntest.txt:106 +msgid "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" +msgstr "" + +#: ../../../source/executables/groonga.txt:181 +msgid "テーブルに定義されているカラムを削除します。" +msgstr "" Deleted: doc/locale/ja/LC_MESSAGES/grnslap.po (+0 -123) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/grnslap.po 2011-06-28 14:48:48 +0000 (4b98907) +++ /dev/null @@ -1,123 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:26\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/grnslap.txt:6 -msgid "grnslap" -msgstr "" - -#: ../../../source/grnslap.txt:9 -msgid "名前" -msgstr "" - -#: ../../../source/grnslap.txt:11 -msgid "grnslap - groongaプロセスの通信層のパフォーマンスをチェックするツール" -msgstr "" - -#: ../../../source/grnslap.txt:14 -msgid "書式" -msgstr "" - -#: ../../../source/grnslap.txt:18 -msgid "grnslap [options] [dest]" -msgstr "" - -#: ../../../source/grnslap.txt:21 -msgid "説明" -msgstr "" - -#: ../../../source/grnslap.txt:23 -msgid "" -"grnslapは、groongaプロセスに対してリクエストを多重に行い、パフォーマンスを" -"チェックするためのツールです。" -msgstr "" - -#: ../../../source/grnslap.txt:25 -msgid "" -"groonga独自プロトコルであるgqtpと、httpの両プロトコルでリクエストを行うことが" -"できます。また、リクエストの多重度を指定することができます。" -msgstr "" - -#: ../../../source/grnslap.txt:27 -msgid "" -"クエリの内容を標準入力から与えることができます。実稼動環境でのクエリパタンに" -"近いクエリを標準入力に与えることによって、実稼動環境に近い状態での検証を行う" -"ことができます。" -msgstr "" - -#: ../../../source/grnslap.txt:29 -msgid "現在は、make installしてもインストールは行われない。" -msgstr "" - -#: ../../../source/grnslap.txt:32 -msgid "オプション" -msgstr "" - -#: ../../../source/grnslap.txt:36 -msgid "リクエストのプロトコルを指定します。" -msgstr "" - -#: ../../../source/grnslap.txt:38 -msgid "`http`" -msgstr "" - -#: ../../../source/grnslap.txt:40 -msgid "" -"httpでリクエストします。対象のhttpのパス群(GETパラメータを含む)をLF区切り形式" -"で標準入力に与えると、それらのパスに順次アクセスします。" -msgstr "" - -#: ../../../source/grnslap.txt:42 -msgid "`gqtp`" -msgstr "" - -#: ../../../source/grnslap.txt:44 -msgid "" -"gqtpでリクエストします。gqtpのリクエストをLF区切り形式で標準入力に与えると、" -"それらのリクエストを順次行います。" -msgstr "" - -#: ../../../source/grnslap.txt:48 -msgid "リクエストの多重度を指定します。初期値は10です。" -msgstr "" - -#: ../../../source/grnslap.txt:51 -msgid "引数" -msgstr "" - -#: ../../../source/grnslap.txt:55 -msgid "" -"接続先のホスト名とポート番号をを指定します(デフォルト値は'localhost:10041')。" -"ポート番号を指定しない場合には、10041が指定されたものとします。" -msgstr "" - -#: ../../../source/grnslap.txt:58 -msgid "サンプル" -msgstr "" - -#: ../../../source/grnslap.txt:60 -msgid "http://localhost:10041/d/status に、多重度100でリクエストを行う。" -msgstr "" - -#: ../../../source/grnslap.txt:64 -msgid "" -"> yes /d/status | head -n 100 | grnslap -P http -m 100 localhost:10041 " -"2009-11-12 19:34:09.998696|begin: max_concurrency=100 max_tp=10000 " -"2009-11-12 19:34:10.011208|end : n=100 min=46 max=382 avg=0 qps=7992.966190 " -"etime=0.012511" -msgstr "" Deleted: doc/locale/ja/LC_MESSAGES/grntest.po (+0 -467) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/grntest.po 2011-06-28 14:48:48 +0000 (417970b) +++ /dev/null @@ -1,467 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-29 13:49\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/grntest.txt:6 -msgid "grntest" -msgstr "" - -#: ../../../source/grntest.txt:9 -msgid "名前" -msgstr "" - -#: ../../../source/grntest.txt:11 -msgid "grntest - groongaテストプログラム" -msgstr "" - -#: ../../../source/grntest.txt:14 -msgid "書式" -msgstr "" - -#: ../../../source/grntest.txt:18 -msgid "grntest [options...] [script] [db]" -msgstr "" - -#: ../../../source/grntest.txt:21 -msgid "説明" -msgstr "" - -#: ../../../source/grntest.txt:23 -msgid "grntestは、groonga汎用テストツールです。" -msgstr "" - -#: ../../../source/grntest.txt:25 -msgid "" -"groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利" -"用する場合の動作確認や実行速度測定が可能です。" -msgstr "" - -#: ../../../source/grntest.txt:27 -msgid "" -"grntest を利用するために必要なデータファイルは、ftp.groonga.orgから必要に応じ" -"ダウンロードしますので、groonga及びgrntestが動作し、インターネットに接続でき" -"る環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。" -msgstr "" - -#: ../../../source/grntest.txt:29 -msgid "" -"現在は、linux 及びWindows上で動作します。make installしてもインストールは行わ" -"れません。" -msgstr "" - -#: ../../../source/grntest.txt:32 -msgid "オプション" -msgstr "" - -#: ../../../source/grntest.txt:35 -msgid "" -"接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先に" -"groongaサーバが立ち上がっていない場合、接続不能となることに注意してください。" -"このオプションを指定しない場合、grntestは自動的にlocalhostのgroongaサーバを起" -"動して接続します。" -msgstr "" - -#: ../../../source/grntest.txt:40 -msgid "" -"自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが" -"利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、" -"このオプションで指定したポート番号が異なる場合、接続不能となることに注意して" -"ください。" -msgstr "" - -#: ../../../source/grntest.txt:45 -msgid "ftp.groonga.org に用意されているスクリプトファイルを表示します。" -msgstr "" - -#: ../../../source/grntest.txt:49 -msgid "" -"通常grntestはftp.groonga.orgとftp通信を行い、scriptファイルの同期やログファイ" -"ルの送信を行います。--noftp オプションを指定するとftp 通信を一切行わないよう" -"になります。存在しないスクリプトファイルを指定した場合、エラーとなることに注" -"意してください。" -msgstr "" - -#: ../../../source/grntest.txt:53 -msgid "" -"デフォルトでは、grntest終了後のログファイルの出力先ははカレントディレクトリで" -"す。このオプションを利用すると、任意のディレクトリに出力先を変更することがで" -"きます。" -msgstr "" - -#: ../../../source/grntest.txt:57 -msgid "" -"groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマン" -"ドを探します。" -msgstr "" - -#: ../../../source/grntest.txt:61 -msgid "" -"groongaコマンドが使うプロトコルとして``gqtp``または``http``を指定します。" -msgstr "" - -#: ../../../source/grntest.txt:64 -msgid "引数" -msgstr "" - -#: ../../../source/grntest.txt:68 -msgid "" -"grntestの動作方法(以下、grntest命令と呼びます)を記述したテキストファイルで" -"す。拡張子は.scrです。" -msgstr "" - -#: ../../../source/grntest.txt:72 -msgid "" -"grntestが利用するgroonga データベースです。指定されたデータベースが存在しない" -"場合、grntestが新規に作成します。またgroonga サーバを自動的に起動する場合もこ" -"の引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に" -"指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースにな" -"ることに注意してください。" -msgstr "" - -#: ../../../source/grntest.txt:76 -msgid "使い方" -msgstr "" - -#: ../../../source/grntest.txt:77 -msgid "まず、シェル上(Windowsならコマンドプロンプト上)で::" -msgstr "" - -#: ../../../source/grntest.txt:79 -msgid "grntest test.scr 任意のDB名" -msgstr "" - -#: ../../../source/grntest.txt:81 -msgid "とタイプしてください。もしgrntestが正常に動作すれば、::" -msgstr "" - -#: ../../../source/grntest.txt:83 -msgid "test-ユーザ名-数字.log" -msgstr "" - -#: ../../../source/grntest.txt:85 -msgid "" -"というファイルが作成されるはずです。作成されない場合、このドキュメントの「ト" -"ラブルシューティング」の章を参照してください。" -msgstr "" - -#: ../../../source/grntest.txt:89 -msgid "スクリプトファイル" -msgstr "" - -#: ../../../source/grntest.txt:91 -msgid "" -"スクリプトファイルは、grntest命令を記述したテキストファイルです。 \";\"セミコ" -"ロンを利用して、一行に複数のgrntest命令を記述することができます。一行に複数の" -"grntest命令がある場合、各命令は並列に実行されます。 \"#\"で始まる行はコメント" -"として扱われます。" -msgstr "" - -#: ../../../source/grntest.txt:98 -msgid "grntest命令" -msgstr "" - -#: ../../../source/grntest.txt:100 -msgid "現在サポートされているgrntest命令は以下の8つです。" -msgstr "" - -#: ../../../source/grntest.txt:102 -msgid "do_local コマンドファイル [スレッド数] [繰り返し数]" -msgstr "" - -#: ../../../source/grntest.txt:104 -msgid "" -"コマンドファイルをgrntest単体で実行します。スレッド数が指定されている場合、複" -"数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されて" -"い場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数と" -"も省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイ" -"ル 1 [繰り返し数]と明示的に指定してください。" -msgstr "" - -#: ../../../source/grntest.txt:106 -msgid "do_gqpt コマンドファイル [スレッド数] [繰り返し数]" -msgstr "" - -#: ../../../source/grntest.txt:108 -msgid "" -"コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味は" -"do_localの場合と同じです。" -msgstr "" - -#: ../../../source/grntest.txt:110 -msgid "rep_local コマンドファイル [スレッド数] [繰り返し数]" -msgstr "" - -#: ../../../source/grntest.txt:112 -msgid "コマンドファイルをgrntest単体で実行し、より詳細な報告を行います。" -msgstr "" - -#: ../../../source/grntest.txt:114 -msgid "rep_gqpt コマンドファイル [スレッド数] [繰り返し数]" -msgstr "" - -#: ../../../source/grntest.txt:116 -msgid "" -"コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド" -"数や繰り返し数の意味はdo_localと 同じです。" -msgstr "" - -#: ../../../source/grntest.txt:118 -msgid "out_local コマンドファイル 入力ファイル名" -msgstr "" - -#: ../../../source/grntest.txt:120 -msgid "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果をすべて”出力ファ" -"イル\"に書きだします。この結果は、test_local, test_gqtp命令で利用します。な" -"おこの命令の「出力ファイル」とは、grntest実行時に自動的に作成されるログとは別" -"のものです。grntestではコメントが利用できる以外、::" -msgstr "" - -#: ../../../source/grntest.txt:124 -msgid "とした場合と同じです。" -msgstr "" - -#: ../../../source/grntest.txt:126 -msgid "out_gqtp コマンドファイル 出力ファイル名" -msgstr "" - -#: ../../../source/grntest.txt:128 -msgid "" -"コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等で" -"す。" -msgstr "" - -#: ../../../source/grntest.txt:131 -msgid "" -"コマンドファイルをgrntest単体で実行し、各コマンドの実行結果を入力ファイルと比" -"較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル." -"diffというファイルに書きだします。" -msgstr "" - -#: ../../../source/grntest.txt:135 -msgid "コマンドファイル" -msgstr "" - -#: ../../../source/grntest.txt:137 -msgid "" -"コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファ" -"イルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:" -"`commands` を参照してください。" -msgstr "" - -#: ../../../source/grntest.txt:140 -msgid "サンプル" -msgstr "" - -#: ../../../source/grntest.txt:142 -msgid "スクリプトファイルのサンプルです。::" -msgstr "" - -#: ../../../source/grntest.txt:144 -msgid "" -"# sample script rep_local test.ddl do_local test.load; do_gqtp test.select " -"10 10; do_local test.status 10" -msgstr "" - -#: ../../../source/grntest.txt:150 -msgid "上記の意味は以下のとおりです。" -msgstr "" - -#: ../../../source/grntest.txt:153 -msgid "コメント行。" -msgstr "" - -#: ../../../source/grntest.txt:155 -msgid "test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。" -msgstr "" - -#: ../../../source/grntest.txt:157 -msgid "" -"test.load というコマンドファイルをgroonga単体で実行する。(最後の\";\"セミコロ" -"ンは複数のgrntest命令を記述する場合に必要ですが、この例のように1つのgrntest命" -"令を実行する場合に付与しても問題ありません。)" -msgstr "" - -#: ../../../source/grntest.txt:159 -msgid "" -"test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行" -"する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体で" -"test.statusというコマンドファイルを10個のスレッドで実行する。" -msgstr "" - -#: ../../../source/grntest.txt:162 -msgid "特殊命令" -msgstr "" - -#: ../../../source/grntest.txt:164 -msgid "" -"スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在" -"サポートされている特殊命令は以下の二つです。" -msgstr "" - -#: ../../../source/grntest.txt:167 -msgid "" -"-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPア" -"ドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコ" -"マンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。" -"SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプ" -"ションで指定した場合と同様です。" -msgstr "" - -#: ../../../source/grntest.txt:170 -msgid "" -"-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポー" -"ト番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプショ" -"ンを指定しなかった場合にもSET_PORTが優先されます。" -msgstr "" - -#: ../../../source/grntest.txt:173 -msgid "" -"特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイ" -"ル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。" -msgstr "" - -#: ../../../source/grntest.txt:175 -msgid "例えば、" -msgstr "" - -#: ../../../source/grntest.txt:179 -msgid "$ ./grntest --port 20010 test.scr testdb" -msgstr "" - -#: ../../../source/grntest.txt:181 -msgid "とコマンド上でポートを指定した場合でも、もしtest.scrの中身が" -msgstr "" - -#: ../../../source/grntest.txt:185 -msgid "" -"#SET_PORT 10900 rep_local test.ddl do_local test.load; rep_gqtp test.select " -"10 10; rep_local test.status 10 #SET_PORT 10400" -msgstr "" - -#: ../../../source/grntest.txt:191 -msgid "" -"であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。" -msgstr "" - -#: ../../../source/grntest.txt:195 -msgid "grntest実行結果" -msgstr "" - -#: ../../../source/grntest.txt:197 -msgid "" -"grntestが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時" -"刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイ" -"ルは自動的にftp.groonga.org に送信されます。ログファイルは以下のようなjson形" -"式のテキストです。" -msgstr "" - -#: ../../../source/grntest.txt:202 -msgid "" -"[{\"script\": \"test.scr\", \"user\": \"homepage\", \"date\": " -"\"2010-04-14 22:47:04\", \"CPU\": Intel(R) Pentium(R) 4 CPU 2.80GHz\", " -"\"BIT\": 32, \"CORE\": 1, \"RAM\": \"975MBytes\", \"HDD\": " -"\"257662232KBytes\", \"OS\": \"Linux 2.4.20-24.7-i686\", \"HOST\": " -"\"localhost\", \"PORT\": \"10041\", \"VERSION\": \"0.1.8-100-" -"ga54c5f8\" }, {\"jobs\": \"rep_local test.ddl\", \"detail\": [ [0, " -"\"table_create res_table --key_type ShortText\", 1490, 3086, " -"[0,1271252824.25846,0.00144 7]], [0, \"column_create res_table res_column --" -"type Text\", 3137, 5956, [0,1271252824.2601,0.002 741]], [0, \"column_create " -"res_table user_column --type Text\", 6020, 8935, [0,1271252824.26298,0.0 " -"02841]], [0, \"column_create res_table mail_column --type Text\", 8990, " -"11925, [0,1271252824.26595,0. 002861]], [0, \"column_create res_table " -"time_column --type Time\", 12008, 13192, [0,1271252824.26897,0 .001147]], " -"[0, \"status\", 13214, 13277, [0,1271252824.27018,3.0e-05]], [0, " -"\"table_create thread_table --key_type ShortText\", 13289, 14541, " -"[0,1271252824.27025,0. 001213]], [0, \"column_create thread_table " -"thread_title_column --type ShortText\", 14570, 17380, [0,12 " -"71252824.27153,0.002741]], [0, \"status\", 17435, 17480, " -"[0,1271252824.2744,2.7e-05]], [0, \"table_create lexicon_table --flags 129 --" -"key_type ShortText --default_tokenizer Token Bigram\", 17491, 18970, " -"[0,1271252824.27446,0.001431]], [0, \"column_create lexicon_table " -"inv_res_column 514 res_table res_column \", 18998, 33248, " -"[0,1271252824.27596,0.01418]], [0, \"column_create lexicon_table " -"inv_thread_column 514 thread_table thread_title_column \", 33285, 48472, " -"[0,1271252824.29025,0.015119]], [0, \"status\", 48509, 48554, " -"[0,1271252824.30547,2.7e-05]]], \"summary\" :[{\"job\": \"rep_local test.ddl" -"\", \"latency\": 48607, \"self\": 47719, \"qps\": 272.4281 73, \"min\": 45, " -"\"max\": 15187, \"queries\": 13}]}, {\"jobs\": \"do_local test.load; \", " -"\"summary\" :[{\"job\": \"do_local test.load\", \"latency\": 68693, \"self" -"\": 19801, \"qps\": 1010.049 997, \"min\": 202, \"max\": 5453, \"queries\": " -"20}]}, {\"jobs\": \"do_gqtp test.select 10 10; do_local test.status 10\", " -"\"summary\" :[{\"job\": \" do_local test.status 10\", \"latency\": 805990, " -"\"self\": 737014, \"qps\": 54.273053, \"min\": 24, \"max\": 218, \"queries" -"\": 40},{\"job\": \"do_gqtp test.select 10 10\", \"lat ency\": 831495, \"self" -"\": 762519, \"qps\": 1967.164097, \"min\": 73, \"max\": 135631, \"queries\": " -"15 00}]}, {\"total\": 915408, \"qps\": 1718.359464, \"queries\": 1573}]" -msgstr "" - -#: ../../../source/grntest.txt:255 -msgid "制限事項" -msgstr "" - -#: ../../../source/grntest.txt:257 -msgid "" -"スクリプトファイルの一行には複数のgrntest命令を記述できますが、すべてのスレッ" -"ド数の合計は最大64までに制限されます。" -msgstr "" - -#: ../../../source/grntest.txt:259 -msgid "コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。" -msgstr "" - -#: ../../../source/grntest.txt:263 -msgid "トラブルシューティング" -msgstr "" - -#: ../../../source/grntest.txt:265 -msgid "もし、grntestが正常に動作しない場合、まず以下を確認してください。" -msgstr "" - -#: ../../../source/grntest.txt:267 -msgid "" -"インターネットに接続しているか? --noftp モードを指定しない限り、grntestは動" -"作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、" -"grntestは正常に動作しません。" -msgstr "" - -#: ../../../source/grntest.txt:269 -msgid "" -"groonga サーバが動作していないか? grntestは、-i, --host オプションで明示的" -"にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。" -"すでにgroongaサーバが動作している場合、grntestは正常に動作しない可能性があり" -"ます。" -msgstr "" - -#: ../../../source/grntest.txt:271 -msgid "" -"指定したDBが適切か? grntestは、引数で指定したDBの中身はチェックしません。も" -"し指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存" -"在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性がありま" -"す。" -msgstr "" - -#: ../../../source/grntest.txt:273 -msgid "" -"以上の原因でなければ、問題はgrntestかgroongaにあります。ご報告をお願いしま" -"す。" -msgstr "" - -#: sphinx-built-in-message:0 -msgid "groonga < コマンドファイル > 出力ファイル" -msgstr "" Deleted: doc/locale/ja/LC_MESSAGES/http.po (+0 -131) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/http.po 2011-06-28 14:48:48 +0000 (cdfcb90) +++ /dev/null @@ -1,131 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:26\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/http.txt:6 -msgid "http" -msgstr "" - -#: ../../../source/http.txt:9 -msgid "名前" -msgstr "" - -#: ../../../source/http.txt:11 -msgid "groonga httpサービス" -msgstr "" - -#: ../../../source/http.txt:14 -msgid "書式" -msgstr "" - -#: ../../../source/http.txt:17 -msgid "" -"groonga -d --protocol http --document-root /usr/share/groonga/admin_html dest" -msgstr "" - -#: ../../../source/http.txt:20 -msgid "説明" -msgstr "" - -#: ../../../source/http.txt:22 -msgid "" -"groongaサーバを起動する時に--protocolオプションにhttpを指定すると、httpで通信" -"可能になります。また、--document-root によって静的ページのパスを指定すると、" -"httpリクエストに指定されたURIに対応する、パス配下に置かれたファイルを出力しま" -"す。" -msgstr "" - -#: ../../../source/http.txt:24 -msgid "" -"デフォルトでは/usr/share/groonga/admin_html配下に、データベース管理ツールとな" -"るファイル群がインストールされますので、このパスを指定してgroongaサーバを起動" -"し、ウェブブラウザでhttp://hostname:port/index.htmlにアクセスすると、管理ツー" -"ルが使用可能になります。" -msgstr "" - -#: ../../../source/http.txt:27 -msgid "コマンド" -msgstr "" - -#: ../../../source/http.txt:29 -msgid "" -"httpを指定して起動したgroongaサーバに対しても、他のモードで起動したgroongaと" -"同じコマンドが使用できます。" -msgstr "" - -#: ../../../source/http.txt:31 -msgid "" -"コマンドは、複数の引数をとります。引数にはそれぞれ名前があります。また、特殊" -"な引数である「output_type」と「command_version」があります。" -msgstr "" - -#: ../../../source/http.txt:33 -msgid "" -"スタンドアロンやクライアントモードでは、コマンドは以下のような形式で指定しま" -"す。" -msgstr "" - -#: ../../../source/http.txt:35 -msgid "形式1: コマンド名 値1 値2,.." -msgstr "" - -#: ../../../source/http.txt:37 -msgid "形式2: コマンド名 --引数名1 値1 --引数名2 値2,.." -msgstr "" - -#: ../../../source/http.txt:39 -msgid "" -"形式1と形式2は混在させることができます。これらの形式では、output_typeという引" -"数名を用いてoutput_typeを指定します。" -msgstr "" - -#: ../../../source/http.txt:41 -msgid "" -"httpでgroongaサーバと通信する際には、以下のような形式でコマンドを指定しま" -"す。::" -msgstr "" - -#: ../../../source/http.txt:43 -msgid "形式: /d/コマンド名.output_type?引数名1=値1&引数名2=値2&..." -msgstr "" - -#: ../../../source/http.txt:45 -msgid "ただし、コマンド名、引数名、値はURLエンコードが必要です。" -msgstr "" - -#: ../../../source/http.txt:47 -msgid "GETメソッドのみが使用可能です。" -msgstr "" - -#: ../../../source/http.txt:49 -msgid "output_typeにはjson, tsv, xmlが指定可能です。" -msgstr "" - -#: ../../../source/http.txt:51 -msgid "" -"command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:" -"`command_version` を参照してください。" -msgstr "" - -#: ../../../source/http.txt:54 -msgid "返値" -msgstr "" - -#: ../../../source/http.txt:56 -msgid "output_typeの指定に従って、コマンドの実行結果を出力します。" -msgstr "" Deleted: doc/locale/ja/LC_MESSAGES/process.po (+0 -22) 100644 =================================================================== --- doc/locale/ja/LC_MESSAGES/process.po 2011-06-28 14:48:48 +0000 (4cd603c) +++ /dev/null @@ -1,22 +0,0 @@ -# Japanese translations for 1.2.1 package. -# Copyright (C) 2009-2011, Brazil, Inc -# This file is distributed under the same license as the groonga package. -# Kouhei Sutou <kou****@clear*****>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: 1.2.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-24 18:26\n" -"PO-Revision-Date: 2011-05-09 00:36+0900\n" -"Last-Translator: Kouhei Sutou <kou****@clear*****>\n" -"Language-Team: Japanese\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: ../../../source/process.txt:6 -msgid "実行環境" -msgstr "" Added: doc/source/executables.txt (+14 -0) 100644 =================================================================== --- /dev/null +++ doc/source/executables.txt 2011-06-28 15:04:00 +0000 (5039f60) @@ -0,0 +1,14 @@ +.. -*- rst -*- + +.. highlightlang:: none + +実行ファイル +============ + +groongaパッケージが提供する実行ファイルについて説明します。 + +.. toctree:: + :maxdepth: 1 + :glob: + + executables/* Renamed: doc/source/executables/grnslap.txt (+0 -0) 100% =================================================================== Renamed: doc/source/executables/grntest.txt (+0 -0) 100% =================================================================== Renamed: doc/source/executables/groonga.txt (+0 -0) 100% =================================================================== Renamed: doc/source/executables/http.txt (+3 -3) 96% =================================================================== --- doc/source/http.txt 2011-06-28 14:48:48 +0000 (deb14da) +++ doc/source/executables/http.txt 2011-06-28 15:04:00 +0000 (23fa731) @@ -2,13 +2,13 @@ .. highlightlang:: none -http -==== +groonga HTTPサービス +==================== 名前 ---- -groonga httpサービス +groonga HTTPサービス 書式 ---- Deleted: doc/source/process.txt (+0 -14) 100644 =================================================================== --- doc/source/process.txt 2011-06-28 14:48:48 +0000 (c0ac9d6) +++ /dev/null @@ -1,14 +0,0 @@ -.. -*- rst -*- - -.. highlightlang:: none - -実行環境 -======== - -.. toctree:: - :maxdepth: 1 - - execfile - http - grnslap - grntest Modified: doc/source/reference.txt (+1 -1) =================================================================== --- doc/source/reference.txt 2011-06-28 14:48:48 +0000 (79e6ada) +++ doc/source/reference.txt 2011-06-28 15:04:00 +0000 (c4c1a08) @@ -8,7 +8,7 @@ .. toctree:: :maxdepth: 2 - process + executables commands type pseudo_column