Re: grep -f keyword data query - Mailing list pgsql-general

From Tom Lane
Subject Re: grep -f keyword data query
Date
Msg-id 13472.1451263007@sss.pgh.pa.us
Whole thread Raw
In response to Re: grep -f keyword data query  (Hiroyuki Sato <hiroysato@gmail.com>)
Responses Re: grep -f keyword data query  (Hiroyuki Sato <hiroysato@gmail.com>)
List pgsql-general
Hiroyuki Sato <hiroysato@gmail.com> writes:
> Sorry, I re-created my questions. I was mis-pasted query log on previous
> question.
> (@~ operator is PGroonga extension (http://pgroonga.github.io))
> [ "like" is actually the operator of interest ]

Ah.  You might get some good results with trigram indexes (ie,
contrib/pg_trgm and a GIST or GIN index).  See

http://www.postgresql.org/docs/9.4/static/pgtrgm.html

            regards, tom lane


pgsql-general by date:

Previous
From: Hiroyuki Sato
Date:
Subject: Re: grep -f keyword data query
Next
From: Hiroyuki Sato
Date:
Subject: Re: grep -f keyword data query