pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martins Zarins <mark@vestnesis.lv>
To: pgsql-admin@postgresql.org
Subject: FTS don't work
Date: Wed, 3 Oct 2001 10:20:00 +0300
Message-ID: <3BBAE650.29990.A7CD914@localhost> (raw)

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



Message-ID: <3BBAE650.29990.A7CD914@localhost>
Permalink:  ../3BBAE650.29990.A7CD914@localhost/
Also on:    postgresql.org/message-id/3BBAE650.29990.A7CD914@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mark@vestnesis.lv
  Subject: Re: FTS don't work
  In-Reply-To: <3BBAE650.29990.A7CD914@localhost>
  References: <3BBAE650.29990.A7CD914@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox