Received: from lv-fw ([159.148.47.176]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f937Z1n94561 for ; Wed, 3 Oct 2001 03:35:04 -0400 (EDT) (envelope-from mark@vestnesis.lv) Received: (from mail@localhost) by lv-fw (8.11.1/8.11.1) id f938cqw24558 for pgsql-admin@postgresql.org; Wed, 3 Oct 2001 10:38:52 +0200 (EET) (envelope-from mark@vestnesis.lv) X-Authentication-Warning: lv-fw: mail set sender to mark@vestnesis.lv using -f Received: from 10.11.12.10 by 216.126.85.28 id ExhEbL+H ; 3 Oct 2001 10:38:45 EET Received: from varde (varde [10.11.12.30]) by vestnesis.lv (8.11.2/x.y.z/Who Cares x.y.z-a.b) with ESMTP id f937Z9u20737 for ; Wed, 3 Oct 2001 10:35:09 +0300 From: "Martins Zarins" To: pgsql-admin@postgresql.org Date: Wed, 3 Oct 2001 10:20:00 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: FTS don't work Reply-to: mark@vestnesis.lv Message-ID: <3BBAE650.29990.A7CD914@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) X-Archive-Number: 200110/16 X-Sequence-Number: 2262 Hi, all! There is one full text search solution contributed with postgres source (I use 7.1.3). And there is sed that select id from fti where string ~ '^substring' will use indexes. But it don't. As I find out index works only if I search like SELECT id from fti where string = 'string'; How can I search for strings like 'strin%' and use index? Mark