Re: Multiple word synonyms (maybe?)

Поиск
Список
Период
Сортировка
От Tim van der Linden
Тема Re: Multiple word synonyms (maybe?)
Дата
Msg-id 20151021095620.7e811e801f54693eb38484e8@shisaa.jp
обсуждение исходный текст
Ответ на Re: Multiple word synonyms (maybe?)  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: Multiple word synonyms (maybe?)
Список pgsql-general
On Tue, 20 Oct 2015 12:02:46 +0100

> ​Does the Thesaurus dictionary not do what you want?​
> ​
> http://www.postgresql.org/docs/current/static/textsearch-dictionaries.html#TEXTSEARCH-THESAURUS

Damn, I completely overlooked that one, and it indeed does seem to come very close to what I need in this use case.
Thanksfor jolting my memory (also @Kevin) :) 

If I am not mistaken, this would be a valid thesaurus file:

acute mi : heart attack
mi : heart attack
myocardial infarction : heart attack​

Multiple words on both ends, separated by a colon and each line being functional (a unique phrase linked to its more
genericreplacement)? 

> ​Geoff​​

Cheers,
Tim


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

Предыдущее
От: Tim van der Linden
Дата:
Сообщение: Re: Multiple word synonyms (maybe?)
Следующее
От: Dane Foster
Дата:
Сообщение: Re: My first PL/pgSQL function