Re: Question regarding contrib/fulltextindexing
От | Andrew McMillan |
---|---|
Тема | Re: Question regarding contrib/fulltextindexing |
Дата | |
Msg-id | 1026605819.10875.56.camel@kant.mcmillan.net.nz обсуждение исходный текст |
Ответ на | Question regarding contrib/fulltextindexing ("Derek Barrett" <derekbarrett@graffiti.net>) |
Список | pgsql-novice |
On Sun, 2002-07-14 at 08:53, Derek Barrett wrote: > > In my situation, I need to match exact words, so I've used regular expressions to search on a varchar(10000) field: > > SELECT * > FROM table > WHERE description ~* ('[^a-zA-Z0-9]($keyword[$x])[^a-zA-Z0-9]'); > > Would this module still be useful in my situation? I was doing word search with a modified version of the fulltextindex code, but in the end I found it easier to write a perl program to do build the index table - the trigger approach was more work to manage than it seemed it should be. Regards, Andrew. -- -------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet?
В списке pgsql-novice по дате отправления: