X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4E37CD1C9E7 for ; Mon, 22 Sep 2003 15:46:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 49337-07 for ; Mon, 22 Sep 2003 12:46:14 -0300 (ADT) Received: from mta3.snet.net (mta3.snet.net [204.60.203.69]) by svr1.postgresql.org (Postfix) with ESMTP id 7075FD1B557 for ; Mon, 22 Sep 2003 12:46:13 -0300 (ADT) Received: from [192.168.1.203] (167.95.252.64.snet.net [64.252.95.167]) by mta3.snet.net (8.12.3/8.12.3/SNET-smtp-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id h8MFk6tp000373; Mon, 22 Sep 2003 11:46:06 -0400 (EDT) Date: Mon, 22 Sep 2003 11:41:13 -0400 (EDT) From: Wei Weng X-X-Sender: wweng@localhost.localdomain To: Richard Huxton Cc: pgsql-sql@postgresql.org Subject: Re: GiST and full text search In-Reply-To: <200309221624.01700.dev@archonet.com> Message-ID: References: <200309221624.01700.dev@archonet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/255 X-Sequence-Number: 15233 The production server uses PostgreSQL 7.3.1 right now, so I am only looking at contrib/tsearch. I read through the README file. It only seems to offer a way to FTS through one 'text' column in the table. How do I create a 'txtidx' column that combines two or even more 'text' columns in the table? Thanks Wei On Mon, 22 Sep 2003, Richard Huxton wrote: > On Monday 22 September 2003 16:02, Wei Weng wrote: > > Hi all. > > > > I have been doing a little research on how to do full text search under > > postgresql, and GiST seems to be the way to go. But the documentation on > > this is pretty lacking and I wonder if there are better sources that > > describe the details on how to implement full text search with GiST. > > Have you looked at tsearch / tsearch2 in the contrib/ directory? > >