How to enable partial matching on a GIN index

From: Chris Spencer <chrisspen(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: How to enable partial matching on a GIN index
Date: 2016-01-11 16:22:31
Message-ID: CANe40gKfKnOnkGrxO07EP=WEhJLYzBHdqhf6kGRGqrey8rD39Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I recently setup a GIN index on a large database, and it's performance is
spectacular. However, I noticed by default it doesn't allow searching by
partial matches.

The docs (http://www.postgresql.org/docs/9.5/static/gin-implementation.html)
claim partial matching is supported but don't actually explain how to
enable it. Are there any examples of creating a GIN index that uses partial
matching? I'm not finding anything through Google.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2016-01-11 17:58:01 Re: How to enable partial matching on a GIN index
Previous Message Jürgen Purtz 2016-01-08 20:52:27 Re: Graphic to visualize data flow between processes, buffers and files