|
|||||||||||
|
Re: [GENERAL] Prefix search, word completion, full text search
From: Vincent Bernat <bernat(at)luffy.cx>
Date: Sun Dec 30 2007 - 05:38:47 EST
>> GIST or GIN (I don't remember) should allow to search for prefix. How >> can I query them? > there is no built-in. For your purpose I'd create separate table with If I have a table with all the words that I want to complete, why would I use something more complex than this? SELECT word FROM words WHERE word LIKE 'foo%' Does such a search can't use normal index? > Should works. IIRC, someone already asked about such dictionary and even Do you have some keywords to search for? "dictionary prefix" does not match anything useful. Thanks.
--
Write clearly - don't be too clever.
- The Elements of Programming Style (Kernighan & Plauger)
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org/
Received on Sun Dec 30 05:40:33 2007This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 23:01:44 EDT |
||||||||||
|
|||||||||||