Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id VAA71206 for ; Fri, 11 Jun 1999 21:31:51 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id VAA26406; Fri, 11 Jun 1999 21:06:28 -0400 (EDT) From: Bruce Momjian Message-Id: <199906120106.VAA26406@candle.pha.pa.us> Subject: Re: [SQL] Searching Text Fields In-Reply-To: <376152B8.A2FAFD4A@city-map.de> from Henrik Steffen at "Jun 11, 1999 08:17:28 pm" To: henrik@steffen.stade.net Date: Fri, 11 Jun 1999 21:06:28 -0400 (EDT) CC: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit See contrib/fulltextindex > Hi all, > > I need a way to search for a keyword that may appear as a substring in > any field of any table. > > There are 10 tables with 5 to 15 fields, most of them text and char > fields, several thousand records. > > How can I do it efficiently? > > Can anyone point me to some useful information or show me an example? > > > Thanks in advance > > > Kind regards, > > > Henrik Steffen > city-map Stade > http://www.Stade.net > > -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026