Debian Codegraph @

doc/locale/ja/LC_MESSAGES/reference/grn_expr/query_syntax.po

raw
1 # -*- po -*-
2 # Japanese translations for 1.2.1 package.
3 # Copyright (C) 2009-2011, Brazil, Inc
4 # This file is distributed under the same license as the groonga package.
5 # Kouhei Sutou <[email protected]>, 2011.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: 1.2.1\n"
9 "Report-Msgid-Bugs-To: \n"
10 "PO-Revision-Date: 2023-07-12 15:48+0900\n"
11 "Language-Team: Japanese\n"
12 "Language: ja\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 msgid "Execution example::"
19 msgstr "実行例::"
20
21 msgid "Query syntax"
22 msgstr "クエリー構文"
23
24 msgid "Query syntax is a syntax to specify search condition for common Web search form. It is similar to the syntax of Google's search form. For example, ``word1 word2`` means that groonga searches records that contain both ``word1`` and ``word2``. ``word1 OR word2`` means that groonga searches records that contain either ``word1`` or ``word2``."
25 msgstr "クエリー構文は一般的なWebの検索フォームで検索条件を指定するための構文です。Googleの検索フォームで使われている構文に似ています。例えば、 ``word1 word2`` は ``word1`` と ``word2`` の両方の単語を含んだレコードを検索するという意味です。 ``word1 OR word2`` は ``word1`` または ``word2`` のどちらかの単語を含んだレコードを検索します。"
26
27 msgid "Query syntax consists of :ref:`query-syntax-conditional-expression` , :ref:`query-syntax-combined-expression` and :ref:`query-syntax-assignment-expression`. Normally :ref:`query-syntax-assignment-expression` can be ignored. Because :ref:`query-syntax-assignment-expression` is disabled in the :ref:`select-query` option of :doc:`/reference/commands/select`. You can use it by specifying ``ALLOW_UPDATE`` to the :ref:`select-query-flags` option."
28 msgstr "クエリー構文は :ref:`query-syntax-conditional-expression` 、 :ref:`query-syntax-combined-expression` 、 :ref:`query-syntax-assignment-expression` で構成されます。通常 :ref:`query-syntax-assignment-expression` は無視できます。なぜなら :doc:`/reference/commands/select` の :ref:`select-query` オプションは :ref:`query-syntax-assignment-expression` を無効にしているからです。 :ref:`select-query-flags` オプションに ``ALLOW_UPDATE`` を指定すると有効にできます。"
29
30 msgid ":ref:`query-syntax-conditional-expression` specifies an condition. :ref:`query-syntax-combined-expression` consists of one or more :ref:`query-syntax-conditional-expression`, :ref:`query-syntax-combined-expression` or :ref:`query-syntax-assignment-expression`. :ref:`query-syntax-assignment-expression` can assigns a value to a column."
31 msgstr ""
32
33 msgid "Sample data"
34 msgstr "サンプルデータ"
35
36 msgid "Here are a schema definition and sample data to show usage."
37 msgstr ""
38
39 msgid "There is a table, ``Entries``, for blog entries. An entry has title, content and the number of likes for the entry. Title is key of ``Entries``. Content is value of ``Entries.content`` column. The number of likes is value of ``Entries.n_likes`` column."
40 msgstr "ブログエントリ用の ``Entries`` テーブルがあります。各エントリはタイトルと内容と「いいね!」数を持っています。タイトルは ``Entries`` のキーとします。内容は ``Entries.content`` カラムの値とします。「いいね!」数は ``Entries.n_likes`` カラムの値とします。"
41
42 msgid "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
43 msgstr "``Entries._key`` カラムと ``Entries.content`` カラムには ``TokenBigram`` トークナイザーを使ったインデックスを作成します。そのため、 ``Entries._key`` と ``Entries.content`` は両方とも全文検索できます。"
44
45 msgid "OK. The schema and data for examples are ready."
46 msgstr "これで例を示すためのスキーマとデータの準備ができました。"
47
48 msgid "Escape"
49 msgstr "エスケープ"
50
51 msgid "There are special characters in query syntax. To use a special character as itself, it should be escaped by prepending ``\\``. For example, ``\"`` is a special character. It is escaped as ``\\\"``."
52 msgstr "クエリー構文には特別な文字があります。特別な文字それ自体を使うためには文字の前に ``\\`` をつけてエスケープしなければいけません。例えば、 ``\"`` は特別な文字です。これは ``\\\"`` というようにエスケープします。"
53
54 msgid "Here is a special character list:"
55 msgstr "以下が特別な文字のリストです:"
56
57 msgid "``[space]`` (escaped as ``[backslash][space]``) (You should substitute ``[space]`` with a white space character that is 0x20 in ASCII and ``[backslash]`` with ``\\\\``.)"
58 msgstr "``[space]`` ( ``[backslash][space]`` とエスケープする。)( ``[space]`` をASCIIで言えば0x20の空白文字に置き換えて、 ``[backslash]`` を ``\\\\`` に置き換えてください。)"
59
60 msgid "``\"`` (escaped as ``\\\"``)"
61 msgstr "``\"`` ( ``\\\"`` とエスケープする。)"
62
63 msgid "``(`` (escaped as ``\\(``)"
64 msgstr "``(`` ( ``\\(`` とエスケープする。)"
65
66 msgid "``)`` (escaped as ``\\)``)"
67 msgstr "``)`` ( ``\\)`` とエスケープする。)"
68
69 msgid "``\\`` (escaped as ``\\\\``)"
70 msgstr "``\\`` ( ``\\\\`` とエスケープする。)"
71
72 msgid "You can use quote instead of escape special characters except ``\\`` (backslash). You need to use backslash for escaping backslash like ``\\\\`` in quote."
73 msgstr "``\\`` (バックスラッシュ)以外はエスケープする代わりにクォートすることもできます。クォート中でバックスラッシュをエスケープするときは ``\\\\`` というようにバックスラッシュを使います。"
74
75 msgid "Quote syntax is ``\"...\"``. You need escape ``\"`` as ``\\\"`` in ``\"...\"`` quote syntax. For example, ``You say \"Hello Alice!\"`` can be quoted ``\"You say \\\"Hello Alice!\\\"\"``."
76 msgstr "クォート構文は ``\"...\"`` です。 ``\"...\"`` クォート構文中では ``\"`` を ``\\\"`` にエスケープする必要があります。例えば、 ``You say \"Hello Alice!\"`` は ``\"You say \\\"Hello Alice!\\\"\"`` とクォートします。"
77
78 msgid "In addition ``'...'`` isn't available in query syntax."
79 msgstr "なお、 ``'...'`` はクエリー構文では使えません。"
80
81 msgid "There is an important point which you have to care. The ``\\`` (backslash) character is interpreted by command line shell. So if you want to search ``(`` itself for example, you need to escape twice (``\\\\(``) in command line shell. The command line shell interprets ``\\\\(`` as ``\\(``, then pass such a literal to Groonga. Groonga regards ``\\(`` as ``(``, then search ``(`` itself from database. If you can't do intended search by Groonga, confirm whether special character is escaped properly."
82 msgstr "注意しなければならない大事な点があります。``\\`` (バックスラッシュ)はコマンドラインシェルが解釈します。それゆえ例えば ``(`` それ自体を検索したいならシェルでは二重にエスケープ (``\\\\(``) しなければなりません。コマンドラインシェルは ``\\\\(`` を ``\\(`` と解釈してからGroongaに渡します。Groongaは ``\\(`` を ``(`` とみなし、``(`` 自体をデータベースから検索します。もし意図した検索がGroongaで行えないなら、特別な文字を正しくエスケープしているか確認します。"
83
84 msgid "Conditional expression"
85 msgstr "条件式"
86
87 msgid "Here is available conditional expression list."
88 msgstr "以下は利用可能な条件式の一覧です。"
89
90 msgid "Full text search condition"
91 msgstr "全文検索条件"
92
93 msgid "Its syntax is ``keyword``."
94 msgstr "構文は ``keyword`` です。"
95
96 msgid "``Full text search condition`` specifies a full text search condition against the default match columns. Match columns are full text search target columns."
97 msgstr "``全文検索条件`` はデフォルトのマッチカラムに対して全文検索するという条件を指定します。マッチカラムとは全文検索対象のカラムのことです。"
98
99 msgid "You should specify the default match columns for full text search. They can be specified by ``--match_columns`` option of :doc:`/reference/commands/select`. If you don't specify the default match columns, this conditional expression fails."
100 msgstr "全文検索に使うデフォルトのマッチカラムを指定する必要があります。マッチカラムは :doc:`/reference/commands/select` の ``--match_columns`` オプションで指定します。デフォルトのマッチカラムを指定していない場合、この条件式は失敗します。"
101
102 msgid "This conditional expression does full text search with ``keyword``. ``keyword`` should not contain any spaces. If ``keyword`` contains a space such as ``search keyword``, it means two full text search conditions; ``search`` and ``keyword``. If you want to specifies a keyword that contains one or more spaces, you can use ``phrase search condition`` that is described below."
103 msgstr "この条件式は ``keyword`` で全文検索をします。 ``keyword`` には空白を含めることはできません。 ``search keyword`` というように空白を含んでいる場合は、 ``search`` と ``keyword`` という2つの全文検索条件を指定したことになります。もし、キーワードに空白を含めたい場合は以下で説明する ``フレーズ検索条件`` を使ってください。"
104
105 msgid "Here is a simple example:"
106 msgstr "以下は簡単な使用例です。"
107
108 msgid "The expression matches records that contain a word ``fast`` in ``content`` column value."
109 msgstr "この式は ``content`` カラムの値に ``fast`` という単語を含んでいるレコードにマッチします。"
110
111 msgid "``content`` column is the default match column."
112 msgstr "``content`` カラムはデフォルトのマッチカラムです。"
113
114 msgid "Phrase search condition"
115 msgstr "フレーズ検索条件"
116
117 msgid "Its syntax is ``\"search keyword\"``."
118 msgstr "構文は ``\"search keyword\"`` です。"
119
120 msgid "``Phrase search condition`` specifies a phrase search condition against the default match columns."
121 msgstr "``フレーズ検索条件`` はデフォルトのマッチカラムに対してフレーズ検索するという条件を指定します。"
122
123 msgid "This conditional expression does phrase search with ``search keyword``. Phrase search searches records that contain ``search`` and ``keyword`` and those terms are appeared in the same order and adjacent. Thus, ``Put a search keyword in the form`` is matched but ``Search by the keyword`` and ``There is a keyword. Search by it!`` aren't matched."
124 msgstr "この条件式は ``search keyword`` でフレーズ検索をします。フレーズ検索は ``search`` と ``keyword`` がこの順番で隣接して含まれているレコードにマッチします。つまり、 ``Put a search keyword in the form`` にはマッチしますが、 ``Search by the keyword`` や ``There is a keyword. Search by it!`` にはマッチしません。"
125
126 msgid "The expression matches records that contain a phrase ``I started`` in ``content`` column value. ``I also started`` isn't matched because ``I`` and ``started`` aren't adjacent."
127 msgstr "この式は ``content`` カラムの値に ``I started`` というフレーズを含んでいるレコードにマッチします。 ``I also started`` にはマッチしません。これは ``I`` と ``started`` が隣接していないからです。"
128
129 msgid "Full text search condition (with explicit match column)"
130 msgstr "全文検索条件(マッチカラム指定あり)"
131
132 msgid "Its syntax is ``column:@keyword``."
133 msgstr "構文は ``column:@keyword`` です。"
134
135 msgid "It's similar to ``full text search condition`` but it doesn't require the default match columns. You need to specify match column for the full text search condition by ``column:`` instead of ``--match_columns`` option of :doc:`/reference/commands/select`."
136 msgstr "これは ``全文検索条件`` と似ていますが、デフォルトのマッチカラムは必要ありません。全文検索用のマッチカラムは :doc:`/reference/commands/select` の ``--match_columns`` オプションではなく ``column:`` で指定します。"
137
138 msgid "This conditional expression is useful when you want to use two or more full text search against different columns. The default match columns specified by ``--match_columns`` option can't be specified multiple times. You need to specify the second match column by this conditional expression."
139 msgstr "この条件式は異なったカラムに対して複数の全文検索をしたい場合に便利です。 ``--match_columns`` オプションで指定するデフォルトのマッチカラムは複数回指定することができません。2つめのマッチカラムを指定するためにはこの条件式を使う必要があります。"
140
141 msgid "The different between ``full text search condition`` and ``full text search condition (with explicit match column)`` is whether advanced match columns are supported or not. ``Full text search condition`` supports advanced match columns but ``full text search condition (with explicit match column)`` isn't supported. Advanced match columns has the following features:"
142 msgstr "``全文検索条件`` と ``全文検索条件(マッチカラム指定あり)`` の違いは高度なマッチカラムをサポートしているかどうかです。 ``全文検索条件`` は高度なマッチカラムをサポートしていますが、 ``全文検索条件(マッチカラム指定あり)`` はサポートしていません。高度なマッチカラムには以下の機能があります:"
143
144 msgid "Weight is supported."
145 msgstr "重みをサポートしている。"
146
147 msgid "Using multiple columns are supported."
148 msgstr "複数のカラムを指定できる。"
149
150 msgid "Using index column as a match column is supported."
151 msgstr "マッチカラムとしてインデックスカラムを使える。"
152
153 msgid "See description of ``--match_columns`` option of :doc:`/reference/commands/select` about them."
154 msgstr "これらについては :doc:`/reference/commands/select` の ``--match_columns`` オプションを参照してください。"
155
156 msgid "Phrase search condition (with explicit match column)"
157 msgstr "フレーズ検索条件(マッチカラム指定あり)"
158
159 msgid "Its syntax is ``column:@\"search keyword\"``."
160 msgstr "構文は ``column:@\"search keyword\"`` です。"
161
162 msgid "It's similar to ``phrase search condition`` but it doesn't require the default match columns. You need to specify match column for the phrase search condition by ``column:`` instead of ``--match_columns`` option of :doc:`/reference/commands/select`."
163 msgstr "これは ``フレーズ検索条件`` に似ていますが、デフォルトのマッチカラムは必要ありません。フレーズ検索用のマッチカラムは :doc:`/reference/commands/select` の ``--match_columns`` オプションではなく ``column:`` で指定します。"
164
165 msgid "The different between ``phrase search condition`` and ``phrase search condition (with explicit match column)`` is similar to between ``full text search condition`` and ``full text search condition (with explicit match column)``. ``Phrase search condition`` supports advanced match columns but ``phrase search condition (with explicit match column)`` isn't supported. See description of ``full text search condition (with explicit match column)`` about advanced match columns."
166 msgstr "``フレーズ検索条件`` と ``フレーズ検索条件(マッチカラム指定あり)`` は ``全文検索条件`` と ``全文検索条件(マッチカラム指定あり)`` の関係と似ています。 ``フレーズ検索条件`` は高度なマッチカラムをサポートしていますが、 ``フレーズ検索条件(マッチカラム指定あり)`` はサポートしていません。高度なマッチカラムについては ``全文検索条件(マッチカラム指定あり)`` を参照してください。"
167
168 msgid "Prefix search condition"
169 msgstr "前方一致検索条件"
170
171 msgid "Its syntax is ``column:^value`` or ``value*``."
172 msgstr "構文は ``column:^value`` または ``value*`` です。"
173
174 msgid "This conditional expression does prefix search with ``value``. Prefix search searches records that contain a word that starts with ``value``."
175 msgstr "この条件式は ``value`` で前方一致検索をします。前方一致検索は ``value`` で始まる単語を含むレコードを検索します。"
176
177 msgid "You can use fast prefix search against a column. The column must be indexed and index table must be patricia trie table (``TABLE_PAT_KEY``) or double array trie table (``TABLE_DAT_KEY``). You can also use fast prefix search against ``_key`` pseudo column of patricia trie table or double array trie table. You don't need to index ``_key``."
178 msgstr "カラムの値を高速に前方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルをパトリシアトライ( ``TABLE_PAT_KEY`` )またはダブル配列トライ( ``TABLE_DAT_KEY`` )にしなければいけません。あるいは、パトリシアトライテーブルまたはダブル配列テーブルの ``_key`` も高速に前方一致検索できます。 ``_key`` にインデックスを作成する必要はありません。"
179
180 msgid "Prefix search can be used with other table types but it causes all records scan. It's not problem for small records but it spends more time for large records."
181 msgstr "他の種類のテーブルでも前方一致検索を使えますがレコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。"
182
183 msgid "It doesn't require the default match columns such as ``full text search condition`` and ``phrase search condition``."
184 msgstr "``全文検索条件`` や ``フレーズ検索条件`` と異なり、デフォルトのマッチカラムは必要ありません。"
185
186 msgid "The expression matches records that contain a word that starts with ``Goo`` in ``_key`` pseudo column value. ``Good-bye Senna`` and ``Good-bye Tritonn`` are matched with the expression."
187 msgstr "この式は ``_key`` カラムの値が ``Goo`` で始まる単語を含むレコードにマッチします。この式には ``Good-bye Senna`` と ``Good-bye Tritonn`` がマッチします。"
188
189 msgid "Suffix search condition"
190 msgstr "後方一致検索条件"
191
192 msgid "Its syntax is ``column:$value``."
193 msgstr "構文は ``column:$value`` です。"
194
195 msgid "This conditional expression does suffix search with ``value``. Suffix search searches records that contain a word that ends with ``value``."
196 msgstr "この条件式は ``value`` で後方一致検索します。後方一致検索は ``value`` で終わる単語を含むレコードを検索します。"
197
198 msgid "You can use fast suffix search against a column. The column must be indexed and index table must be patricia trie table (``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You can also use fast suffix search against ``_key`` pseudo column of patricia trie table (``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You don't need to index ``_key``. We recommended that you use index column based fast suffix search instead of ``_key`` based fast suffix search. ``_key`` based fast suffix search returns automatically registered substrings. (TODO: write document about suffix search and link to it from here.)"
199 msgstr "カラムの値を高速に後方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルを ``KEY_WITH_SIS`` フラグ付きのパトリシアトライテーブル( ``TABLE_PAT_KEY`` )にしなければいけません。 ``KEY_WITH_SIS`` フラグ付きのパトリシアトライテーブル( ``TABLE_PAT_KEY`` )の ``_key`` 擬似カラムの値も高速に後方一致検索できます。 ``_key`` にはインデックスを作成する必要はありません。 ``_key`` ベースの高速な後方一致検索よりもカラムベースの高速な後方一致検索を使うことをおすすめします。 ``_key`` ベースの高速な後方一致検索は自動的に登録された部分文字列も返ってきます。(TODO: 後方一致検索に関するドキュメントを書いてここからリンクを張る。)"
200
201 msgid "Fast suffix search can be used only for non-ASCII characters such as hiragana in Japanese. You cannot use fast suffix search for ASCII character."
202 msgstr "高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。"
203
204 msgid "Suffix search can be used with other table types or patricia trie table without ``KEY_WITH_SIS`` flag but it causes all records scan. It's not problem for small records but it spends more time for large records."
205 msgstr "後方一致検索は他の種類のテーブルもしくはパトリシアトライを ``KEY_WITH_SIS`` フラグなしで使用しているテーブルに対しても使えますが、レコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。"
206
207 msgid "Here is a simple example. It uses fast suffix search for hiragana in Japanese that is one of non-ASCII characters."
208 msgstr "簡単な例です。ASCII文字ではない文字である日本語のひらがなに対して高速な後方一致検索をしています。"
209
210 msgid "The expression matches records that have value that ends with ``んが`` in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched with the expression."
211 msgstr "この式は ``content`` カラムの値が ``んが`` で終わるレコードにマッチします。この場合は ``ぐるんが`` と ``むるんが`` にマッチします。"
212
213 msgid "Near search condition"
214 msgstr "近傍検索条件"
215
216 msgid "Its syntax is ``*N\"token1 token2 ...\"``."
217 msgstr "構文は ``*N\"トークン1 トークン2 ...\"`` です。"
218
219 msgid "This conditional expression does near search with ``token1``, ``token2`` and ``...``. Near search searches records that contain the all specified tokens and there are at most 10 tokens between them. For example, ``*N\"a b c\"`` matches ``a 1 2 3 4 5 b 6 7 8 9 10 c`` but doesn't match ``a 1 2 3 4 5 b 6 7 8 9 10 11 c``:"
220 msgstr "この条件式は ``トークン1`` と ``トークン2`` と ``...`` で近傍検索をします。近傍検索はすべての指定したトークンが最大でも10トークン以内に存在するレコードを検索します。たとえば、 ``*N\"a b c\"`` は ``a 1 2 3 4 5 b 6 7 8 9 10 c`` にマッチしますが ``a 1 2 3 4 5 b 6 7 8 9 10 11 c`` にはマッチしません。"
221
222 msgid "Note that you must specify ``WITH_POSITION`` to an index column that is used for near search. If you don't specify ``WITH_POSITION``, near search can't count distance correctly."
223 msgstr "近傍検索に使うインデックスカラムには ``WITH_POSITION`` を指定しなければいけないことに注意してください。もし ``WITH_POSITION`` を指定しないと近傍検索で距離を正しく数えられません。"
224
225 msgid "You can customize the max interval of the given tokens (``10`` by default) by specifying a number after ``*N``. Here is an example that uses ``2`` as the max interval of the given tokens::"
226 msgstr "``*N`` のあとに数値を指定すると指定されたトークン群の最大距離(デフォルトは ``10`` )をカスタマイズできます。以下は指定されたトークン群の最大距離を ``2`` にする例です。::"
227
228 msgid "Here is an example to customize the max interval of the given tokens:"
229 msgstr "以下は指定されたトークン群の最大距離をカスタマイズする例です。"
230
231 msgid "To be precious, you can specify a word instead of a token for near search. Because the passed text is tokenized before near search. A word consists of one or more tokens. If you specify a word, it may not work as you expected. For example, ``*N\"a1b2c3d\"`` matches both ``a 1 b 2 c 3 d`` and ``a b c d 1 2 3``:"
232 msgstr "正確に言うと、近傍検索の条件にトークンではなく単語を指定することもできます。なぜなら指定されたテキストは近傍検索前にトークナイズされるからです。1つの単語は1つ以上のトークンになります。単語を指定すると期待した通りに動かないかもしれません。たとえば、 ``*N\"a1b2c3d\"`` は ``a 1 b 2 c 3 d`` にも ``a b c d 1 2 3`` にもマッチします。"
233
234 msgid "Because ``*N\"a1b2c3d\"`` equals to ``*N\"a 1 b 2 c 3 d\"``."
235 msgstr "なぜなら ``*N\"a1b2c3d\"`` は ``*N\"a 1 b 2 c 3 d\"`` と等しいからです。"
236
237 msgid "If you want to specify words, :ref:`query-syntax-near-phrase-search-condition` is what you want."
238 msgstr "単語を指定したい場合は :ref:`query-syntax-near-phrase-search-condition` を使ってください。"
239
240 msgid "The max intervals of each token."
241 msgstr "各トークン間の最大距離。"
242
243 msgid "You can specify the max intervals of each token. The default is no limit. It means that all intervals of each token are valid as long as the max interval is satisfied."
244 msgstr "各トークンの最大距離を指定することもできます。デフォルトでは制限はありません。これは全体の最大距離が満たされていれば各トークン間の距離はどれだけ開いていてもよいということです。"
245
246 msgid "Here is an example that use ``2`` for the max interval of the first interval and ``4`` for the max interval of the second interval::"
247 msgstr "以下は最初のトークン間の最大距離として ``2`` 、2番目のトークン間の最大距離として ``4`` を使う例です。::"
248
249 msgid "``10`` is the max interval."
250 msgstr "``10`` は最大距離です。"
251
252 msgid "``|`` is the separator of the max intervals of each token."
253 msgstr "各トークン間の最大距離は ``|`` で区切ります。"
254
255 msgid "This matches ``a x b x x x c``. But this doesn't match ``a x x b c``, ``a b x x x x c`` and so on because the former has ``3`` interval for the first interval that is larger than ``2`` and the latter has ``5`` interval for the second interval that is later than ``4``."
256 msgstr "これは ``a x b x x x c`` にマッチします。しかし、``a x x b c`` や ``a b x x x x c`` などにはマッチしません。なぜなら、前者は最初のトークン間の距離が ``3`` で ``2`` より大きいからです。後者は2番目のトークン間の距離が ``5`` で ``4`` より大きいです。"
257
258 msgid "Here is an example that specifies the max intervals of each token:"
259 msgstr "以下はトークン間の最大距離をカスタマイズする例です。"
260
261 msgid "You can omit one or more intervals. Omitted intervals are treated as ``-1``. It means that ``*N11,5`` equals ``*N11,5|-1``. ``-1`` means that no limit."
262 msgstr "1つ以上のトークン間の最大距離の指定を省略することができます。省略されたトークン間の最大距離は ``-1`` として処理されます。これは ``*N11,5`` と ``*N11,5|-1`` は同じだということです。 ``-1`` は最大距離に制限がないという意味です。"
263
264 msgid "Here is an example that omits an interval:"
265 msgstr "以下は1つのトークン間の最大距離を省略する例です。"
266
267 msgid "You can specify extra intervals. They are just ignored:"
268 msgstr "余分にトークン間の最大距離を指定することもできます。この場合は単に余分な指定が無視されます。"
269
270 msgid "Near phrase search condition"
271 msgstr "近傍フレーズ検索条件"
272
273 msgid "Its syntax is ``*NP\"phrase1 phrase2 ...\"``."
274 msgstr "構文は ``*NP\"phrase1 phrase2 ...\"`` です。"
275
276 msgid "This conditional expression does near phrase search with ``phrase1``, ``phrase2`` and ``...``. Near phrase search searches records that contain the all specified phrases and there are at most 10 tokens between them. For example, ``*NP\"a1b2c3d\"`` matches ``a 1 b 2 c 3 d`` but doesn't match ``a b c d 1 2 3``. Because the latter uses different order:"
277 msgstr "この条件式は ``フレーズ1`` と ``フレーズ2`` と ``...`` で近傍フレーズ検索をします。近傍フレーズ検索はすべてのフレーズが含まれていてかつすべてのフレーズが最大でも10トークン以内にあるレコードを検索します。たとえば、``*NP\"a1b2c3d\"`` は ``a 1 b 2 c 3 d`` にマッチしますが ``a b c d 1 2 3`` にはマッチしません。なぜなら後者は順序が違うからです。"
278
279 msgid "You can use a phrase that includes spaces by quoting such as ``*NP\"\\\"groonga mroonga\\\" pgroonga\"``. Note that you need to escape ``\\\"`` in command syntax such as ``*NP\"\\\\\\\"groonga mroonga\\\\\\\" pgroonga\"``. This query matches ``groonga mroonga pgroonga`` but doesn't match ``groonga pgroonga mroonga`` because ``mroonga`` isn't right after ``groonga``:"
280 msgstr "``*NP\"\\\"groonga mroonga\\\" pgroonga\"`` というようにクォートすることでスペースを含んだフレーズを使うことができます。コマンド構文では ``*NP\"\\\\\\\"groonga mroonga\\\\\\\" pgroonga\"`` というように ``\\\"`` をエスケープしないといけないことに注意してください。このクエリーは ``groonga mroonga pgroonga`` にマッチしますが、 ``groonga pgroonga mroonga`` にはマッチしません。なぜなら ``mroonga`` が ``groonga`` のすぐ右にないからです。"
281
282 msgid "You can customize the max interval of the given phrases (``10`` by default) by specifying a number after ``*NP``. Here is an example that uses ``2`` as the max interval of the given phrases::"
283 msgstr "``*NP`` のあとに数値を指定すると指定されたフレーズ群の最大距離(デフォルトは ``10`` )をカスタマイズできます。以下は指定されたフレーズ群の最大距離を ``2`` にする例です。::"
284
285 msgid "Here is an example to customize the max interval of the given phrases:"
286 msgstr "以下は指定されたフレーズ群の最大距離をカスタマイズする例です。"
287
288 msgid "You can use additional interval only for the last phrase. It means that you can accept more distance only between the second to last phrase and the last phrase. This is useful for implementing a near phrase search in the same sentence. If you specify ``.`` (sentence end phrase) as the last phrase and specify ``-1`` as the additional last interval, the other specified phrases must be appeared before ``.``. You must append ``$`` to the last phrase like ``.$``."
289 msgstr "最後のフレーズにだけ距離を追加することができます。つまり、最後から2番目のフレーズと最後のフレーズの間だけより多くの距離を許容できるということです。これは同一文内での近傍フレーズ検索を実装するときに便利です。最後のフレーズとして ``。`` (文末のフレーズ)を指定し、最後の追加距離として ``-1`` を指定すると、 ``。`` の前に他のすべてのフレーズが出現しなければいけません。最後のフレーズには ``。$`` というように最後に ``$`` をつけなければいけません。"
290
291 msgid "Here is an example that uses ``-1`` as the additional last interval of the given phrases::"
292 msgstr "以下は指定されたフレーズ群の最後の追加距離として ``-1`` を使う例です。::"
293
294 msgid "Here is an example to customize the additional last interval of the given phrases:"
295 msgstr "以下は指定したフレーズ群の最後の追加距離をカスタマイズする例です。"
296
297 msgid "You can also use positive number for the additional last interval. If you specify positive number as the additional last interval, all of the following conditions must be satisfied:"
298 msgstr "最後の追加距離に正の数を指定することもできます。最後の追加距離に正の数を指定した場合、次のすべての条件を満たす必要があります。"
299
300 msgid "The interval between the first phrase and the second to last phrase is less than or equals to ``the max interval``."
301 msgstr "最初のフレーズと最後から2番目のフレーズの距離は ``最大距離`` 以下でなければいけない。"
302
303 msgid "The interval between the first phrase and the last phrase is less than or equals to ``the max interval`` + ``the additional last interval``."
304 msgstr "最初のフレーズと最後のフレーズの距離は ``最大距離`` + ``最後の追加距離`` 以下でなければいけない。"
305
306 msgid "If you specify negative number as the additional last interval, the second condition isn't required. Appearing the last phrase is just needed."
307 msgstr "最後の追加距離に負の数を指定した場合は2番目の条件を満たさなくてもよいです。最後のフレーズが出現するだけでよいです。"
308
309 msgid "Here is an example to use positive number as the additional last interval:"
310 msgstr "以下は最後の追加距離として正の数を指定する例です。"
311
312 msgid "The max intervals of each phrase."
313 msgstr "各フレーズ間の最大距離。"
314
315 msgid "You can also specify the max intervals of each phrase like :ref:`query-syntax-near-search-condition`."
316 msgstr ":ref:`query-syntax-near-search-condition` のように各フレーズ間の最大距離を指定することもできます。"
317
318 msgid "Here is an example:"
319 msgstr "以下は使用例です。"
320
321 msgid "Near phrase product search condition"
322 msgstr "近傍フレーズ直積検索条件"
323
324 msgid "Its syntax is ``*NPP\"(phrase1_1 phrase1_2 ...) (phrase2_1 phrase2_2 ...) ...\"``."
325 msgstr "構文は ``*NPP\"(フレーズ1-1 フレーズ1-2 ...) (フレーズ2-1 フレーズ2-2 ...) ...\"`` です。"
326
327 msgid "This conditional expression does multiple :ref:`query-syntax-near-phrase-search-condition`. Phrases for each :ref:`query-syntax-near-phrase-search-condition` are computed as product of ``{phrase1_1, phrase1_2, ...}``, ``{phrase2_1, phrase2_2, ...}`` and ``...``. For example, ``*NPP\"(a b c) (d e)\"`` uses the following phrases for near phrase searches:"
328 msgstr "この条件式は複数の :ref:`query-syntax-near-phrase-search-condition` をします。各 :ref:`query-syntax-near-phrase-search-condition` が使うフレーズ群は ``{フレーズ1-1, フレーズ1-2, ...}`` と ``{フレーズ2-1, フレーズ2-2, ...}`` と ``...`` の直積として計算します。たとえば、 ``*NPP\"(a b c) (d e)\"`` は以下のフレーズ群のリストで近傍フレーズ検索をします。"
329
330 msgid "``a d``"
331 msgstr ""
332
333 msgid "``a e``"
334 msgstr ""
335
336 msgid "``b d``"
337 msgstr ""
338
339 msgid "``b e``"
340 msgstr ""
341
342 msgid "``c d``"
343 msgstr ""
344
345 msgid "``c e``"
346 msgstr ""
347
348 msgid "You can use the all features of :ref:`query-syntax-near-phrase-search-condition` such as the max interval, ``$`` for the last phrase and the additional last interval."
349 msgstr "最大距離や ``$`` による最後のフレーズ指定や最後の追加距離など :ref:`query-syntax-near-phrase-search-condition` のすべての機能を使うことができます。"
350
351 msgid "This is more effective than multiple :ref:`query-syntax-near-phrase-search-condition` ."
352 msgstr "これは複数の :ref:`query-syntax-near-phrase-search-condition` よりも効率的です。"
353
354 msgid "Ordered near phrase search condition"
355 msgstr "順序付き近傍フレーズ検索条件"
356
357 msgid "It's syntax is ``*ONP\"phrase1 phrase2 ...\"``"
358 msgstr "構文は ``*ONP\"phrase1 phrase2 ...\"`` です。"
359
360 msgid "This conditional expression does ordered near phrase search with ``phrase1``, ``phrase2`` and ``...``. Ordered near phrase search is similar to :ref:`query-syntax-near-phrase-search-condition` but ordered near phrase search checks phrases order. For example, ``*ONP\"groonga mroonga pgroonga\"`` matches ``groonga mroonga rroonga pgroonga`` but doesn't match ``groonga rroonga pgroonga mroonga``. Because the latter uses different order:"
361 msgstr "この条件式は ``フレーズ1`` と ``フレーズ2`` と ``...`` で順序付き近傍フレーズ検索をします。順序付き近傍フレーズ検索は :ref:`query-syntax-near-phrase-search-condition` と似ていますが順序付き近傍フレーズ検索はフレーズの順番をチェックします。たとえば、 ``*ONP\"groonga mroonga pgroonga\"`` は ``groonga mroonga rroonga pgroonga`` にマッチしますが ``groonga rroonga pgroonga mroonga`` にはマッチしません。なぜなら後者は順序が違うからです。"
362
363 msgid "You can use the all features of :ref:`query-syntax-near-phrase-search-condition` such as the max interval and the additional last interval. But you don't need to specify ``$`` for the last phrase because the last phrase in query is the last phrase."
364 msgstr "最大距離や最後の追加距離といった :ref:`query-syntax-near-phrase-search-condition` のすべての機能を使えます。しかし、最後のフレーズに ``$`` を指定する必要はありません。クエリー内の最後のフレーズが最後のフレーズになるからです。"
365
366 msgid "Ordered near phrase product search condition"
367 msgstr "順序付き近傍フレーズ直積検索条件"
368
369 msgid "Its syntax is ``*ONPP\"(phrase1_1 phrase1_2 ...) (phrase2_1 phrase2_2 ...) ...\"``."
370 msgstr "構文は ``*ONPP\"(フレーズ1-1 フレーズ1-2 ...) (フレーズ2-1 フレーズ2-2 ...) ...\"`` です。"
371
372 msgid "This conditional expression does ordered near phrase product search. Ordered near phrase product search is similar to :ref:`query-syntax-near-phrase-product-search-condition` but ordered near phrase product search checks phrases order like :ref:`query-syntax-ordered-near-phrase-search-condition`. For example, ``*ONPP\"(a b c) (d e)\"`` matches ``a 1 d`` but doesn't match ``d 1 a``. Because the latter uses different order."
373 msgstr "この条件式は順序付き近傍フレーズ直積検索をします。順序付き近傍フレーズ直積検索は :ref:`query-syntax-near-phrase-product-search-condition` と似ていますが、順序付き近傍フレーズ直積検索は :ref:`query-syntax-ordered-near-phrase-search-condition` のようにフレーズの順序をチェックします。たとえば、 ``*ONPP\"(a b c) (d e)\"`` は ``a 1 d`` にマッチしますが、 ``d 1 a`` にはマッチしません。なぜなら後者は順序が違うからです。"
374
375 msgid "Similar search condition"
376 msgstr "類似文書検索条件"
377
378 msgid "TODO"
379 msgstr ""
380
381 msgid "Equal condition"
382 msgstr "等価条件"
383
384 msgid "Its syntax is ``column:value``."
385 msgstr "構文は ``column:value`` です。"
386
387 msgid "It matches records that ``column`` value is equal to ``value``."
388 msgstr "``column`` の値が ``value`` と等しいレコードにマッチします。"
389
390 msgid "The expression matches records that ``_key`` column value is equal to ``Groonga``."
391 msgstr "この式は ``_key`` カラムの値が ``Groonga`` のレコードにマッチします。"
392
393 msgid "Not equal condition"
394 msgstr "不等価条件"
395
396 msgid "Its syntax is ``column:!value``."
397 msgstr "構文は ``column:!value`` です。"
398
399 msgid "It matches records that ``column`` value isn't equal to ``value``."
400 msgstr "``column`` の値が ``value`` と等しくないレコードにマッチします。"
401
402 msgid "The expression matches records that ``_key`` column value is not equal to ``Groonga``."
403 msgstr "この式は ``_key`` カラムの値が ``Groonga`` ではないレコードにマッチします。"
404
405 msgid "Less than condition"
406 msgstr "小なり条件"
407
408 msgid "Its syntax is ``column:<value``."
409 msgstr "構文は ``column:<value`` です。"
410
411 msgid "It matches records that ``column`` value is less than ``value``."
412 msgstr "``column`` の値が ``value`` 未満のレコードにマッチします。"
413
414 msgid "If ``column`` type is numerical type such as ``Int32``, ``column`` value and ``value`` are compared as number. If ``column`` type is text type such as ``ShortText``, ``column`` value and ``value`` are compared as bit sequence."
415 msgstr "``column`` の型が ``Int32`` などの数値型の場合、 ``column`` の値と ``value`` は数値として比較します。もし、 ``column`` の型が ``ShortText`` のような文字列型の場合は ``column`` の値と ``value`` はビット列として比較します。"
416
417 msgid "The expression matches records that ``n_likes`` column value is less than ``10``."
418 msgstr "この式は ``n_likes`` カラムの値が ``10`` より小さいレコードにマッチします。"
419
420 msgid "Greater than condition"
421 msgstr "大なり条件"
422
423 msgid "Its syntax is ``column:>value``."
424 msgstr "構文は ``column:>value`` です。"
425
426 msgid "It matches records that ``column`` value is greater than ``value``."
427 msgstr "``column`` の値が ``value`` より大きいレコードにマッチします。"
428
429 msgid "The expression matches records that ``n_likes`` column value is greater than ``10``."
430 msgstr "この式は ``n_likes`` カラムの値が ``10`` より大きいレコードにマッチします。"
431
432 msgid "Less than or equal to condition"
433 msgstr "以下条件"
434
435 msgid "Its syntax is ``column:<=value``."
436 msgstr "構文は ``column:<=value`` です。"
437
438 msgid "It matches records that ``column`` value is less than or equal to ``value``."
439 msgstr "``column`` の値が ``value`` 以下のレコードにマッチします。"
440
441 msgid "The expression matches records that ``n_likes`` column value is less than or equal to ``10``."
442 msgstr "この式は ``n_likes`` カラムの値が ``10`` 以下のレコードにマッチします。"
443
444 msgid "Greater than or equal to condition"
445 msgstr "以上条件"
446
447 msgid "Its syntax is ``column:>=value``."
448 msgstr "構文は ``column:>=value`` です。"
449
450 msgid "It matches records that ``column`` value is greater than or equal to ``value``."
451 msgstr "``column`` の値が ``value`` 以上のレコードにマッチします。"
452
453 msgid "The expression matches records that ``n_likes`` column value is greater than or equal to ``10``."
454 msgstr "この式は ``n_likes`` カラムの値が ``10`` 以上のレコードにマッチします。"
455
456 msgid "Regular expression condition"
457 msgstr "正規表現条件"
458
459 msgid "Its syntax is ``column:~pattern``."
460 msgstr "構文は ``column:~pattern`` です。"
461
462 msgid "It matches records that ``column`` value is matched to ``pattern``. ``pattern`` must be valid :doc:`/reference/regular_expression`."
463 msgstr "``column`` の値が ``pattern`` にマッチするレコードにマッチします。 ``pattern`` は正しい :doc:`/reference/regular_expression` でなければいけません。"
464
465 msgid "The following example uses ``.roonga`` as pattern. It matches ``Groonga``, ``Mroonga`` and so on."
466 msgstr "以下の例はパターンとして ``.roonga`` を使っています。このパターンは ``Groonga`` 、 ``Mroonga`` といった文字列にマッチします。"
467
468 msgid "In most cases, regular expression is evaluated sequentially. So it may be slow against many records."
469 msgstr "多くの場合、各レコードに対して順に正規表現を評価します。そのため、多くのレコードがある場合は遅くなるかもしれません。"
470
471 msgid "In some cases, Groonga evaluates regular expression by index. It's very fast. See :doc:`/reference/regular_expression` for details."
472 msgstr "いくつかのケースでは、Groongaはインデックスを使って正規表現を評価します。これはとても高速です。詳細は :doc:`/reference/regular_expression` を参照してください。"
473
474 msgid "Combined expression"
475 msgstr "結合式"
476
477 msgid "Here is available combined expression list."
478 msgstr "以下は利用可能な結合式のリストです。"
479
480 msgid "Logical OR"
481 msgstr "論理和"
482
483 msgid "Its syntax is ``a OR b``."
484 msgstr "構文は ``a OR b`` です。"
485
486 msgid "``a`` and ``b`` are conditional expressions, conbinded expressions or assignment expressions."
487 msgstr "``a`` と ``b`` は条件式または結合式または代入式です。"
488
489 msgid "If at least one of ``a`` and ``b`` are matched, ``a OR b`` is matched."
490 msgstr "``a`` と ``b`` のうち少なくともひとつの式がマッチすれば ``a OR b`` はマッチします。"
491
492 msgid "The expression matches records that ``n_likes`` column value is greater than ``10`` or contain a word ``senna`` in ``content`` column value."
493 msgstr "この式は ``n_likes`` カラムの値が ``10`` より大きいか ``content`` カラムの値に ``senna`` という単語を含んでいるレコードにマッチします。"
494
495 msgid "Logical AND"
496 msgstr "論理積"
497
498 msgid "Its syntax is ``a + b`` or just ``a b``."
499 msgstr "構文は ``a + b`` です。あるいは単に ``a b`` と書くこともできます。"
500
501 msgid "If both ``a`` and ``b`` are matched, ``a + b`` is matched."
502 msgstr "``a`` と ``b`` の両方にマッチすれば ``a + b`` はマッチします。"
503
504 msgid "You can specify ``+`` the first expression such as ``+a``. The ``+`` is just ignored."
505 msgstr "``+a`` というように最初の式に ``+`` を指定することもできます。この場合は ``+`` は単に無視されます。"
506
507 msgid "The expression matches records that ``n_likes`` column value is greater than or equal to ``10`` and contain a word ``groonga`` in ``content`` column value."
508 msgstr "この式は ``n_likes`` カラムの値が ``10`` 以上で ``content`` カラムの値に ``groonga`` という単語を含むレコードにマッチします。"
509
510 msgid "Logical AND NOT"
511 msgstr "論理差"
512
513 msgid "Its syntax is ``a - b``."
514 msgstr "構文は ``a - b`` です。"
515
516 msgid "If ``a`` is matched and ``b`` is not matched, ``a - b`` is matched."
517 msgstr "``a`` にマッチして ``b`` にマッチしなければ、 ``a - b`` はマッチします。"
518
519 msgid "You can not specify ``-`` the first expression such as ``-a``. It's syntax error."
520 msgstr "``-a`` というように最初の式に ``-`` を指定することはできません。この場合は構文エラーになります。"
521
522 msgid "The expression matches records that ``n_likes`` column value is greater than or equal to ``10`` and don't contain a word ``groonga`` in ``content`` column value."
523 msgstr "この式は ``n_likes`` カラムの値が ``10`` 以上で ``content`` カラムの値に ``groonga`` という単語を含まないレコードにマッチします。"
524
525 msgid "Grouping"
526 msgstr "グループ化"
527
528 msgid "Its syntax is ``(...)``. ``...`` is space separated expression list."
529 msgstr "構文は ``(...)`` です。 ``...`` は空白区切りの式のリストです。"
530
531 msgid "``(...)`` groups one ore more expressions and they can be processed as an expression. ``a b OR c`` means that ``a`` and ``b`` are matched or ``c`` is matched. ``a (b OR c)`` means that ``a`` and one of ``b`` and ``c`` are matched."
532 msgstr "``(...)`` は1つ以上の式をグループ化します。グループ化された式は1つの式として処理されます。 ``a b OR c`` は ``a`` と ``b`` の両方がマッチするか、 ``c`` がマッチすれば式全体がマッチする、という意味になります。 ``a (b OR c)`` は ``a`` がマッチして ``b`` と ``c`` はどちらか一方がマッチすれば式全体がマッチする、という意味になります。"
533
534 msgid "The first expression doesn't use grouping. It matches records that ``n_likes:<5`` and ``content:@senna`` are matched or ``content:@fast`` is matched."
535 msgstr "最初の式はグループ化していません。この式は ``n_likes:<5`` と ``content:@senna`` の両方がマッチするか ``content:@fast`` がマッチするレコードにマッチします。"
536
537 msgid "The second expression uses grouping. It matches records that ``n_likes:<5`` and one of ``content:@senna`` or ``content:@fast`` are matched."
538 msgstr "2番目の式はグループ化しています。この式は ``n_likes:<5`` にマッチして、 ``content:@senna`` と ``content:@fast`` は少なくともどちらか一方にマッチするレコードにマッチします。"
539
540 msgid "Assignment expression"
541 msgstr "代入式"
542
543 msgid "This section is for advanced users. Because assignment expression is disabled in ``--query`` option of :doc:`/reference/commands/select` by default. You need to specify ``ALLOW_COLUMN|ALLOW_UPDATE`` as ``--query_flags`` option value to enable assignment expression."
544 msgstr "このセクションは高度なユーザー向けです。それは、代入式は :doc:`/reference/commands/select` の ``--query`` オプションではデフォルトでは無効になっているからです。代入式を有効にするには ``--query_flags`` オプションに ``ALLOW_COLUMN|ALLOW_UPDATE`` を指定してください。"
545
546 msgid "Assignment expression in query syntax has some limitations. So you should use :doc:`/reference/grn_expr/script_syntax` instead of query syntax for assignment."
547 msgstr "クエリー構文における代入式にはいくつか制限があります。代入にはクエリー構文の代りに :doc:`/reference/grn_expr/script_syntax` を使ってください。"
548
549 msgid "There is only one syntax for assignment expression. It's ``column:=value``."
550 msgstr "代入式の構文は1つだけです。 ``column:=value`` となります。"
551
552 msgid "``value`` is assigned to ``column``. ``value`` is always processed as string in query syntax. ``value`` is casted to the type of ``column`` automatically. It causes some limitations. For example, you cannot use boolean literal such as ``true`` and ``false`` for ``Bool`` type column. You need to use empty string for ``false`` but query syntax doesn't support ``column:=`` syntax."
553 msgstr "``value`` は ``column`` に代入されます。 ``value`` は常にクエリー構文では文字列として扱われます。 ``value`` は ``column`` の型へと自動的にキャストされます。 キャストにはいくつか制限があります。例えば ``true`` や ``false`` といった真偽値のリテラルを ``Bool`` 型のカラムに使用することができません。 ``false`` については空文字列を使う必要がありますが、クエリー構文は ``column:=`` 構文をサポートしていません。"
554
555 msgid "See :doc:`/reference/cast` about cast."
556 msgstr "キャストについては :doc:`/reference/cast` を参照してください。"