FTS don't work

From: "Martins Zarins" <mark(at)vestnesis(dot)lv>
To: pgsql-admin(at)postgresql(dot)org
Subject: FTS don't work
Date: 2001-10-03 07:20:00
Message-ID: 3BBAE650.29990.A7CD914@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Frampton 2001-10-03 11:22:46 Race condition in 7.1.2?
Previous Message Chris Pesko 2001-10-02 18:52:53 Storage management?????