[groonga-dev,04531] Re: pgroonga で jsonb におけるクエリー

Back to archive index

Kouhei Sutou kou****@clear*****
2017年 11月 20日 (月) 23:51:50 JST


須藤です。

In <08cf01d35e85$22fc2e90$68f48bb0$@mirror.ocn.ne.jp>
  "[groonga-dev,04530] pgroonga で jsonb におけるクエリー" on Thu, 16 Nov 2017 11:46:43 +0900,
  内山敏郎 <toshio_uchiy****@mirro*****> wrote:

> select jsonb_pretty(record) from subtitlej where record @> '{"subtitle":
> [{"content": "あかさ"}]}'::jsonb;
> 
>  
> 
> のような検索はできますでしょうか。

はい、できます。
PostgreSQLが標準で提供している@>を高速化できるか、ということ
ですよね。

  https://pgroonga.github.io/ja/reference/operators/contain-jsonb.html

-- 
須藤 功平 <kou****@clear*****>
株式会社クリアコード <http://www.clear-code.com/>

Groongaベースの全文検索システムを総合サポート:
  http://groonga.org/ja/support/
パッチ採用 - プログラミングが楽しい人向けの採用プロセス:
  http://www.clear-code.com/recruitment/
OSS開発支援サービス:
  http://www.clear-code.com/blog/2016/6/27.html




groonga-dev メーリングリストの案内
Back to archive index