Re: [HACKERS] Include Lists for Text Search

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: [HACKERS] Include Lists for Text Search
Дата
Msg-id 47D54CCF.1090904@sigaev.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] Include Lists for Text Search  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Include Lists for Text Search  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Include Lists for Text Search  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-patches
> Hmm, I can see how some middleware would help with folding or not
> folding the input token, but what about the words coming from the
> dictionary file (particularly the *output* lexeme)?  It's not apparent
> to me that it's sensible to try to control that from outside the
> dictionary.

Right now I see an significant advantage of such layer: two possible extension
of dictionary  (filtering and storing original form) are independent from nature
of dictionary. So, instead of modifying of every dictionary we can add some
layer, common for all dictionary. With syntax like:

CREATE/ALTER TEXT SEARCH DICTIONARY foo  (...) WITH ( filtering=on|off,
store_original=on|off );

Or per token's type/dictionary pair.



--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

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

Предыдущее
От: Julius Stroffek
Дата:
Сообщение: Re: Sun Studio on Linux spinlock patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Include Lists for Text Search