null+****@clear*****
null+****@clear*****
2011年 12月 29日 (木) 10:01:21 JST
Susumu Yata 2011-12-29 10:01:21 +0900 (Thu, 29 Dec 2011) New Revision: a8cd95e97836f6683618a1e2c437bfe2b6caee69 Log: [doc] updated a po file. Modified files: doc/locale/ja/LC_MESSAGES/tutorial.po Modified: doc/locale/ja/LC_MESSAGES/tutorial.po (+1175 -312) =================================================================== --- doc/locale/ja/LC_MESSAGES/tutorial.po 2011-12-28 18:14:09 +0900 (4c36b61) +++ doc/locale/ja/LC_MESSAGES/tutorial.po 2011-12-29 10:01:21 +0900 (6041a19) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-02 12:59\n" +"POT-Creation-Date: 2011-12-28 16:29\n" "PO-Revision-Date: 2011-11-27 22:36+0900\n" "Last-Translator: Kouhei Sutou <kou****@clear*****>\n" "Language-Team: Japanese\n" @@ -79,8 +79,8 @@ msgstr "" #: ../../../source/example/tutorial/search-5.log:1 #: ../../../source/example/tutorial/search-6.log:1 #: ../../../source/example/tutorial/search-7.log:1 -#: ../../../source/tutorial/introduction.txt:28 -#: ../../../source/tutorial/network.txt:27 +#: ../../../source/tutorial/introduction.txt:26 +#: ../../../source/tutorial/network.txt:30 msgid "Execution example::" msgstr "実行例::" @@ -88,84 +88,84 @@ msgstr "実行例::" msgid "Tutorial" msgstr "チュートリアル" -#: ../../../source/tutorial/data.txt:8 +#: ../../../source/tutorial/data.txt:11 msgid "さまざまな種類をもったデータの保存" msgstr "" # 738f1680f3234b95b116746eda36b8fe -#: ../../../source/tutorial/data.txt:10 +#: ../../../source/tutorial/data.txt:13 msgid "groongaでは、さまざまなデータを格納させることが出来ます。" msgstr "" -#: ../../../source/tutorial/data.txt:13 +#: ../../../source/tutorial/data.txt:16 msgid "データ型" msgstr "" -#: ../../../source/tutorial/data.txt:15 +#: ../../../source/tutorial/data.txt:18 msgid "" "groongaでは、数値(整数・小数)や文字列や時刻や経緯度などの情報を格納すること" "ができます。" msgstr "" -#: ../../../source/tutorial/data.txt:17 +#: ../../../source/tutorial/data.txt:20 msgid "" "ここでは、Int32型のカラムに整数を格納、Float型のカラムに浮動小数点の小数を、" "ShortText型のカラムに文字列を、Time型のカラムに時間を格納する例を示します。経" "緯度の格納については、のちのチュートリアルで触れます。" msgstr "" -#: ../../../source/tutorial/data.txt:19 +#: ../../../source/tutorial/data.txt:22 msgid "その他のデータ型の一覧は、 :doc:`/type` を参照してください。" msgstr "" -#: ../../../source/tutorial/data.txt:35 +#: ../../../source/tutorial/data.txt:37 msgid "テーブル型" msgstr "" # 382bef0584a948cab53df2ebac23be66 -#: ../../../source/tutorial/data.txt:37 +#: ../../../source/tutorial/data.txt:39 msgid "table_createで作成したテーブルを、カラムの型として使うことが出来ます。" msgstr "" -#: ../../../source/tutorial/data.txt:39 +#: ../../../source/tutorial/data.txt:41 msgid "" "また、output_columnsにおいて「.」を区切りとして、参照先のテーブルに存在するカ" "ラムを指定すると、指定したカラムの値を表示することができます。" msgstr "" -#: ../../../source/tutorial/data.txt:41 +#: ../../../source/tutorial/data.txt:43 msgid "" "ここでは、先のチュートリアルで作成したSiteテーブルに手を加え、どのサイトをリ" "ンクしているのかを保存してみましょう。" msgstr "" -#: ../../../source/tutorial/data.txt:43 +#: ../../../source/tutorial/data.txt:45 msgid "" "他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの" "_keyカラムの値を代入する必要があります。" msgstr "" -#: ../../../source/tutorial/data.txt:52 +#: ../../../source/tutorial/data.txt:54 msgid "" "このように、linkカラムに他のサイトへの参照を保存することができました。また、" "参照先の_keyとtitleカラムの内容を表示することができました。" msgstr "" -#: ../../../source/tutorial/data.txt:55 +#: ../../../source/tutorial/data.txt:57 msgid "ベクターカラム" msgstr "" -#: ../../../source/tutorial/data.txt:57 +#: ../../../source/tutorial/data.txt:59 msgid "" "column_createコマンドでカラムを作成するとき、--flagsオプションでCOLUMN_VECTOR" "フラグを指定すると、複数の値を配列で格納できるカラムが作成されます。" msgstr "" -#: ../../../source/tutorial/data.txt:59 +#: ../../../source/tutorial/data.txt:61 msgid "テーブル型で配列を格納するカラムは、1対多の参照関係を表すのに有効です。" msgstr "" -#: ../../../source/tutorial/data.txt:61 +#: ../../../source/tutorial/data.txt:63 msgid "" "テーブル型のチュートリアルでは、Siteテーブルに手を加え、どのサイトをリンクし" "ているのかを保存しました。しかし、通常は1つのサイトから多くのサイトにリンクが" @@ -173,29 +173,29 @@ msgid "" "ラムを作成してみましょう。" msgstr "" -#: ../../../source/tutorial/data.txt:63 +#: ../../../source/tutorial/data.txt:65 msgid "" "他のテーブルを参照するベクターカラムにデータを入力する場合には、参照先のテー" "ブルの_keyカラムの値の「配列」を代入する必要があります。" msgstr "" -#: ../../../source/tutorial/data.txt:74 +#: ../../../source/tutorial/data.txt:76 msgid "" "このように、複数の参照関係が保存できました。また、output_columnsによって、複" "数の参照先のカラム値も表示させることができました。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:13 +#: ../../../source/tutorial/drilldown.txt:11 msgid "ドリルダウン" msgstr "" -#: ../../../source/tutorial/drilldown.txt:15 +#: ../../../source/tutorial/drilldown.txt:13 msgid "" "groongaでは、特定のカラム値で検索結果をグループ化することができます。これをド" "リルダウンと呼びます。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:17 +#: ../../../source/tutorial/drilldown.txt:15 msgid "" "Siteテーブルに2つのカラムを追加します。TLDドメイン名を格納するdomainカラム" "と、国名を格納するcountryカラムです。これらのカラムの型は、それぞれドメイン名" @@ -203,11 +203,11 @@ msgid "" "ます。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:38 +#: ../../../source/tutorial/drilldown.txt:36 msgid "domainカラムとcountryカラムでドリルダウンを行う例を以下に示します。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:44 +#: ../../../source/tutorial/drilldown.txt:42 msgid "" "テーブル型を持つカラムに対してドリルダウンを行った場合、参照先のテーブルに存" "在するカラム値を取得することもできます。ドリルダウンを行ったテーブルには、" @@ -215,27 +215,27 @@ msgid "" "レコード数が入ります。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:50 +#: ../../../source/tutorial/drilldown.txt:48 msgid "" "複数のカラムに対してドリルダウンを行うことができます。複数のカラムに対してド" "リルダウンを行う場合には、drilldownパラメータにカラム名をカンマ区切りで与えま" "す。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:56 +#: ../../../source/tutorial/drilldown.txt:54 msgid "" "ドリルダウン結果を並びかえることができます。例えば、_nsubrecsパラメータの降順" "で並び替えることができます。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:62 +#: ../../../source/tutorial/drilldown.txt:60 msgid "" "ドリルダウン結果は、デフォルトでは10件のみ表示されます。drilldown_offsetパラ" "メータと、drilldown_limitパラメータによって、offsetとlimitを指定することがで" "きます。" msgstr "" -#: ../../../source/tutorial/drilldown.txt:68 +#: ../../../source/tutorial/drilldown.txt:66 msgid "" "文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速で" "す。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文" @@ -243,38 +243,38 @@ msgid "" "します。" msgstr "" -#: ../../../source/tutorial/index.txt:10 +#: ../../../source/tutorial/index.txt:11 msgid "タグ検索・参照関係の逆引き" msgstr "" -#: ../../../source/tutorial/index.txt:12 +#: ../../../source/tutorial/index.txt:13 msgid "" "本チュートリアルで、groongaはカラム値として他のテーブルへの参照の配列を持つこ" "とができることを紹介いたしました。実は、テーブルへの参照の配列データを用いる" "ことによって、いわゆるタグ検索を行うことが可能となります。" msgstr "" -#: ../../../source/tutorial/index.txt:14 +#: ../../../source/tutorial/index.txt:15 msgid "" "タグ検索はgroongaの転置インデックスというデータ構造を用いて高速に行われます。" msgstr "" -#: ../../../source/tutorial/index.txt:17 +#: ../../../source/tutorial/index.txt:18 msgid "タグ検索" msgstr "" -#: ../../../source/tutorial/index.txt:19 +#: ../../../source/tutorial/index.txt:20 msgid "" "動画共有サイトの検索エンジンを作ることを想定します。1つの動画には、その動画の" "特徴を表す、複数の語句が付与されています。「ある語句が付与されている動画の一" "覧を取得する」検索を行いたいとします。" msgstr "" -#: ../../../source/tutorial/index.txt:21 +#: ../../../source/tutorial/index.txt:22 msgid "実際に、動画情報のテーブルを作成し、検索をしてみましょう。" msgstr "" -#: ../../../source/tutorial/index.txt:23 +#: ../../../source/tutorial/index.txt:24 msgid "" "動画の情報を保存する、Videoテーブルを作成します。Videoテーブルでは、動画のタ" "イトルをtitleカラムに、動画のタグ情報をtagsカラムにTagテーブル型で複数格納し" @@ -283,84 +283,84 @@ msgid "" "index_tagsカラムに格納しています。" msgstr "" -#: ../../../source/tutorial/index.txt:45 +#: ../../../source/tutorial/index.txt:46 msgid "" "インデックスカラムを作成すると、全文検索が高速に行えるようになります。イン" "デックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に" "更新されます。" msgstr "" -#: ../../../source/tutorial/index.txt:47 +#: ../../../source/tutorial/index.txt:48 msgid "「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。" msgstr "" -#: ../../../source/tutorial/index.txt:55 +#: ../../../source/tutorial/index.txt:56 msgid "" "このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うこ" "とができました。" msgstr "" -#: ../../../source/tutorial/index.txt:58 +#: ../../../source/tutorial/index.txt:59 msgid "参照関係の逆引き" msgstr "" -#: ../../../source/tutorial/index.txt:60 +#: ../../../source/tutorial/index.txt:61 msgid "" "groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与する" "ことができます。タグ検索は、その1例にすぎません。" msgstr "" -#: ../../../source/tutorial/index.txt:62 +#: ../../../source/tutorial/index.txt:63 msgid "" "例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索すること" "ができます。" msgstr "" -#: ../../../source/tutorial/index.txt:64 +#: ../../../source/tutorial/index.txt:65 msgid "" "以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納す" "るusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのイン" "デックスのindex_friendsカラムを追加しています。" msgstr "" -#: ../../../source/tutorial/index.txt:82 +#: ../../../source/tutorial/index.txt:83 msgid "" "指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。" msgstr "" -#: ../../../source/tutorial/index.txt:89 +#: ../../../source/tutorial/index.txt:90 msgid "" "さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみま" "しょう。" msgstr "" -#: ../../../source/tutorial/index.txt:95 +#: ../../../source/tutorial/index.txt:96 msgid "このように、テーブルの参照関係を逆にたどる検索ができました。" msgstr "" -#: ../../../source/tutorial/index.txt:98 +#: ../../../source/tutorial/index.txt:99 msgid "インデックス付きジオサーチ" msgstr "" # 922d1d03bd144f599ee52828119b3284 -#: ../../../source/tutorial/index.txt:100 +#: ../../../source/tutorial/index.txt:101 msgid "" "位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情" "報レコードを検索する場合に、検索速度が速くなります。" msgstr "" -#: ../../../source/tutorial/index.txt:113 +#: ../../../source/tutorial/index.txt:114 msgid "" "同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。" msgstr "" # 3da56138e9904419b4dcc5d036e81a07 -#: ../../../source/tutorial/introduction.txt:11 +#: ../../../source/tutorial/introduction.txt:9 msgid "Basic operations" msgstr "基本的な操作" # 7a5094c3e47443369b7daf194fe51c68 -#: ../../../source/tutorial/introduction.txt:13 +#: ../../../source/tutorial/introduction.txt:11 msgid "" "The groonga package provides a C library (libgroonga) and a command line " "tool (groonga). This tutorial explains how to use the groonga command, with " @@ -373,26 +373,30 @@ msgstr "" "サーバの起動・サーバへの接続などの操作が行えます。" # 2053368aefe74a5d9363bf95cb157d4a -#: ../../../source/tutorial/introduction.txt:16 +#: ../../../source/tutorial/introduction.txt:14 msgid "Create a database" msgstr "データベースの作成" -#: ../../../source/tutorial/introduction.txt:18 +#: ../../../source/tutorial/introduction.txt:16 msgid "You can create a new database with the following command." msgstr "" "以下のようなコマンドを実行すると、データベースを新規に作成することができま" "す。" -#: ../../../source/tutorial/introduction.txt:20 -#: ../../../source/tutorial/introduction.txt:37 -#: ../../../source/tutorial/network.txt:18 -#: ../../../source/tutorial/network.txt:38 -#: ../../../source/tutorial/network.txt:71 +#: ../../../source/tutorial/introduction.txt:18 +#: ../../../source/tutorial/introduction.txt:35 +#: ../../../source/tutorial/network.txt:21 +#: ../../../source/tutorial/network.txt:41 +#: ../../../source/tutorial/network.txt:74 msgid "Form::" msgstr "書式::" +#: ../../../source/tutorial/introduction.txt:20 +msgid "groonga -n DB_PATH_NAME" +msgstr "" + # 98d46d97a1e34f3e8151087450cb3c0d -#: ../../../source/tutorial/introduction.txt:24 +#: ../../../source/tutorial/introduction.txt:22 msgid "" "The '-n' option specifies to create a new database. DB_PATH_NAME specifies " "the path of the new database. Note that this command fails if the specified " @@ -402,7 +406,7 @@ msgstr "" "作成するデータベースのパスを指定します。指定されたパスが既に存在するときはコ" "マンドが失敗するので注意してください。" -#: ../../../source/tutorial/introduction.txt:26 +#: ../../../source/tutorial/introduction.txt:24 msgid "" "This command creates a database and then enters into interactive mode in " "which groonga prompts you to enter commands for operating that database. You " @@ -412,18 +416,26 @@ msgstr "" "モードに入ります。Ctrlキーを押しながらdキーを押すと、対話モードから抜けること" "ができます。" +#: ../../../source/tutorial/introduction.txt:28 +msgid "% groonga -n /tmp/tutorial.db > Ctrl-d %" +msgstr "" + # d658120aeaf84578b997493e5e6c9737 -#: ../../../source/tutorial/introduction.txt:35 +#: ../../../source/tutorial/introduction.txt:33 msgid "Operate a database" msgstr "データベースの操作" +#: ../../../source/tutorial/introduction.txt:37 +msgid "groonga DB_PATH_NAME [COMMAND]" +msgstr "" + # 98d46d97a1e34f3e8151087450cb3c0d -#: ../../../source/tutorial/introduction.txt:41 +#: ../../../source/tutorial/introduction.txt:39 msgid "DB_PATH_NAME specifies the path of a target database." msgstr "操作対象のデータベースのパスをDB_PATH_NAMEに指定します。" # bbd1e3b24ab142a9a23b30d186a1bfb5 -#: ../../../source/tutorial/introduction.txt:43 +#: ../../../source/tutorial/introduction.txt:41 msgid "" "If COMMAND is specified, groonga executes COMMAND and returns the result. " "Otherwise, groonga starts in interactive mode that reads commands from the " @@ -435,16 +447,16 @@ msgstr "" "を読み込み、順次実行します。本チュートリアルでは、対話モードを主に使用しま" "す。" -#: ../../../source/tutorial/introduction.txt:45 +#: ../../../source/tutorial/introduction.txt:43 msgid "" -"Let's try to see the status of a groonga process by using a command :doc:`/" -"commands/status`." +"Let's try to see the status of a groonga process by using a :doc:`/commands/" +"status` command." msgstr "" "それでは、statusというコマンドを実行してみましょう。statusコマンドは、groonga" "の実行状態を返すコマンドです。" # f20f73567cf74f89928a062e06b51594 -#: ../../../source/tutorial/introduction.txt:52 +#: ../../../source/tutorial/introduction.txt:50 msgid "" "As shown in the above example, a command basically returns a JSON array. The " "first element contains an error code, execution time, etc. The second " @@ -455,16 +467,16 @@ msgstr "" "コマンドによって指定された操作の実行結果が入ります。" # 039d52210dbb4bbf8923efd307eb8be8 -#: ../../../source/tutorial/introduction.txt:55 +#: ../../../source/tutorial/introduction.txt:53 msgid "Command format" msgstr "コマンドの書式" # 7d741d7734244269b7bed966b12359ed -#: ../../../source/tutorial/introduction.txt:57 +#: ../../../source/tutorial/introduction.txt:55 msgid "Commands for operating a database accept arguments as follows::" msgstr "データベースを操作するコマンドには、以下の書式で引数を与えます。::" -#: ../../../source/tutorial/introduction.txt:63 +#: ../../../source/tutorial/introduction.txt:61 msgid "" "In the first form, arguments must be passed in order. This kind of arguments " "are called positional arguments because the position of each argument " @@ -473,7 +485,7 @@ msgstr "" "書式1では値を適切な順番で渡す必要があります。このような引数は、位置によって値" "の意味が決まるため、位置固定引数などと呼ばれることもあります。" -#: ../../../source/tutorial/introduction.txt:65 +#: ../../../source/tutorial/introduction.txt:63 msgid "" "In the second form, you can specify a parameter name with its value. So, the " "order of arguments is not defined. This kind of arguments are known as named " @@ -483,8 +495,14 @@ msgstr "" "できます。このような引数は、名前付き引数やキーワード引数と呼ばれることもあり" "ます。" +#: ../../../source/tutorial/introduction.txt:65 +msgid "" +"Form_1: COMMAND VALUE_1 VALUE_2 .. Form_2: COMMAND --NAME_1 VALUE_1 --" +"NAME_2 VALUE_2 .." +msgstr "" + # 7da00e489d7f4bbd835e4e19057de278 -#: ../../../source/tutorial/introduction.txt:67 +#: ../../../source/tutorial/introduction.txt:65 msgid "" "If you want to specify a value which contains white-spaces or special " "characters, such as quotes and parentheses, please enclose the value with " @@ -494,7 +512,7 @@ msgstr "" "ブルクォート(\")で値を囲むようにしてください。" # 8ae549a22ed54274a31717f115927311 -#: ../../../source/tutorial/introduction.txt:69 +#: ../../../source/tutorial/introduction.txt:67 msgid "" "For details, see also the paragraph of \"command\" in :doc:`/executables/" "groonga`." @@ -502,55 +520,55 @@ msgstr "" "詳しくは、 :doc:`/executables/groonga` のコマンドの項を参考にしてください。" # 3da56138e9904419b4dcc5d036e81a07 -#: ../../../source/tutorial/introduction.txt:72 +#: ../../../source/tutorial/introduction.txt:70 msgid "Basic commands" msgstr "主なコマンド" # 602f9e43757345a1b0bc3a57a5b595ea -#: ../../../source/tutorial/introduction.txt:75 -msgid "Show status of a groonga process." +#: ../../../source/tutorial/introduction.txt:73 +msgid "shows status of a groonga process." msgstr "groongaプロセスの状態を表示します。" # f35fc92dd787414ebd0561453131adb4 -#: ../../../source/tutorial/introduction.txt:77 -msgid "Show a list of tables defined in a database." +#: ../../../source/tutorial/introduction.txt:75 +msgid "shows a list of tables in a database." msgstr "データベースに定義されているテーブルのリストを表示します。" # e18aeb6cbc8b4c28b0cb38508c6c8b00 -#: ../../../source/tutorial/introduction.txt:79 -msgid "Show a list of columns defined in a table." +#: ../../../source/tutorial/introduction.txt:77 +msgid "shows a list of columns in a table." msgstr "テーブルに定義されているカラムのリストを表示します。" # 0d2bb03bc0114bbb8ad3a1b9670c865d -#: ../../../source/tutorial/introduction.txt:81 -msgid "Add a table to a database." +#: ../../../source/tutorial/introduction.txt:79 +msgid "adds a table to a database." msgstr "データベースにテーブルを追加します。" # 714cfb440b37481d81291c5386fce6b1 -#: ../../../source/tutorial/introduction.txt:83 -msgid "Add a column to a table." +#: ../../../source/tutorial/introduction.txt:81 +msgid "adds a column to a table." msgstr "テーブルにカラムを追加します。" -#: ../../../source/tutorial/introduction.txt:85 -msgid "Search records from a table and show the result." +#: ../../../source/tutorial/introduction.txt:83 +msgid "searches records from a table and shows the result." msgstr "テーブルに含まれるレコードを検索して表示します。" # 1e5193b6ca864ba3b773170879f49631 -#: ../../../source/tutorial/introduction.txt:87 -msgid "Insert records to a table." +#: ../../../source/tutorial/introduction.txt:85 +msgid "inserts records to a table." msgstr "テーブルにレコードを挿入します。" # 92c83c9cbfde4c2b8d67b2897204b7a2 -#: ../../../source/tutorial/introduction.txt:90 +#: ../../../source/tutorial/introduction.txt:88 msgid "Create a table" msgstr "テーブルの作成" # 1e74fb8068674cafb7c2776d998e7ce8 -#: ../../../source/tutorial/introduction.txt:92 +#: ../../../source/tutorial/introduction.txt:90 msgid "A :doc:`/commands/table_create` command creates a table." msgstr ":doc:`/commands/table_create` コマンドを使用してテーブルを作成します。" -#: ../../../source/tutorial/introduction.txt:94 +#: ../../../source/tutorial/introduction.txt:92 msgid "" "In most cases, a table of groonga has a primary key which must be specified " "with its data type and index type." @@ -558,7 +576,7 @@ msgstr "" "groongaのテーブルには基本的に主キーが必要であり、テーブルを作成する際には型と" "格納方法も併せて指定する必要があります。" -#: ../../../source/tutorial/introduction.txt:96 +#: ../../../source/tutorial/introduction.txt:94 msgid "" "There are various data types such as integers, floating-point numbers, etc. " "The index type determines the search performance and the availability of " @@ -569,7 +587,7 @@ msgstr "" "前方一致検索の可否などを左右します。こちらも後で説明します。" # d453562a86794510ad66cf951cf62a3e -#: ../../../source/tutorial/introduction.txt:98 +#: ../../../source/tutorial/introduction.txt:96 msgid "" "Let's create a 'Site' table which has a primary key of ShortText. In this " "example, the index type is HASH." @@ -578,18 +596,18 @@ msgstr "" "型がShortTextで格納方法はHASHとしています。" # 92c83c9cbfde4c2b8d67b2897204b7a2 -#: ../../../source/tutorial/introduction.txt:105 +#: ../../../source/tutorial/introduction.txt:103 msgid "View a table" msgstr "テーブルの表示" # 8cb3ff01469d48e28b6875b2554741e8 -#: ../../../source/tutorial/introduction.txt:107 +#: ../../../source/tutorial/introduction.txt:105 msgid "A :doc:`/commands/select` command shows contents of table." msgstr "" ":doc:`/commands/select` コマンドを用いて、テーブルの中身を表示することができ" "ます。" -#: ../../../source/tutorial/introduction.txt:113 +#: ../../../source/tutorial/introduction.txt:111 msgid "" "When only a table is specified, the 'select' command returns the first (at " "most) 10 records of that table. \"[0]\" in the result shows the number of " @@ -605,7 +623,7 @@ msgstr "" "それぞれ表しています。" # 1a57023af4614d00a11b2a36f650aa4b -#: ../../../source/tutorial/introduction.txt:115 +#: ../../../source/tutorial/introduction.txt:113 msgid "" "The above two columns, '_id' and '_key', are the necessary columns. The " "'_id' column stores IDs those are automatically allocated by groonga. The " @@ -618,44 +636,44 @@ msgstr "" "きません。" # bb371206793e407ab12db2864ee8d152 -#: ../../../source/tutorial/introduction.txt:118 +#: ../../../source/tutorial/introduction.txt:116 msgid "Create a column" msgstr "カラムの作成" # 4e5488d852844f238c41dfc94e49fa73 -#: ../../../source/tutorial/introduction.txt:120 +#: ../../../source/tutorial/introduction.txt:118 msgid "A :doc:`/commands/column_create` command adds a column to a table." msgstr "" ":doc:`/commands/column_create` コマンドを用いて、カラムを作成することができま" "す。" -#: ../../../source/tutorial/introduction.txt:122 +#: ../../../source/tutorial/introduction.txt:120 msgid "" -"Let's add a column of ShortText to store comments. You may give a " -"descriptive name 'comment' to the column." +"Let's add a column of ShortText to store titles. You may give a descriptive " +"name 'title' to the column." msgstr "" -"ここでは、ShortText型の値を持つ'comment'という名前のカラムを'Site'テーブルに" -"追加してみましょう。" +"ここでは、ShortText型の値を持つ'title'という名前のカラムを'Site'テーブルに追" +"加してみましょう。" # ebaa9fac28bb433096e04d02e20cc877 -#: ../../../source/tutorial/introduction.txt:129 +#: ../../../source/tutorial/introduction.txt:127 msgid "The COLUMN_SCALAR flag specifies to add a regular column." msgstr "" "COLUMN_SCALAR は'comment'を通常のカラムとして作成することを指示しています。" # 86701e6e96324ccba83052699027da21 -#: ../../../source/tutorial/introduction.txt:132 +#: ../../../source/tutorial/introduction.txt:130 msgid "Create a lexicon table for full text searches" msgstr "全文検索用の語彙表の作成" # 86701e6e96324ccba83052699027da21 -#: ../../../source/tutorial/introduction.txt:134 +#: ../../../source/tutorial/introduction.txt:132 msgid "Let's go on to how to make a full text search." msgstr "そろそろ全文検索の使い方について見ていきましょう。" -#: ../../../source/tutorial/introduction.txt:136 +#: ../../../source/tutorial/introduction.txt:134 msgid "" -"Groonga uses an inverted index to provide fast full text searches. So, the " +"Groonga uses an inverted index to provide fast full text search. So, the " "first step is to create a lexicon table which stores an inverted index, also " "known as postings lists. The primary key of this table is associated with a " "vocabulary made up of index terms and each record stores postings lists for " @@ -667,7 +685,7 @@ msgstr "" "引語の位置情報を格納するという構成になります。結果として、主キーのカラムは全" "文検索における語彙表の役割を果たします。" -#: ../../../source/tutorial/introduction.txt:138 +#: ../../../source/tutorial/introduction.txt:136 msgid "" "The following shows a command which creates a lexicon table named 'Terms'. " "The data type of its primary key is ShortText." @@ -675,7 +693,7 @@ msgstr "" "以下の例では、'Terms'という名前のテーブルを転置インデックスとして作成していま" "す。索引語を格納するため、主キーの型はShortTextです。" -#: ../../../source/tutorial/introduction.txt:144 +#: ../../../source/tutorial/introduction.txt:142 msgid "" "The table_create command takes many parameters but you don't need to " "understand all of them. Please skip the next paragraph if you are not " @@ -686,12 +704,12 @@ msgstr "" "してもらってかまいません。" # 7cded565e72b46869c9d7e759dfcddb6 -#: ../../../source/tutorial/introduction.txt:146 +#: ../../../source/tutorial/introduction.txt:144 msgid "" "The 'TABLE_PAT_KEY' flag specifies to store index terms in a patricia trie. " "The 'KEY_NORMALIZE' flag specifies to normalize index terms. In this " "example, both flags are validated by using a '|'. The 'default_tokenizer' " -"parameter specifies the method for tokenizing text. This example specifies " +"parameter specifies a method for tokenizing text. This example specifies " "'TokenBigram' that is generally called 'N-gram'." msgstr "" "実行例にあるTABLE_PAT_KEY|KEY_NORMALIZEという値は、主キー値をパトリシア木に格" @@ -701,13 +719,13 @@ msgstr "" "クス方式に対応するTokenBigramを指定しています。" # 86701e6e96324ccba83052699027da21 -#: ../../../source/tutorial/introduction.txt:149 +#: ../../../source/tutorial/introduction.txt:147 msgid "Create an index column for full text search" msgstr "全文検索用のインデックスカラムの作成" -#: ../../../source/tutorial/introduction.txt:151 +#: ../../../source/tutorial/introduction.txt:149 msgid "" -"The second step is to create an index column which allows you to search " +"The second step is to create an index column, which allows you to search " "records from its associated column. That is to say this step specifies which " "column needs an index." msgstr "" @@ -715,7 +733,7 @@ msgstr "" "付けられたカラムに対する全文検索に利用されます。つまり、全文検索を行いたいカ" "ラムに対してインデックスを作成することに相当します。" -#: ../../../source/tutorial/introduction.txt:153 +#: ../../../source/tutorial/introduction.txt:151 msgid "" "Let's create an index column for the 'title' column in the 'Site' table." msgstr "" @@ -723,7 +741,7 @@ msgstr "" "のカラムを作成してみましょう。" # 83e0fea2854347a48a4e1330fbd06a7e -#: ../../../source/tutorial/introduction.txt:159 +#: ../../../source/tutorial/introduction.txt:157 msgid "" "This command creates an index column 'blog_title' in the 'Terms' table. The " "'--type' option specifies a target table and the '--source' option specifies " @@ -741,33 +759,33 @@ msgstr "" "については、本チュートリアルでは触れません。" # 38feede6a058434f83b272cfa520cfc2 -#: ../../../source/tutorial/introduction.txt:162 +#: ../../../source/tutorial/introduction.txt:160 msgid "Load data" msgstr "データのロード" # 4e5488d852844f238c41dfc94e49fa73 -#: ../../../source/tutorial/introduction.txt:164 +#: ../../../source/tutorial/introduction.txt:162 msgid "" "A :doc:`/commands/load` command loads JSON-formatted records into a table." msgstr "" ":doc:`/commands/load` コマンドを使用します。loadコマンドでは、json形式で受け" "取ったデータをテーブルに格納します。" -#: ../../../source/tutorial/introduction.txt:166 +#: ../../../source/tutorial/introduction.txt:164 msgid "The following adds nine records to the 'Site' table." msgstr "以下の例では9つのレコードをSiteテーブルに格納します。" # 370b2f236b6f4af78389aafc61011d31 -#: ../../../source/tutorial/introduction.txt:183 +#: ../../../source/tutorial/introduction.txt:181 msgid "Let's make sure that these records are correctly stored." msgstr "selectコマンドで、データが入っていることを確認しましょう。" # d8bf03692e02439bb1c43be9b811e2b9 -#: ../../../source/tutorial/introduction.txt:190 +#: ../../../source/tutorial/introduction.txt:188 msgid "Search data" msgstr "データの検索" -#: ../../../source/tutorial/introduction.txt:192 +#: ../../../source/tutorial/introduction.txt:190 msgid "" "Before a full text search, let's try to search data by '_id' and '_key'. " "These columns work as unique keys." @@ -777,7 +795,7 @@ msgstr "" "ればレコードが一意に決まります。" # 1941bed5dec1414cae47cdd2bc92d2cc -#: ../../../source/tutorial/introduction.txt:194 +#: ../../../source/tutorial/introduction.txt:192 msgid "" "You can search records by using a 'select' command with a 'query' parameter." msgstr "" @@ -785,18 +803,18 @@ msgstr "" "ます。" # 5e2fb9da8d4148a4b788b09ee4e2f7af -#: ../../../source/tutorial/introduction.txt:200 +#: ../../../source/tutorial/introduction.txt:198 msgid "'_id:1' specifies to search a record whose ID is 1." msgstr "" "queryパラメータに与えた「_id:1」というのは、'_id'という名前のカラムに'1'とい" "う値が入っているレコードを検索する、という意味です。" -#: ../../../source/tutorial/introduction.txt:202 +#: ../../../source/tutorial/introduction.txt:200 msgid "Next, let's search a record by a primary key." msgstr "_keyでも検索してみましょう。" # b3ddc475fb9e49099bbf9a8abccae598 -#: ../../../source/tutorial/introduction.txt:208 +#: ../../../source/tutorial/introduction.txt:206 msgid "" "'_key:\\\"http://example.org/\\\"' specifies to search a record whose " "primary key is \"http://example.org/\"." @@ -806,18 +824,18 @@ msgstr "" "コードを検索する、という意味です。" # 889b663bc7ff431f888baf85574207d5 -#: ../../../source/tutorial/introduction.txt:211 +#: ../../../source/tutorial/introduction.txt:209 msgid "Full text search" msgstr "全文検索" -#: ../../../source/tutorial/introduction.txt:213 +#: ../../../source/tutorial/introduction.txt:211 msgid "" "It's time to make a full text search. You can make a full text search query " "with the same 'query' parameter." msgstr "" "queryパラメータでは、インデックスを用いた全文検索を行うこともできます。" -#: ../../../source/tutorial/introduction.txt:219 +#: ../../../source/tutorial/introduction.txt:217 msgid "" "This command searches records whose 'title' column contains a string 'this'. " "In this case, only one record matches this query. Note that the lower case " @@ -830,7 +848,7 @@ msgstr "" "KEY_NORMALIZEという値を指定したため、大文字と小文字の違いが吸収されていること" "に注意してください。" -#: ../../../source/tutorial/introduction.txt:221 +#: ../../../source/tutorial/introduction.txt:219 msgid "" "The 'select' command has an optional parameter 'match_columns'. This " "parameter specifies default target columns and it is used when target " @@ -841,7 +859,7 @@ msgstr "" "条件にのみ適用されます。[1]_" # fe9bfc13759d46b4a0b76f729a7d6c77 -#: ../../../source/tutorial/introduction.txt:223 +#: ../../../source/tutorial/introduction.txt:221 msgid "" "A combination of '--match_columns title' and '--query this' brings you the " "same result that '--query title:@this' does." @@ -850,12 +868,12 @@ msgstr "" "ると、上記のクエリと同じ結果を得ることができます。" # 12e3b87c0ed64703a7ef66eff3bce8af -#: ../../../source/tutorial/introduction.txt:230 +#: ../../../source/tutorial/introduction.txt:228 msgid "Specify output columns" msgstr "出力カラムの指定" # cada70fbbe534c64a949a3c07a6b0039 -#: ../../../source/tutorial/introduction.txt:232 +#: ../../../source/tutorial/introduction.txt:230 msgid "" "An 'output_columns' parameter in a 'select' command specifies columns to be " "shown in the search result. If you want to specify more than one columns, " @@ -865,7 +883,7 @@ msgstr "" "めるカラムを指定することができます。複数のカラムを指定する場合は、カンマ(,)区" "切りで指定します。" -#: ../../../source/tutorial/introduction.txt:238 +#: ../../../source/tutorial/introduction.txt:236 msgid "" "This command specifies three output columns including the '_score' column, " "which stores the relevance score of each record." @@ -875,11 +893,11 @@ msgstr "" "ムには、全文検索の条件に合致する文書ほど高い数値が入ります。" # 12e3b87c0ed64703a7ef66eff3bce8af -#: ../../../source/tutorial/introduction.txt:241 +#: ../../../source/tutorial/introduction.txt:239 msgid "Specify output ranges" msgstr "表示範囲指定" -#: ../../../source/tutorial/introduction.txt:243 +#: ../../../source/tutorial/introduction.txt:241 msgid "" "A 'select' command returns a part of its search result if 'offset' and/or " "'limit' parameters are specified. These parameters are useful to paginate a " @@ -890,7 +908,7 @@ msgstr "" "定された範囲のみを表示することができます。大量の検索結果をページで分けて、1" "ページ分のみを表示したい場合に有用です。" -#: ../../../source/tutorial/introduction.txt:245 +#: ../../../source/tutorial/introduction.txt:243 msgid "" "An 'offset' parameter specifies the starting point and a 'limit' parameter " "specifies the maximum number of records to be returned. If you need the " @@ -900,12 +918,12 @@ msgstr "" "には、0を指定します。limitパラメータには、検索結果の表示件数を指定します。" # 12e5037843f446c6a307a2e5c54237d7 -#: ../../../source/tutorial/introduction.txt:254 +#: ../../../source/tutorial/introduction.txt:252 msgid "Sort" msgstr "並び替え" # cada70fbbe534c64a949a3c07a6b0039 -#: ../../../source/tutorial/introduction.txt:256 +#: ../../../source/tutorial/introduction.txt:254 msgid "" "A 'select' command sorts its result when used with a 'sortby' parameter." msgstr "" @@ -913,7 +931,7 @@ msgstr "" "ことができます。" # a5a5613c2bf640fabc845b6b549c6c5c -#: ../../../source/tutorial/introduction.txt:258 +#: ../../../source/tutorial/introduction.txt:256 msgid "" "A 'sortby' parameter specifies a column as a sorting creteria. A search " "result is arranged in ascending order of the column values. If you want to " @@ -924,7 +942,7 @@ msgstr "" "す。また、カラム名の前にハイフン(-)を付けることで、降順にソートすることもで" "きます。" -#: ../../../source/tutorial/introduction.txt:264 +#: ../../../source/tutorial/introduction.txt:262 msgid "" "You can use the '_score' column as a sorting criteria for ranking a search " "result." @@ -932,7 +950,7 @@ msgstr "" "出力カラムの指定で紹介した「_score」カラムは、ソートの条件としても使うことが" "できます。" -#: ../../../source/tutorial/introduction.txt:270 +#: ../../../source/tutorial/introduction.txt:268 msgid "" "If you want to specify more than one columns, please separate column names " "by commas. In such a case, a search result is sorted in order of the column " @@ -944,11 +962,11 @@ msgstr "" "ラムの値でソートさせることができます。" # 483e363f1f964ab3a2be02e9c2b67b17 -#: ../../../source/tutorial/introduction.txt:277 +#: ../../../source/tutorial/introduction.txt:275 msgid "footnote" msgstr "脚注" -#: ../../../source/tutorial/introduction.txt:278 +#: ../../../source/tutorial/introduction.txt:276 msgid "" "Currently, a 'match_columns' parameter is available iff there exists an " "inverted index for full text search. A 'match_columns' parameter for a " @@ -973,22 +991,22 @@ msgstr "" msgid "この項目については、現在執筆中です。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:12 +#: ../../../source/tutorial/match_columns.txt:9 msgid "match_columnsパラメータ" msgstr "" -#: ../../../source/tutorial/match_columns.txt:15 +#: ../../../source/tutorial/match_columns.txt:12 msgid "複数のカラムを対象とした全文検索" msgstr "" -#: ../../../source/tutorial/match_columns.txt:17 +#: ../../../source/tutorial/match_columns.txt:14 msgid "" "groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブ" "ログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとし" "ましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:19 +#: ../../../source/tutorial/match_columns.txt:16 msgid "" "この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つず" "つインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのイン" @@ -996,11 +1014,11 @@ msgid "" "いる場合でも、同一の記法で全文検索を行うことができます。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:22 +#: ../../../source/tutorial/match_columns.txt:19 msgid "カラムごとにインデックスを付与する場合" msgstr "" -#: ../../../source/tutorial/match_columns.txt:24 +#: ../../../source/tutorial/match_columns.txt:21 msgid "" "Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加し" "ています。 インデックス用のIndexBlog1テーブルも作り、titleカラムのインデック" @@ -1009,229 +1027,303 @@ msgid "" msgstr "" # b5b69e0bad9d4b229fd7f08db85d6348 -#: ../../../source/tutorial/match_columns.txt:42 +#: ../../../source/tutorial/match_columns.txt:39 msgid "" "match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索" "する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全" "文検索することができます。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:44 +#: ../../../source/tutorial/match_columns.txt:41 msgid "実際に検索してみましょう。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:53 +#: ../../../source/tutorial/match_columns.txt:50 msgid "複数のカラムにまたがったインデックスを付与する場合" msgstr "" -#: ../../../source/tutorial/match_columns.txt:55 +#: ../../../source/tutorial/match_columns.txt:52 msgid "" "内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックス" "が共通になっており、インデックスカラムが1つしかありません。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:57 +#: ../../../source/tutorial/match_columns.txt:54 msgid "" "共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの" "検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:74 +#: ../../../source/tutorial/match_columns.txt:71 msgid "実際に検索してみましょう。結果は上の例と同じになります。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:83 +#: ../../../source/tutorial/match_columns.txt:80 msgid "インデックス名を指定した全文検索" msgstr "" -#: ../../../source/tutorial/match_columns.txt:85 -#: ../../../source/tutorial/match_columns.txt:92 +#: ../../../source/tutorial/match_columns.txt:82 +#: ../../../source/tutorial/match_columns.txt:89 msgid "執筆中です。" msgstr "" -#: ../../../source/tutorial/match_columns.txt:90 +#: ../../../source/tutorial/match_columns.txt:87 msgid "インデックスの重み" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:12 +#: ../../../source/tutorial/micro_blog.txt:9 msgid "マイクロブログ検索システムの作成" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:14 +#: ../../../source/tutorial/micro_blog.txt:11 msgid "" "これまで学んだgroongaの機能を用いて、マイクロブログの検索システムを作成してみ" "ましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログで" "す。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:17 +#: ../../../source/tutorial/micro_blog.txt:14 msgid "テーブルの作成" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:19 +#: ../../../source/tutorial/micro_blog.txt:16 msgid "まずは、テーブルを作成します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:51 +#: ../../../source/tutorial/micro_blog.txt:20 +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" +msgstr "" + +#: ../../../source/tutorial/micro_blog.txt:48 msgid "Usersテーブル" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:53 +#: ../../../source/tutorial/micro_blog.txt:50 msgid "" "ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を" "格納するためのテーブルです。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:56 +#: ../../../source/tutorial/micro_blog.txt:53 msgid "ユーザーID" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:59 +#: ../../../source/tutorial/micro_blog.txt:56 msgid "ユーザー名" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:62 +#: ../../../source/tutorial/micro_blog.txt:59 msgid "フォローしているユーザーの一覧" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:65 +#: ../../../source/tutorial/micro_blog.txt:62 msgid "お気に入りのコメント一覧" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:68 +#: ../../../source/tutorial/micro_blog.txt:65 msgid "ユーザーの現在地(緯度経度座標)" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:71 +#: ../../../source/tutorial/micro_blog.txt:68 msgid "ユーザーの現在地(文字列)" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:74 +#: ../../../source/tutorial/micro_blog.txt:71 msgid "ユーザーの自己紹介" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:77 +#: ../../../source/tutorial/micro_blog.txt:74 msgid "" "Usersテーブルのfollowerカラムに対するインデックス。 このインデックスを作るこ" "とで、あるユーザーをフォローしているユーザーを検索できるようになります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:81 +#: ../../../source/tutorial/micro_blog.txt:78 msgid "Commentsテーブル" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:83 +#: ../../../source/tutorial/micro_blog.txt:80 msgid "" "コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブ" "ルです。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:86 +#: ../../../source/tutorial/micro_blog.txt:83 msgid "コメントID" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:89 +#: ../../../source/tutorial/micro_blog.txt:86 msgid "コメント内容" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:92 +#: ../../../source/tutorial/micro_blog.txt:89 msgid "投稿日時" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:95 +#: ../../../source/tutorial/micro_blog.txt:92 msgid "返信元のコメント内容" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:98 +#: ../../../source/tutorial/micro_blog.txt:95 msgid "返信先のユーザーの一覧" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:101 +#: ../../../source/tutorial/micro_blog.txt:98 msgid "コメントのハッシュタグの一覧" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:104 +#: ../../../source/tutorial/micro_blog.txt:101 msgid "投稿場所(緯度経度座標のため)" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:107 +#: ../../../source/tutorial/micro_blog.txt:104 msgid "コメントを書いたユーザー" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:110 +#: ../../../source/tutorial/micro_blog.txt:107 msgid "" "Usersテーブルのfavoritesカラムに対するインデックス。 このインデックスを作るこ" "とで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになり" "ます。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:114 +#: ../../../source/tutorial/micro_blog.txt:111 msgid "HashTagsテーブル" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:116 +#: ../../../source/tutorial/micro_blog.txt:113 msgid "コメントのハッシュタグを一覧で保存するためのテーブルです。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:119 +#: ../../../source/tutorial/micro_blog.txt:116 msgid "ハッシュタグ" msgstr "" # 5e188c51bec24646954e58a55b1d5ec5 -#: ../../../source/tutorial/micro_blog.txt:122 +#: ../../../source/tutorial/micro_blog.txt:119 msgid "" "「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定した" "ハッシュタグのついているコメントの一覧を出すことが出来るようになります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:126 +#: ../../../source/tutorial/micro_blog.txt:123 msgid "Bigramテーブル" msgstr "" # 8e68bf66b34a470d9be215f2c55ed5d0 -#: ../../../source/tutorial/micro_blog.txt:128 +#: ../../../source/tutorial/micro_blog.txt:125 msgid "" "ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納す" "るテーブルです。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:131 +#: ../../../source/tutorial/micro_blog.txt:128 msgid "単語" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:134 +#: ../../../source/tutorial/micro_blog.txt:131 msgid "" "ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地" "「Users.location_str」、自己紹介文「Users.description」のインデックスになって" "います。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:138 +#: ../../../source/tutorial/micro_blog.txt:135 msgid "コメント内容「Comments.comment」のインデックス" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:141 +#: ../../../source/tutorial/micro_blog.txt:138 msgid "データのロード" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:143 +#: ../../../source/tutorial/micro_blog.txt:140 msgid "つづいて、テスト用データをロードします。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:241 +#: ../../../source/tutorial/micro_blog.txt:144 +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\", } ]" +msgstr "" + +#: ../../../source/tutorial/micro_blog.txt:238 msgid "" "Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルの" "replied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値" "を指定します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:243 +#: ../../../source/tutorial/micro_blog.txt:240 msgid "" "Usersテーブルのlocationカラムと、Commentsテーブルのlocationカラムは、GeoPoint" "型です。この型での値の指定は、\"[緯度]x[経度]\"と記述して指定します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:245 +#: ../../../source/tutorial/micro_blog.txt:242 msgid "" "Commentsテーブルのlast_modifiedカラムは、Time型です。この型での値の指定方法" "は、マイクロ秒数の値を直接指定する方法のほかに、文字列で指定する方法もありま" @@ -1239,75 +1331,75 @@ msgid "" "に文字列からキャストされ、マイクロ秒数の値が格納されます。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:373 -#: ../../../source/tutorial/query_expansion.txt:41 +#: ../../../source/tutorial/micro_blog.txt:370 +#: ../../../source/tutorial/query_expansion.txt:46 msgid "検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:375 +#: ../../../source/tutorial/micro_blog.txt:372 msgid "それでは、実際に検索をしてみましょう。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:378 +#: ../../../source/tutorial/micro_blog.txt:375 msgid "キーワードでユーザー検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:379 +#: ../../../source/tutorial/micro_blog.txt:376 msgid "" "ここでは、 :doc:`match_columns` で扱った、複数カラムを対象とした検索を行いま" "す。 指定された文字列で、ユーザー名・現在地・自己紹介文を対象に検索をします。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:386 +#: ../../../source/tutorial/micro_blog.txt:383 msgid "" "「東京」をキーワードにユーザー検索した結果、東京都に住んでいる「グニャラく" "ん」と「OffGao」がヒットしました。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:389 +#: ../../../source/tutorial/micro_blog.txt:386 msgid "GeoPointでユーザー検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:391 +#: ../../../source/tutorial/micro_blog.txt:388 msgid "" "ここでは、 :doc:`search` で扱った、GeoPoint型のカラムで検索をします。 以下の" "例では、指定された位置から5000m以内にいるユーザーを検索しています。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:398 +#: ../../../source/tutorial/micro_blog.txt:395 msgid "" "新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と" "「OffGao」がヒットしました。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:401 +#: ../../../source/tutorial/micro_blog.txt:398 msgid "あるユーザーをフォローしているユーザーの検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:403 +#: ../../../source/tutorial/micro_blog.txt:400 msgid "" "ここでは、 :doc:`index` で扱った、参照関係の逆引きをします。 以下の例では、" "Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:410 +#: ../../../source/tutorial/micro_blog.txt:407 msgid "" "「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしまし" "た。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:413 +#: ../../../source/tutorial/micro_blog.txt:410 msgid "GeoPointでコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:414 +#: ../../../source/tutorial/micro_blog.txt:411 msgid "" "ある範囲内で書かれたコメントを検索します。 また、 :doc:`drilldown` で扱ったド" "リルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、ユー" "ザー別・ハッシュタグ別のカウントを出します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:421 +#: ../../../source/tutorial/micro_blog.txt:418 msgid "" "範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そし" "て、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタ" @@ -1315,104 +1407,104 @@ msgid "" "それぞれ2件ずつであることがわかります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:424 +#: ../../../source/tutorial/micro_blog.txt:421 msgid "キーワードでコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:425 +#: ../../../source/tutorial/micro_blog.txt:422 msgid "" "あるキーワードを含むコメントを検索します。 さらに、 :doc:`search` で扱った、" "スコア値_scoreも出してみましょう。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:432 +#: ../../../source/tutorial/micro_blog.txt:429 msgid "" "「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。ま" "た、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できま" "す。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:435 +#: ../../../source/tutorial/micro_blog.txt:432 msgid "GeoPointとキーワードでコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:436 +#: ../../../source/tutorial/micro_blog.txt:433 msgid "" "今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filter" "の両方を使用した場合、両方の条件に一致するレコードがヒットします。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:442 +#: ../../../source/tutorial/micro_blog.txt:439 msgid "" "両方の条件を満たすコメントが1件ヒットしました。また、ドリルダウンの結果も返っ" "てきており、「グニャラくん」のコメント1件であることがわかります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:445 +#: ../../../source/tutorial/micro_blog.txt:442 msgid "ハッシュタグでコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:446 +#: ../../../source/tutorial/micro_blog.txt:443 msgid "" "あるハッシュタグのついているコメントを検索します。 これも、 :doc:`index` で" "扱った、参照関係の逆引きを使います。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:453 +#: ../../../source/tutorial/micro_blog.txt:450 msgid "" "#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダ" "ウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:456 +#: ../../../source/tutorial/micro_blog.txt:453 msgid "ユーザーIDでコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:457 +#: ../../../source/tutorial/micro_blog.txt:454 msgid "あるユーザーが投稿したコメントを検索します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:463 +#: ../../../source/tutorial/micro_blog.txt:460 msgid "" "「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグ" "でドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに" "「#travel」が1つあることがわかります。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:466 +#: ../../../source/tutorial/micro_blog.txt:463 msgid "ユーザーのお気に入りコメントを検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:467 +#: ../../../source/tutorial/micro_blog.txt:464 msgid "あるユーザーがお気に入りに入れているコメントを検索します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:473 +#: ../../../source/tutorial/micro_blog.txt:470 msgid "「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:476 +#: ../../../source/tutorial/micro_blog.txt:473 msgid "投稿時間でコメント検索" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:477 +#: ../../../source/tutorial/micro_blog.txt:474 msgid "" "コメントの投稿時間で検索をします。Time型については :doc:`data` で扱っていま" "す。 この例では、指定した時間よりも前に投稿されているコメントを検索します。" msgstr "" -#: ../../../source/tutorial/micro_blog.txt:484 +#: ../../../source/tutorial/micro_blog.txt:481 msgid "" "2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダ" "ウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒット" "していることがわかります。" msgstr "" -#: ../../../source/tutorial/network.txt:8 +#: ../../../source/tutorial/network.txt:11 msgid "How to use groonga with network" msgstr "ネットワークを通じた利用" -#: ../../../source/tutorial/network.txt:10 +#: ../../../source/tutorial/network.txt:13 msgid "" "You can use groonga with network. When you run groonga by using the groonga " "original protocol or HTTP, groonga accepts connection for network." @@ -1421,15 +1513,19 @@ msgstr "" "しくはHTTPのどちらかを選択してgroongaを起動することにより、groongaはネット" "ワーク接続を待ち受けます。" -#: ../../../source/tutorial/network.txt:13 +#: ../../../source/tutorial/network.txt:16 msgid "Connect with groonga's original protocol" msgstr "groonga専用プロトコルによる通信" -#: ../../../source/tutorial/network.txt:16 +#: ../../../source/tutorial/network.txt:19 msgid "Run groonga daemon" msgstr "groongaデーモンの起動" -#: ../../../source/tutorial/network.txt:22 +#: ../../../source/tutorial/network.txt:23 +msgid "groonga [-p PORT_NUMBER] -d DB_PATH_NAME" +msgstr "" + +#: ../../../source/tutorial/network.txt:25 msgid "" "The DB_PATH_NAME is set the full-path of existing database. With this form, " "you can run groonga as a daemon and connect by with groonga original " @@ -1440,21 +1536,29 @@ msgstr "" "で起動し、指定したポート番号でgroongaの専用プロトコルを用いた通信をすることが" "できます。(ポート番号を省略した場合は10041が使用されます)" -#: ../../../source/tutorial/network.txt:33 +#: ../../../source/tutorial/network.txt:32 +msgid "% groonga -d /tmp/groonga-databases/introduction.db 12345 %" +msgstr "" + +#: ../../../source/tutorial/network.txt:36 msgid "Groonga shows its process ID on daemon mode." msgstr "デーモンモードで起動後、プロセス番号が表示されます。" -#: ../../../source/tutorial/network.txt:36 +#: ../../../source/tutorial/network.txt:39 msgid "Connect to groonga server" msgstr "groongaサーバへの接続" -#: ../../../source/tutorial/network.txt:42 +#: ../../../source/tutorial/network.txt:43 +msgid "groonga [-p PORT_NUMBER] -c [HOST_NAME_OR_IP_ADDRESS]" +msgstr "" + +#: ../../../source/tutorial/network.txt:45 msgid "" "This command connects to groonga server running at specified " "HOST_NAME_OR_IP_ADDRESS." msgstr "対象ホストで動作しているgroongaサーバに接続します。" -#: ../../../source/tutorial/network.txt:44 +#: ../../../source/tutorial/network.txt:47 msgid "" "When you don't specify HOST_NAME_OR_IP_ADDRESS, this command connects to " "groonga server running at localhost. When you don't specify PORT_NUMBER, " @@ -1463,7 +1567,7 @@ msgstr "" "対象ホスト名を省略した場合はlocalhostに対して接続し、対象ポート番号を省略した" "場合は10041ポートに対して接続します。" -#: ../../../source/tutorial/network.txt:46 +#: ../../../source/tutorial/network.txt:49 msgid "" "Groonga runs in interactive mode after connect to groonga server " "successfully. Groonga reads command from standard input and evaluates it " @@ -1472,28 +1576,28 @@ msgstr "" "接続に成功すると対話モードに入り、標準入力からコマンドを読み込んで順次実行し" "ます。" -#: ../../../source/tutorial/network.txt:56 +#: ../../../source/tutorial/network.txt:59 msgid "Terminate groonga daemon" msgstr "groongaデーモンの終了" -#: ../../../source/tutorial/network.txt:58 +#: ../../../source/tutorial/network.txt:61 msgid "You can terminate groonga daemon with shutdown command." msgstr "" "groongaデーモンにshutdownコマンドを発行することにより、終了させることができま" "す。" -#: ../../../source/tutorial/network.txt:67 +#: ../../../source/tutorial/network.txt:70 msgid "Connect with HTTP" msgstr "HTTPによる通信" -#: ../../../source/tutorial/network.txt:69 +#: ../../../source/tutorial/network.txt:72 msgid "" "You need to run groonga in HTTP protocol mode when you want to use groonga " "via HTTP." msgstr "" "groongaをHTTP経由で利用したい場合には、HTTPプロトコルモードで起動します。" -#: ../../../source/tutorial/network.txt:75 +#: ../../../source/tutorial/network.txt:78 msgid "" "`--protocol` option specifies a protocol of groonga server. `http` means " "that groonga accepts connections via HTTP." @@ -1501,11 +1605,11 @@ msgstr "" "protocolオプションで、groongaが受け付けるプロトコルを指定できます。httpを指定" "すると、groongaはHTTPプロトコルでの通信を受け付けます。" -#: ../../../source/tutorial/network.txt:78 +#: ../../../source/tutorial/network.txt:81 msgid "Administration tool based on HTML" msgstr "HTML管理ツール" -#: ../../../source/tutorial/network.txt:80 +#: ../../../source/tutorial/network.txt:83 msgid "" "You can access administration tool based on HTML at `http://" "[HOST_NAME_OR_IP_ADDRESS]:[PORT_NUMBER]/` after the above command is ran. " @@ -1515,11 +1619,11 @@ msgstr "" "ラウザからアクセスすると、HTML管理ツールが表示されます。ブラウザは、" "JavaScriptの実行が有効になっている必要があります。" -#: ../../../source/tutorial/network.txt:83 +#: ../../../source/tutorial/network.txt:86 msgid "Run command with HTTP" msgstr "HTTPでのコマンド実行" -#: ../../../source/tutorial/network.txt:85 +#: ../../../source/tutorial/network.txt:88 msgid "" "You can run command at `/d/COMMAND_NAME` when groonga is ran in HTTP " "protocol mode." @@ -1527,7 +1631,7 @@ msgstr "" "groongaがHTTPプロトコルモードで起動されているとき、「/d/コマンド名」というURL" "にアクセスすると、コマンドを実行することができます。" -#: ../../../source/tutorial/network.txt:87 +#: ../../../source/tutorial/network.txt:90 msgid "" "Command options are passed as HTTP's GET parameters. They are in `?" "OPTION=VALUE&OPTION=VALUE&...` form." @@ -1535,11 +1639,15 @@ msgstr "" "コマンドのオプションは、HTTPのGETパラメータで渡します。つまり、「?オプション=" "値&オプション=値 …」という書式になります。" -#: ../../../source/tutorial/network.txt:101 +#: ../../../source/tutorial/network.txt:94 +msgid "groonga [-p PORT_NUMBER] -d --protocol http DB_PATH_NAME" +msgstr "" + +#: ../../../source/tutorial/network.txt:104 msgid "Security" msgstr "セキュリティ" -#: ../../../source/tutorial/network.txt:103 +#: ../../../source/tutorial/network.txt:106 msgid "" "Network service of groonga doesn't support authentication. Everyone can view " "and modify the database. We recommend that you restrict client accesses by " @@ -1549,38 +1657,38 @@ msgstr "" "容を閲覧・修正することができます。iptablesなどを用いて、アクセス元IPアドレス" "を制限することを薦めます。" -#: ../../../source/tutorial/patricia_trie.txt:10 +#: ../../../source/tutorial/patricia_trie.txt:9 msgid "パトリシア木による前方一致検索" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:12 +#: ../../../source/tutorial/patricia_trie.txt:11 msgid "" "groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方" "一致検索を行うことができます。また、追加のオプションを指定することにより、主" "キーの後方一致検索をも行うことができます。" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:15 +#: ../../../source/tutorial/patricia_trie.txt:14 msgid "主キーによる前方一致検索" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:17 +#: ../../../source/tutorial/patricia_trie.txt:16 msgid "" "table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キー" "による前方一致検索ができるようになります。" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:32 +#: ../../../source/tutorial/patricia_trie.txt:31 msgid "主キーによる後方一致検索" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:34 +#: ../../../source/tutorial/patricia_trie.txt:33 msgid "" "table_createコマンドのflagsオプションにTABLE_PAT_KEYとKEY_WITH_SISを指定する" "ことで、主キーによる前方一致検索・後方一致検索の両方が可能となります。" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:36 +#: ../../../source/tutorial/patricia_trie.txt:35 msgid "" "KEY_WITH_SISフラグを付与すると、データを追加する際に後方一致用のレコードも追" "加されてしまいます。そのため、単純に検索すると、元のレコードに加えて自動的に" @@ -1588,35 +1696,35 @@ msgid "" "一工夫必要になります。" msgstr "" -#: ../../../source/tutorial/patricia_trie.txt:38 +#: ../../../source/tutorial/patricia_trie.txt:37 msgid "" "例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元の" "レコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが " "``true`` も検索条件に加えます。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:6 +#: ../../../source/tutorial/query_expansion.txt:9 msgid "クエリ拡張" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:8 +#: ../../../source/tutorial/query_expansion.txt:11 msgid "" "groongaでは、 :doc:`/commands/select` コマンドにquery_expansionパラメータを指" "定することによって、ユーザが指定した検索文字列を適宜拡張することが可能です。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:10 +#: ../../../source/tutorial/query_expansion.txt:13 msgid "" "たとえば、ユーザが'シークヮーサー'という文字列で検索した場合に、'シークヮー" "サー OR シークァーサー'で検索した場合と同一の結果を返すことによって、本来ユー" "ザが必要とする結果をよりもれなく検索できるようになります。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:13 +#: ../../../source/tutorial/query_expansion.txt:16 msgid "準備" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:15 +#: ../../../source/tutorial/query_expansion.txt:18 msgid "" "クエリ拡張機能を使用するためには、検索対象となる文書を格納するテーブル(ここで" "は文書テーブルと呼びます)以外に、ユーザの指定した検索文字列を置換するための" @@ -1625,180 +1733,186 @@ msgid "" "となります。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:17 +#: ../../../source/tutorial/query_expansion.txt:20 +msgid "" +"TODO: 文字列型のベクターカラムでも可能であり、その場合は各要素をORでつなげた" +"ものに置換されるということを記述する。" +msgstr "" + +#: ../../../source/tutorial/query_expansion.txt:22 msgid "実際に文書テーブルと置換テーブルを作成してみましょう。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:38 +#: ../../../source/tutorial/query_expansion.txt:43 msgid "" "この例では、ユーザが\"シークァーサー\"と入力しても、\"シークヮーサー\"と入力" "しても、それぞれの異なる表記の文書をもれなく検索するための置換テーブルを作成" "しています。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:43 +#: ../../../source/tutorial/query_expansion.txt:48 msgid "" "それでは実際に、準備した置換テーブルを使ってみましょう。まずは、" "query_expansionパラメータを指定せずにselectコマンドを使って検索してみます。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:50 +#: ../../../source/tutorial/query_expansion.txt:55 msgid "" "指定された文字列に完全に一致するレコードのみがそれぞれヒットします。次に、" "query_expansionパラメータに、準備したSynonymテーブルのbodyカラムを指定してみ" "ましょう。" msgstr "" -#: ../../../source/tutorial/query_expansion.txt:57 +#: ../../../source/tutorial/query_expansion.txt:62 msgid "" "どちらのクエリ文字列も、\"(シークァーサー OR シークヮーサー)\"という文字列に" "置換されてから検索されるため、表記の揺れを吸収して検索できるようになりまし" "た。" msgstr "" -#: ../../../source/tutorial/search.txt:8 +#: ../../../source/tutorial/search.txt:11 msgid "さまざまな検索条件の指定" msgstr "" -#: ../../../source/tutorial/search.txt:10 +#: ../../../source/tutorial/search.txt:13 msgid "" "groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行う" "ことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことがで" "きます。" msgstr "" -#: ../../../source/tutorial/search.txt:13 +#: ../../../source/tutorial/search.txt:16 msgid "JavaScriptに似た文法での絞込・全文検索" msgstr "" -#: ../../../source/tutorial/search.txt:15 +#: ../../../source/tutorial/search.txt:18 msgid "" "selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条" "件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメー" "タには、JavaScriptの式に似た文法で条件を指定する点です。" msgstr "" -#: ../../../source/tutorial/search.txt:21 +#: ../../../source/tutorial/search.txt:24 msgid "ここで、filterパラメータには" msgstr "" -#: ../../../source/tutorial/search.txt:23 +#: ../../../source/tutorial/search.txt:26 msgid "_id <= 1" msgstr "" -#: ../../../source/tutorial/search.txt:25 +#: ../../../source/tutorial/search.txt:28 msgid "" "という条件を指定しています。この場合は_idの値が1以下のレコードが検索結果とし" "て得られます。" msgstr "" -#: ../../../source/tutorial/search.txt:27 +#: ../../../source/tutorial/search.txt:30 msgid "また、&& や || を使って、条件のAND・OR指定をすることもできます。" msgstr "" -#: ../../../source/tutorial/search.txt:34 +#: ../../../source/tutorial/search.txt:37 msgid "" "queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たす" "レコードが結果として返ります。" msgstr "" -#: ../../../source/tutorial/search.txt:37 +#: ../../../source/tutorial/search.txt:40 msgid "scorerを利用したソート" msgstr "" -#: ../../../source/tutorial/search.txt:39 +#: ../../../source/tutorial/search.txt:42 msgid "" "selectコマンドのscorerパラメータは、 全文検索を行った結果の各レコードに対して" "処理を行うためのパラメータです。" msgstr "" -#: ../../../source/tutorial/search.txt:42 +#: ../../../source/tutorial/search.txt:45 msgid "" "filterパラメータと同様に、 JavaScriptの式に似たな文法で様々な条件を指定するこ" "とができます。" msgstr "" -#: ../../../source/tutorial/search.txt:50 +#: ../../../source/tutorial/search.txt:53 msgid "" "検索結果には、'_score'という名前の、全文検索のスコアが代入されている仮想的な" "カラムが付与されることをチュートリアル中ソートの項目で説明しました。" msgstr "" -#: ../../../source/tutorial/search.txt:52 +#: ../../../source/tutorial/search.txt:55 msgid "上記の実行例では、scorerパラメータに" msgstr "" -#: ../../../source/tutorial/search.txt:54 +#: ../../../source/tutorial/search.txt:57 msgid "_score = rand()" msgstr "" -#: ../../../source/tutorial/search.txt:56 +#: ../../../source/tutorial/search.txt:59 msgid "" "という条件を指定しています。ここでは、rand()という乱数を返す関数を用いて、全" "文検索のスコアを乱数で上書きしています。" msgstr "" -#: ../../../source/tutorial/search.txt:58 +#: ../../../source/tutorial/search.txt:61 msgid "sortbyパラメータには、" msgstr "" -#: ../../../source/tutorial/search.txt:60 +#: ../../../source/tutorial/search.txt:63 msgid "_score" msgstr "" -#: ../../../source/tutorial/search.txt:62 +#: ../../../source/tutorial/search.txt:65 msgid "" "を指定しています。これは、スコア順に昇順にソートすることを意味しています。" msgstr "" -#: ../../../source/tutorial/search.txt:64 +#: ../../../source/tutorial/search.txt:67 msgid "" "よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わりま" "す。" msgstr "" -#: ../../../source/tutorial/search.txt:67 +#: ../../../source/tutorial/search.txt:70 msgid "位置情報を用いた絞込・ソート" msgstr "" -#: ../../../source/tutorial/search.txt:69 +#: ../../../source/tutorial/search.txt:72 msgid "" "groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度" "を用いて絞込やソートができます。" msgstr "" -#: ../../../source/tutorial/search.txt:71 +#: ../../../source/tutorial/search.txt:74 msgid "" "位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの" "型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存しま" "す。" msgstr "" -#: ../../../source/tutorial/search.txt:73 +#: ../../../source/tutorial/search.txt:76 msgid "経緯度は以下のいずれかの形式の文字列として指定します。" msgstr "" -#: ../../../source/tutorial/search.txt:75 +#: ../../../source/tutorial/search.txt:78 msgid "\"[緯度のミリ秒]x[経度のミリ秒]\"(例: \"128452975x503157902\")" msgstr "" -#: ../../../source/tutorial/search.txt:76 +#: ../../../source/tutorial/search.txt:79 msgid "\"[緯度のミリ秒],[経度のミリ秒]\"(例: \"128452975,503157902\")" msgstr "" -#: ../../../source/tutorial/search.txt:77 +#: ../../../source/tutorial/search.txt:80 msgid "" "\"[緯度の小数表記の度数]x[経度の小数表記の度数]\"(例: " "\"35.6813819x139.7660839\")" msgstr "" -#: ../../../source/tutorial/search.txt:78 +#: ../../../source/tutorial/search.txt:81 msgid "" "\"[緯度の小数表記の度数],[経度の小数表記の度数]\"(例: " "\"35.6813819,139.7660839\")" msgstr "" -#: ../../../source/tutorial/search.txt:80 +#: ../../../source/tutorial/search.txt:83 msgid "" "ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみ" "ましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅" @@ -1808,45 +1922,794 @@ msgid "" "ます。ここではミリ秒表記で登録しましょう。" msgstr "" -#: ../../../source/tutorial/search.txt:92 +#: ../../../source/tutorial/search.txt:95 msgid "" "scorerパラメータにおいて、 :doc:`/functions/geo_distance` 関数を用いることに" "より、2点間の距離を計算することができます。" msgstr "" -#: ../../../source/tutorial/search.txt:94 +#: ../../../source/tutorial/search.txt:97 msgid "" "ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅" "の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、" "geo_distance関数に与える文字列は\"128515259x503187188\"となります。" msgstr "" -#: ../../../source/tutorial/search.txt:100 +#: ../../../source/tutorial/search.txt:103 msgid "" "この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れている" "ようです。" msgstr "" -#: ../../../source/tutorial/search.txt:102 +#: ../../../source/tutorial/search.txt:105 msgid "geo_distance関数は、_scoreを通じてソートでも用いることができます。" msgstr "" -#: ../../../source/tutorial/search.txt:108 +#: ../../../source/tutorial/search.txt:111 msgid "「ある地点から何m以内に存在する」といった絞込も可能です。" msgstr "" -#: ../../../source/tutorial/search.txt:110 +#: ../../../source/tutorial/search.txt:113 msgid "" "filterパラメータにおいて、 :doc:`/functions/geo_in_circle` 関数を用いることに" "より、2点間の距離が指定のm以下におさまるかどうかを判定することができます。" msgstr "" -#: ../../../source/tutorial/search.txt:112 +#: ../../../source/tutorial/search.txt:115 msgid "たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。" msgstr "" -#: ../../../source/tutorial/search.txt:118 +#: ../../../source/tutorial/search.txt:121 msgid "" "また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/" "geo_in_rectangle` 関数も存在します。" msgstr "" + +#: ../source/example/tutorial/data-1.log:29 +msgid "" +"> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1322616293.7274,0.012551106],true] > column_create --table Type --name " +"number --type Int32 [[0,1322616293.94115,0.008619605],true] > column_create " +"--table Type --name float --type Float [[0,1322616294.15095,0.004959989]," +"true] > column_create --table Type --name string --type ShortText " +"[[0,1322616294.35693,0.005551818],true] > column_create --table Type --name " +"time --type Time [[0,1322616294.56333,0.006356953],true] > load --table Type " +"> [{\"_key\":\"sample\",\"number\":12345,\"float\":42.195,\"string\":" +"\"GROONGA\",\"time\":1234567890.12}] [[0,1322616294.77086,0.202357708],1] > " +"select --table Type [[0,1322616295.1744,0.000340057],[[[1],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"float\",\"Float\"],[\"number\"," +"\"Int32\"],[\"string\",\"ShortText\"],[\"time\",\"Time\"]],[1,\"sample" +"\",42.195,12345,\"GROONGA\",1234567890.12]]]]" +msgstr "" + +#: ../source/example/tutorial/data-2.log:72 +msgid "" +"> column_create --table Site --name link --type Site " +"[[0,1322616295.37864,0.005674045],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"link\":\"http://example.net/\"}] " +"[[0,1322616295.5854,0.200879317],1] > select --table Site --output_columns " +"_key,title,link._key,link.title --query title:@this " +"[[0,1322616295.98732,0.000872177],[[[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 "" + +#: ../source/example/tutorial/data-3.log:106 +msgid "" +"> column_create --table Site --name links --flags COLUMN_VECTOR --type Site " +"[[0,1322616296.19238,0.007598942],true] > load --table Site > [{\"_key\":" +"\"http://example.org/\",\"links\":[\"http://example.net/\",\"http://example." +"org/\",\"http://example.com/\"]}] [[0,1322616296.40092,0.201036234],1] > " +"select --table Site --output_columns _key,title,links._key,links.title --" +"query title:@this [[0,1322616296.80305,0.000899975],[[[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 "" + +#: ../source/example/tutorial/drilldown-1.log:22 +msgid "" +"> table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1317212750.98228,0.098212593],true] > table_create --name SiteCountry --" +"flags TABLE_HASH_KEY --key_type ShortText > column_create --table Site --" +"name domain --flags COLUMN_SCALAR --type SiteDomain " +"[[0,1317212751.28095,0.256200943],true] [[0,1317212751.53719,0.085740621]," +"true] > column_create --table Site --name country --flags COLUMN_SCALAR --" +"type SiteCountry [[0,1317212751.82329,0.064026147],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,1317212752.0878,2.202801388],9]" +msgstr "" + +#: ../source/example/tutorial/drilldown-2.log:69 +msgid "" +"> select --table Site --limit 0 --drilldown domain " +"[[0,1317212754.4912,0.000250704],[[[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 "" + +#: ../source/example/tutorial/drilldown-3.log:82 +msgid "" +"> select --table Site --limit 0 --drilldown domain --" +"drilldown_output_columns _id,_key,_nsubrecs " +"[[0,1317212754.69307,0.000359614],[[[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 "" + +#: ../source/example/tutorial/drilldown-4.log:95 +msgid "" +"> select --table Site --limit 0 --drilldown domain,country " +"[[0,1317212754.89542,0.000263258],[[[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 "" + +#: ../source/example/tutorial/drilldown-5.log:108 +msgid "" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs [[0,1317212755.09777,0.000284575],[[[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 "" + +#: ../source/example/tutorial/drilldown-6.log:121 +msgid "" +"> select --table Site --limit 0 --drilldown country --drilldown_sortby " +"_nsubrecs --drilldown_limit 2 --drilldown_offset 2 " +"[[0,1317212755.29988,0.000237191],[[[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 "" + +#: ../source/example/tutorial/index-1.log:32 +msgid "" +"> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32 " +"[[0,1317212832.70606,0.061331715],true] > table_create --name Tag --flags " +"TABLE_HASH_KEY --key_type ShortText [[0,1317212832.968,0.039868236],true] > " +"column_create --table Video --name title --flags COLUMN_SCALAR --type " +"ShortText [[0,1317212833.20833,0.040494862],true] > column_create --table " +"Video --name tags --flags COLUMN_VECTOR --type Tag " +"[[0,1317212833.44939,0.051861409],true] > column_create --table Tag --name " +"index_tags --flags COLUMN_INDEX --type Video --source tags " +"[[0,1317212833.70185,0.092878953],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,1317212833.99531,2.002850011],8]" +msgstr "" + +#: ../source/example/tutorial/index-2.log:82 +msgid "" +"> select --table Video --query tags:@Variety --output_columns _key,title " +"[[0,1317212836.19894,0.000330108],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"\"ShortText\"]],[2,\"Zenigata Kinjirou\"],[5,\"Hex Gone!\"]]]] > select --" +"table Video --query tags:@Sports --output_columns _key,title " +"[[0,1317212836.39998,0.000316897],[[[2],[[\"_key\",\"UInt32\"],[\"title\"," +"\"ShortText\"]],[1,\"Soccer 2010\"],[4,\"Moero!! Ultra Baseball\"]]]] > " +"select --table Video --query tags:@Animation --output_columns _key,title " +"[[0,1317212836.60111,0.000349157],[[[3],[[\"_key\",\"UInt32\"],[\"title\"," +"\"ShortText\"]],[6,\"Pikonyan 1\"],[7,\"Draw 8 Month\"],[8,\"K.O.\"]]]]" +msgstr "" + +#: ../source/example/tutorial/index-3.log:110 +msgid "" +"> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1317212836.80268,0.048923839],true] > column_create --table User --name " +"username --flags COLUMN_SCALAR --type ShortText " +"[[0,1317212837.05226,0.040322616],true] > column_create --table User --name " +"friends --flags COLUMN_VECTOR --type User [[0,1317212837.29306,0.039978793]," +"true] > column_create --table User --name index_friends --flags COLUMN_INDEX " +"--type User --source friends [[0,1317212837.53369,0.067271637],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,1317212837.80152,1.602221355],6]" +msgstr "" + +#: ../source/example/tutorial/index-4.log:151 +msgid "" +"> select --table User --query friends:@tomo --output_columns _key,username " +"[[0,1317212839.60442,0.000260617],[[[5],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"jiro\"," +"\"ぐるんが次郎\"],[\"moritapo\",\"森田\"],[\"hana\",\"花子\"]]]] > select --" +"table User --query friends:@jiro --output_columns _key,username " +"[[0,1317212839.80577,0.000253172],[[[3],[[\"_key\",\"ShortText\"],[\"username" +"\",\"ShortText\"]],[\"ken\",\"健作\"],[\"taro\",\"ぐるんが太郎\"],[\"hana\"," +"\"花子\"]]]]" +msgstr "" + +#: ../source/example/tutorial/index-5.log:167 +msgid "" +"> select --table User --limit 0 --drilldown friends " +"[[0,1317212840.00717,0.000223187],[[[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 "" + +#: ../source/example/tutorial/index-6.log:185 +msgid "" +"> table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type " +"WGS84GeoPoint [[0,1317212840.20962,0.088534001],true] > column_create --" +"table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source " +"location [[0,1317212840.49869,0.093704431],true] > load --table Site > [ > " +"{\"_key\":\"http://example.org/\",\"location\":\"128452975x503157902\"}, > " +"{\"_key\":\"http://example.net/\",\"location\":\"128487316x502920929\"} > ] " +"[[0,1317212840.79332,0.801438285],2] > select --table Site --filter " +"'geo_in_circle(location, \"128515259x503187188\", 5000)' --output_columns " +"_key,location [[0,1317212841.79563,0.000626003],[[[1],[[\"_key\",\"ShortText" +"\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://example.org/\"," +"\"128452975x503157902\"]]]]" +msgstr "" + +#: ../source/example/tutorial/index-7.log:215 +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,1317212841.99878,0.0011657],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-1.log:50 +msgid "" +"% groonga -n /tmp/groonga-databases/introduction.db > status " +"[[0,1322616280.40348,0.000158121],{\"alloc_count\":127,\"starttime" +"\":1322616279,\"uptime\":1,\"version\":\"1.2.8-9-gbf05b82\",\"n_queries\":0," +"\"cache_hit_rate\":0.0,\"command_version\":1,\"default_command_version\":1," +"\"max_command_version\":2}]" +msgstr "" + +#: ../source/example/tutorial/introduction-10.log:284 +msgid "" +"> select --table Site --query \"_key:\\\"http://example.org/\\" +"\"\" [[0,1317212716.9005,0.000478343],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-11.log:302 +msgid "" +"> select --table Site --query title:@this [[0,1317212717.10303,0.000581287]," +"[[[1],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText" +"\"]],[1,\"http://example.org/\",\"This is test record 1!\"]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-12.log:319 +msgid "" +"> select --table Site --match_columns title --query this " +"[[0,1317212717.30596,0.000716439],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://example.org/\",\"This " +"is test record 1!\"]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-13.log:335 +msgid "" +"> select --table Site --output_columns _key,title,_score --query title:@test " +"[[0,1317212717.50916,0.00060758],[[[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 "" + +#: ../source/example/tutorial/introduction-14.log:355 +msgid "" +"> select --table Site --offset 0 --limit 3 [[0,1317212717.71574,0.000238544]," +"[[[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,1317212717.91925,0.00023617],[[[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,1317212718.12219,0.00019999],[[[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 "" + +#: ../source/example/tutorial/introduction-15.log:379 +msgid "" +"> select --table Site --sortby -_id [[0,1317212718.32565,0.000385755],[[[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 "" + +#: ../source/example/tutorial/introduction-16.log:392 +msgid "" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score [[0,1317212718.5331,0.000667311],[[[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 "" + +#: ../source/example/tutorial/introduction-17.log:405 +msgid "" +"> select --table Site --query title:@test --output_columns _id,_score,title " +"--sortby _score,_id [[0,1317212718.73819,0.00069225],[[[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 "" + +#: ../source/example/tutorial/introduction-2.log:111 +msgid "" +"> table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1322616280.60791,0.01234375],true]" +msgstr "" + +#: ../source/example/tutorial/introduction-3.log:127 +msgid "" +"> select --table Site [[0,1322616280.82196,0.000451873],[[[0],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-4.log:149 +msgid "" +"> column_create --table Site --name title --flags COLUMN_SCALAR --type " +"ShortText [[0,1317212712.91734,0.077833747],true] > select --table Site " +"[[0,1317212713.19572,0.000121119],[[[0],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"]]]]]" +msgstr "" + +#: ../source/example/tutorial/introduction-5.log:174 +msgid "" +"> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type " +"ShortText --default_tokenizer TokenBigram [[0,1317212713.39679,0.092312046]," +"true]" +msgstr "" + +#: ../source/example/tutorial/introduction-6.log:196 +msgid "" +"> column_create --table Terms --name blog_title --flags COLUMN_INDEX|" +"WITH_POSITION --type Site --source title [[0,1317212713.68994,0.19739078]," +"true]" +msgstr "" + +#: ../source/example/tutorial/introduction-7.log:216 +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,1317212714.08816,2.203527402],9]" +msgstr "" + +#: ../source/example/tutorial/introduction-8.log:251 +msgid "" +"> select --table Site [[0,1317212716.49285,0.000270908],[[[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 "" + +#: ../source/example/tutorial/introduction-9.log:269 +msgid "" +"> select --table Site --query _id:1 [[0,1317212716.69871,0.000308514],[[[1]," +"[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1," +"\"http://example.org/\",\"This is test record 1!\"]]]]" +msgstr "" + +#: ../source/example/tutorial/match_columns-1.log:29 +msgid "" +"> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1317212795.41036,0.047939793],true] > column_create --table Blog1 --name " +"title --flags COLUMN_SCALAR --type ShortText " +"[[0,1317212795.65884,0.040658195],true] > column_create --table Blog1 --name " +"message --flags COLUMN_SCALAR --type ShortText " +"[[0,1317212795.89978,0.029458384],true] > table_create --name IndexBlog1 --" +"flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer " +"TokenBigram [[0,1317212796.12974,0.183567683],true] > column_create --table " +"IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type " +"Blog1 --source title [[0,1317212796.51381,0.092148792],true] > column_create " +"--table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --" +"type Blog1 --source message [[0,1317212796.80646,0.088690675],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,1317212797.09575,1.001254761],3]" +msgstr "" + +#: ../source/example/tutorial/match_columns-2.log:72 +msgid "" +"> select --table Blog1 --match_columns title||message --query groonga " +"[[0,1317212798.29761,0.000365318],[[[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,1317212798.49954,0.000310648],[[[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,1317212798.70102,0.000314581],[[[1],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"]]]]" +msgstr "" + +#: ../source/example/tutorial/match_columns-3.log:97 +msgid "" +"> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText " +"[[0,1317212798.90253,0.052986511],true] > column_create --table Blog2 --name " +"title --flags COLUMN_SCALAR --type ShortText [[0,1317212799.156,0.028355347]," +"true] > column_create --table Blog2 --name message --flags COLUMN_SCALAR --" +"type ShortText [[0,1317212799.38486,0.040142104],true] > table_create --name " +"IndexBlog2 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --" +"default_tokenizer TokenBigram [[0,1317212799.62539,0.039673533],true] > " +"column_create --table IndexBlog2 --name index_blog --flags COLUMN_INDEX|" +"WITH_POSITION|WITH_SECTION --type Blog2 --source title,message " +"[[0,1317212799.86551,0.079790187],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,1317212800.14589,1.001367315],3]" +msgstr "" + +#: ../source/example/tutorial/match_columns-4.log:135 +msgid "" +"> select --table Blog2 --match_columns title||message --query groonga " +"[[0,1317212801.34801,0.000328232],[[[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,1317212801.54962,0.000320935],[[[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,1317212801.75107,0.000323124],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"title\",\"ShortText\"],[\"message\",\"ShortText\"]],[3," +"\"grn3\",\"groonga message\",\"none\"]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-1.log:384 +msgid "" +"> select --table Users --match_columns name,location_str,description --query " +"東京 --output_columns _key,name [[0,1317212781.80175,0.000302755],[[[2]," +"[[\"_key\",\"ShortText\"],[\"name\",\"ShortText\"]],[\"tasukuchan\",\"グニャ" +"ラくん\"],[\"OffGao\",\"OffGao\"]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-10.log:545 +msgid "" +"> select Comments --filter 'last_modified<=1268802000' --output_columns " +"posted_by.name,comment,last_modified --drilldown hash_tags,posted_by " +"[[0,1317212783.61997,0.000426254],[[[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 "" + +#: ../source/example/tutorial/micro_blog-2.log:403 +msgid "" +"> select --table Users --filter 'geo_in_circle(location," +"\"128484216x502919856\",5000)' --output_columns _key,name " +"[[0,1317212782.00321,0.000241271],[[[2],[[\"_key\",\"ShortText\"],[\"name\"," +"\"ShortText\"]],[\"tasukuchan\",\"グニャラくん\"],[\"OffGao\",\"OffGao\"]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-3.log:422 +msgid "" +"> select --table Users --query follower:@tasukuchan --output_columns _key," +"name [[0,1317212782.20472,0.000231885],[[[2],[[\"_key\",\"ShortText\"]," +"[\"name\",\"ShortText\"]],[\"daijiro\",\"hsiomaneki\"],[\"OffGao\",\"OffGao" +"\"]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-4.log:440 +msgid "" +"> select --table Comments --filter 'geo_in_circle(location," +"\"127975798x502919856\",20000)' --output_columns posted_by.name,comment --" +"drilldown hash_tags,posted_by [[0,1317212782.40617,0.000451828],[[[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 "" + +#: ../source/example/tutorial/micro_blog-5.log:458 +msgid "" +"> select --table Comments --query comment:@なう --output_columns comment," +"_score [[0,1317212782.60919,0.000239996],[[[2],[[\"comment\",\"ShortText\"]," +"[\"_score\",\"Int32\"]],[\"groongaなう #groonga\",1],[\"中野ブロードウェイな" +"うなう\",2]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-6.log:475 +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,1317212782.81082,0.000427163]," +"[[[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 "" + +#: ../source/example/tutorial/micro_blog-7.log:493 +msgid "" +"> select --table Comments --query hash_tags:@groonga --output_columns " +"posted_by.name,comment --drilldown posted_by " +"[[0,1317212783.01379,0.000311974],[[[2],[[\"posted_by.name\",\"ShortText\"]," +"[\"comment\",\"ShortText\"]],[\"グニャラくん\",\"groongaなう #groonga\"]," +"[\"グニャラくん\",\"groonga開発合宿のため羽田空港に来ました! #groonga " +"#travel\"]],[[1],[[\"_key\",\"ShortText\"],[\"_nsubrecs\",\"Int32\"]]," +"[\"tasukuchan\",2]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-8.log:510 +msgid "" +"> select --table Comments --query posted_by:tasukuchan --output_columns " +"comment --drilldown hash_tags [[0,1317212783.21601,0.000313114],[[[4]," +"[[\"comment\",\"ShortText\"]],[\"初の書き込み。テストテスト。\"],[\"@daijiro " +"ありがとう!\"],[\"groongaなう #groonga\"],[\"groonga開発合宿のため羽田空港に" +"来ました! #groonga #travel\"]],[[2],[[\"_key\",\"ShortText\"],[\"_nsubrecs" +"\",\"Int32\"]],[\"groonga\",2],[\"travel\",1]]]]" +msgstr "" + +#: ../source/example/tutorial/micro_blog-9.log:527 +msgid "" +"> select --table Users --query _key:tasukuchan --output_columns favorites." +"posted_by,favorites.comment [[0,1317212783.41809,0.000257979],[[[1]," +"[[\"favorites.posted_by\",\"Users\"],[\"favorites.comment\",\"ShortText\"]]," +"[[\"daijiro\",\"OffGao\"],[\"マイクロブログ作ってみました(甘栗むいちゃいまし" +"た的な感じで)。\",\"@daijiro @tasukuchan 登録してみましたよー!\"]]]]]" +msgstr "" + +#: ../source/example/tutorial/network-1.log:56 +msgid "" +"% groonga -c > status [[0,1317212813.13814,0.000102148],{\"alloc_count\":184," +"\"starttime\":1317212806,\"uptime\":7,\"version\":\"1.2.5-84-g5c190df\"," +"\"n_queries\":14,\"cache_hit_rate\":0.0,\"command_version\":1," +"\"default_command_version\":1,\"max_command_version\":2}] > ctrl-d %" +msgstr "" + +#: ../source/example/tutorial/network-2.log:78 +msgid "% groonga -c > shutdown %" +msgstr "" + +#: ../source/example/tutorial/network-3.log:115 +msgid "" +"http://[IPまたはホスト名]:[ポート番号]/d/status 実行される処理: > status " +"[[0,1317212813.33982,0.000109691],{\"alloc_count\":184,\"starttime" +"\":1317212806,\"uptime\":7,\"version\":\"1.2.5-84-g5c190df\",\"n_queries" +"\":14,\"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,1317212813.54112,6.7993e-05],[[[1],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"title\",\"ShortText\"]],[1,\"http://" +"example.org/\",\"This is test record 1!\"]]]]" +msgstr "" + +#: ../source/example/tutorial/patricia_trie-1.log:23 +msgid "" +"> table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText " +"[[0,1317212719.34619,0.047490604],true] > load --table PatPrefix > [ > " +"{\"_key\":\"ひろゆき\"}, > {\"_key\":\"まろゆき\"}, > {\"_key\":\"ひろあき" +"\"} > ] [[0,1317212719.59456,1.001406593],3] > select --table PatPrefix --" +"query _key:@ひろ [[0,1317212720.79648,0.00031203],[[[2],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"]],[3,\"ひろあき\"],[1,\"ひろゆき\"]]]]" +msgstr "" + +#: ../source/example/tutorial/patricia_trie-2.log:60 +msgid "" +"> table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --" +"key_type ShortText [[0,1317212720.99778,0.0531648179999999],true] > " +"column_create --table PatSuffix --name original --type Bool " +"[[0,1317212721.25163,0.099479727],true] > load --table PatSuffix > [ > " +"{\"_key\":\"ひろゆき\",\"original\":true}, > {\"_key\":\"まろゆき\"," +"\"original\":true}, > {\"_key\":\"ひろあき\",\"original\":true} > ] " +"[[0,1317212721.55167,1.001449341],3] > select --table PatSuffix --query _key:" +"@ゆき [[0,1317212722.75369,0.000313623],[[[4],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆき\",true],[5,\"まろゆ" +"き\",true],[3,\"ゆき\",false],[2,\"ろゆき\",false]]]] > select --table " +"PatSuffix --query \"_key:@ゆき original:true" +"\" [[0,1317212722.95502,0.00032577],[[[2],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"original\",\"Bool\"]],[1,\"ひろゆき\",true],[5,\"まろゆき" +"\",true]]]]" +msgstr "" + +#: ../source/example/tutorial/query_expansion-1.log:29 +msgid "" +"> table_create Doc TABLE_PAT_KEY ShortText [[0,1317212801.95257,0.054058921]," +"true] > column_create Doc body COLUMN_SCALAR ShortText " +"[[0,1317212802.2071,0.040301713],true] > table_create Term TABLE_PAT_KEY|" +"KEY_NORMALIZE ShortText --default_tokenizer TokenBigram " +"[[0,1317212802.44812,0.027340933],true] > column_create Term Doc_body " +"COLUMN_INDEX|WITH_POSITION Doc body [[0,1317212802.676,0.079743674],true] > " +"table_create Synonym TABLE_PAT_KEY ShortText " +"[[0,1317212802.95629,0.03656858],true] > column_create Synonym body " +"COLUMN_SCALAR ShortText [[0,1317212803.19316,0.040515932],true] > load --" +"table Doc > [ > {\"_key\": \"001\", \"body\": \"すっぱいブドウと甘いシー" +"クァーサー\"}, > {\"_key\": \"002\", \"body\": \"シークヮーサージュースとゴー" +"ヤチャンプル\"}, > ] [[0,1317212803.43422,0.80056314],2] > load --table " +"Synonym > [ > {\"_key\": \"シークァーサー\", \"body\": \"(シークァーサー OR " +"シークヮーサー)\"}, > {\"_key\": \"シークヮーサー\", \"body\": \"(シークァー" +"サー OR シークヮーサー)\"}, > ] [[0,1317212804.43524,0.801037492],2]" +msgstr "" + +#: ../source/example/tutorial/query_expansion-2.log:84 +msgid "" +"> select Doc --match_columns body --query \"シークァーサー" +"\" [[0,1317212805.4371,0.000567851],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"body\",\"ShortText\"]],[1,\"001\",\"すっぱいブドウと甘い" +"シークァーサー\"]]]] > select Doc --match_columns body --query \"シークヮー" +"サー\" [[0,1317212805.63859,0.000387831],[[[1],[[\"_id\",\"UInt32\"],[\"_key" +"\",\"ShortText\"],[\"body\",\"ShortText\"]],[2,\"002\",\"シークヮーサージュー" +"スとゴーヤチャンプル\"]]]]" +msgstr "" + +#: ../source/example/tutorial/query_expansion-3.log:100 +msgid "" +"> select Doc --match_columns body --query \"シークァーサー\" --" +"query_expansion Synonym.body [[0,1317212805.84016,0.000441852],[[[2],[[\"_id" +"\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"body\",\"ShortText\"]],[1,\"001\"," +"\"すっぱいブドウと甘いシークァーサー\"],[2,\"002\",\"シークヮーサージュースと" +"ゴーヤチャンプル\"]]]] > select Doc --match_columns body --query \"シークヮー" +"サー\" --query_expansion Synonym.body [[0,1317212806.04176,0.000580261]," +"[[[2],[[\"_id\",\"UInt32\"],[\"_key\",\"ShortText\"],[\"body\",\"ShortText" +"\"]],[1,\"001\",\"すっぱいブドウと甘いシークァーサー\"],[2,\"002\",\"シー" +"クヮーサージュースとゴーヤチャンプル\"]]]]" +msgstr "" + +#: ../source/example/tutorial/search-1.log:25 +msgid "" +"> select --table Site --filter \"_id <= 1\" --output_columns _id,_key " +"[[0,1317212733.77852,0.000333188],[[[1],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"]],[1,\"http://example.org/\"]]]]" +msgstr "" + +#: ../source/example/tutorial/search-2.log:44 +msgid "" +"> select --table Site --filter \"_id >= 4 && _id <= 6\" --output_columns _id," +"_key [[0,1317212733.97986,0.000297681],[[[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,1317212734.18118,0.000250524],[[[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 "" + +#: ../source/example/tutorial/search-3.log:69 +msgid "" +"> select --table Site --filter \"1\" --scorer \"_score = rand()\" --" +"output_columns _id,_key,_score --sortby _score " +"[[0,1317212734.38283,0.000354558],[[[9],[[\"_id\",\"UInt32\"],[\"_key\"," +"\"ShortText\"],[\"_score\",\"Int32\"]],[6,\"http://example.com/rab" +"\",424238335],[9,\"http://example.com/vdw\",596516649],[7,\"http://example." +"net/atv\",719885386],[2,\"http://example.net/\",846930886],[8,\"http://" +"example.org/gat\",1649760492],[3,\"http://example.com/\",1681692777],[4," +"\"http://example.net/afr\",1714636915],[1,\"http://example.org/" +"\",1804289383],[5,\"http://example.org/aba\",1957747793]]]] > select --table " +"Site --filter \"1\" --scorer \"_score = rand()\" --output_columns _id,_key," +"_score --sortby _score [[0,1317212734.58497,0.000350529],[[[9],[[\"_id\"," +"\"UInt32\"],[\"_key\",\"ShortText\"],[\"_score\",\"Int32\"]],[4,\"http://" +"example.net/afr\",783368690],[2,\"http://example.net/\",1025202362],[5," +"\"http://example.org/aba\",1102520059],[1,\"http://example.org/" +"\",1189641421],[3,\"http://example.com/\",1350490027],[8,\"http://example." +"org/gat\",1365180540],[9,\"http://example.com/vdw\",1540383426],[7,\"http://" +"example.net/atv\",1967513926],[6,\"http://example.com/rab\",2044897763]]]]" +msgstr "" + +#: ../source/example/tutorial/search-4.log:115 +msgid "" +"> column_create --table Site --name location --type WGS84GeoPoint " +"[[0,1317212734.78744,0.047997601],true] > load --table Site > [ > {\"_key\":" +"\"http://example.org/\",\"location\":\"128452975x503157902\"} > {\"_key\":" +"\"http://example.net/\",\"location\":\"128487316x502920929\"}, > ] " +"[[0,1317212735.0361,0.801149613],2] > select --table Site --query \"_id:1 OR " +"_id:2\" --output_columns _key,location [[0,1317212736.03775,0.000261897]," +"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" +"example.org/\",\"128452975x503157902\"],[\"http://example.net/\"," +"\"128487316x502920929\"]]]]" +msgstr "" + +#: ../source/example/tutorial/search-5.log:144 +msgid "" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' [[0,1317212736.23918,0.000393211],[[[2],[[\"_key\"," +"\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\",\"Int32\"]]," +"[\"http://example.org/\",\"128452975x503157902\",2054],[\"http://example.net/" +"\",\"128487316x502920929\",6720]]]]" +msgstr "" + +#: ../source/example/tutorial/search-6.log:159 +msgid "" +"> select --table Site --query \"_id:1 OR _id:2\" --output_columns _key," +"location,_score --scorer '_score = geo_distance(location, " +"\"128515259x503187188\")' --sortby -_score [[0,1317212736.44102,0.000345608]," +"[[[2],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"],[\"_score\"," +"\"Int32\"]],[\"http://example.net/\",\"128487316x502920929\",6720],[\"http://" +"example.org/\",\"128452975x503157902\",2054]]]]" +msgstr "" + +#: ../source/example/tutorial/search-7.log:176 +msgid "" +"> select --table Site --output_columns _key,location --filter 'geo_in_circle" +"(location, \"128515259x503187188\", 5000)' [[0,1317212736.64335,0.000245378]," +"[[[1],[[\"_key\",\"ShortText\"],[\"location\",\"WGS84GeoPoint\"]],[\"http://" +"example.org/\",\"128452975x503157902\"]]]]" +msgstr ""