Re: How to remove the possibility to search the parts of a compound word with hyphen

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to remove the possibility to search the parts of a compound word with hyphen
Дата
Msg-id 29238.1216059614@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to remove the possibility to search the parts of a compound word with hyphen  ("Fco. Mario Barcala" Rodríguez<lbarcala@freeresearch.org>)
Список pgsql-general
"Fco. Mario Barcala" =?ISO-8859-1?Q?Rodr=EDguez?= <lbarcala@freeresearch.org> writes:
> Is it possible to remove the possibility of searching the parts of a
> word which include a hyphen? I know that the default parser identifies
> all possibilities (the compound word and the individual part ones), but
> I would like to make possible to search only for the compound word, but
> not for the parts.

Sure, just set up your text search configuration so that word-parts are
discarded instead of being passed through to the dictionary(s).

            regards, tom lane

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: statement timeout and pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: UPDATE runs slow in a transaction