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 9B6D3D1B52E for ; Tue, 23 Sep 2003 05:39:48 +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 57730-05 for ; Tue, 23 Sep 2003 02:39:17 -0300 (ADT) Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by svr1.postgresql.org (Postfix) with ESMTP id CAC38D1B4F5 for ; Tue, 23 Sep 2003 02:39:09 -0300 (ADT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.12.10/8.12.10) with ESMTP id h8N5cm2W006824; Tue, 23 Sep 2003 09:38:49 +0400 (MSD) Date: Tue, 23 Sep 2003 09:38:48 +0400 (MSD) From: Oleg Bartunov X-X-Sender: megera@ra.sai.msu.su To: Wei Weng Cc: Richard Huxton , pgsql-sql@postgresql.org Subject: Re: GiST and full text search In-Reply-To: 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/269 X-Sequence-Number: 15247 On Mon, 22 Sep 2003, Wei Weng wrote: > The production server uses PostgreSQL 7.3.1 right now, so I am only > looking at contrib/tsearch. you may download tsearch2 for 7.3.X from http://www.sai.msu.su/~megera/postgres/gist/tsearc/V2 > > 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? > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83