From: | arnaud(dot)mlist1(at)free(dot)fr |
---|---|
To: | Marin Dimitrov <marin(dot)dimitrov(at)sirma(dot)bg> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Lexicographic index ? |
Date: | 2002-05-16 11:22:08 |
Message-ID: | 1021548128.3ce39660e5d56@imp.free.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> > select * from twords where words||'%' like 'saxophones';
> >
> > works but uses a sequential scan on the table...
> >
> try http://techdocs.postgresql.org/techdocs/fulltextindexing.php
Hmmm... I don't think this has any chance to work : what I need is that a part
of the work I search (beginning from its start) can be found in the table (such
as 'saxophones' would match 'saxophone' or 'sax' in the table, but
not 'saxophonesandsomethingbehind', and not that the word can be found in a
bigger word in the table (it's already easy to find 'saxophones'
from 'saxophone' using like and 'saxophone%' : it uses my index correctly.
Or didn't I understand something ?
Arnaud
From | Date | Subject | |
---|---|---|---|
Next Message | Arindam Haldar | 2002-05-16 12:19:17 | Re: [INTERFACES] C & C ++Program Problem |
Previous Message | Arindam Haldar | 2002-05-16 11:03:27 | Re: if exists? |