From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michal Samek <webmaster@tony.cz>
Cc: pgsql-sql <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] Select like when searching for whole word and optimizing it
Date: Wed, 09 Jun 1999 10:43:36 -0400
Message-ID: <28834.928939416@sss.pgh.pa.us> (raw)
In-Reply-To: <375E289E.EF906BD2@tony.cz>
Michal Samek <webmaster@tony.cz> writes:
> Maybe there is some better way to search for the whole word?
I think you want to build a secondary table and search that.
Take a look at the stuff in contrib/fulltextindex; it may solve your
problem as-is, and if not you can probably adapt it to your needs...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, webmaster@tony.cz
Subject: Re: [SQL] Select like when searching for whole word and optimizing it
In-Reply-To: <28834.928939416@sss.pgh.pa.us>
References: <375E289E.EF906BD2@tony.cz> <28834.928939416@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox