Search Postgresql Archives

Re: Multiple word synonyms (maybe?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. Thanks for 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 generic replacement)?

> ​Geoff​​

Cheers,
Tim


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux