Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"PO-Revision-Date: 2015-10-24 17:55+0900\n" | ||
"Language: ja\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
|
||
msgid "" | ||
"---\n" | ||
"title: \"@@ operator for non jsonb types\"\n" | ||
"layout: en\n" | ||
"---" | ||
msgstr "" | ||
"---\n" | ||
"title: \"jsonb型以外の型用の@@演算子\"\n" | ||
"layout: ja\n" | ||
"---" | ||
|
||
msgid "# `@@` operator for non `jsonb` types" | ||
msgstr "# `jsonb`型以外の型用の`@@`演算子" | ||
|
||
msgid "" | ||
"You can do full text search with multiple keywords by `@@` operator like `KEYW" | ||
"ORD1 KEYWORD2`. You can also do OR search by `KEYWORD1 OR KEYWORD2`:" | ||
msgstr "" | ||
"`@@`演算子を使うと`キーワード1 キーワード2`のように複数のキーワードを指定して全文検索できます。`キーワード1 OR キーワード2`のようにOR検索" | ||
"することもできます。" | ||
|
||
msgid "" | ||
"```sql\n" | ||
"SELECT * FROM memos WHERE content @@ 'PGroonga OR PostgreSQL';\n" | ||
"-- id | content\n" | ||
"-- ----+----------------------------------------------------------------------" | ||
"-----\n" | ||
"-- 3 | PGroongaはインデックスとしてGroongaを使うためのPostgreSQLの拡張機能です。\n" | ||
"-- 1 | PostgreSQLはリレーショナル・データベース管理システムです。\n" | ||
"-- (2 行)\n" | ||
"```" | ||
msgstr "" | ||
|
||
msgid "" | ||
"See [Groonga document](http://groonga.org/docs/reference/grn_expr/query_syntax" | ||
".html) for query syntax details." | ||
msgstr "" | ||
"クエリーの構文の詳細は[Groongaのドキュメント](http://groonga.org/ja/docs/reference/grn_expr/quer" | ||
"y_syntax.html)を参照してください。" | ||
|
||
msgid "" | ||
"Note that you can't use syntax that starts with `COLUMN_NAME:` like `COLUMN_NA" | ||
"ME:@KEYWORD`. It's disabled in PGroonga." | ||
msgstr "`カラム名:@キーワード`のように`カラム名:`から始まる構文を使うことはできません。これはPGroongaで無効にしています。" | ||
|
||
msgid "" | ||
"You can't use `COLUMN_NAME:^VALUE` for prefix search. You need to use `VALUE*`" | ||
" for prefix search." | ||
msgstr "前方一致検索のために`カラム名:^値`という構文を使うことができません。前方一致検索には`値*`を使ってください。" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: "jsonb型以外の型用の@@演算子" | ||
layout: ja | ||
--- | ||
|
||
# `jsonb`型以外の型用の`@@`演算子 | ||
|
||
`@@`演算子を使うと`キーワード1 キーワード2`のように複数のキーワードを指定して全文検索できます。`キーワード1 OR キーワード2`のようにOR検索することもできます。 | ||
|
||
```sql | ||
SELECT * FROM memos WHERE content @@ 'PGroonga OR PostgreSQL'; | ||
-- id | content | ||
-- ----+--------------------------------------------------------------------------- | ||
-- 3 | PGroongaはインデックスとしてGroongaを使うためのPostgreSQLの拡張機能です。 | ||
-- 1 | PostgreSQLはリレーショナル・データベース管理システムです。 | ||
-- (2 行) | ||
``` | ||
|
||
クエリーの構文の詳細は[Groongaのドキュメント](http://groonga.org/ja/docs/reference/grn_expr/query_syntax.html)を参照してください。 | ||
|
||
`カラム名:@キーワード`のように`カラム名:`から始まる構文を使うことはできません。これはPGroongaで無効にしています。 | ||
|
||
前方一致検索のために`カラム名:^値`という構文を使うことができません。前方一致検索には`値*`を使ってください。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters