Indexing Metaphone?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Indexing Metaphone?
Дата
Msg-id 200206051112.02090.josh@agliodbs.com
обсуждение исходный текст
Ответы Re: Indexing Metaphone?  (Richard Poole <rp@guests.deus.net>)
Re: Indexing Metaphone?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Folks,

I'm building a database that does a lot of fuzzy-string searches.  As such,
I'd like to index the metaphone results of certain columns.  However, I get
this when I try:

jwnet=> CREATE INDEX idx_locations_metaphone ON
locations(metaphone(location_name, 12));
ERROR:  parser: parse error at or near "12"
jwnet=>

is this a syntax error, or do I need to create a column to hold the metaphone
values in order to index them?

--
-Josh Berkus



В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Further info : Very high load average but no cpu utilization
Следующее
От: Roberto Mello
Дата:
Сообщение: extract and variables in PL/pgSQL