Hiroyuki Sato <hiroysato@xxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general