Re: [GENERAL] Fragments in tsearch2 headline

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: [GENERAL] Fragments in tsearch2 headline
Дата
Msg-id 48379494.4020504@sigaev.ru
обсуждение исходный текст
Список pgsql-hackers
> stucked with the function LexizeExec which I do not totally understand
> (... and is not well documents too :) )

Sorry for that. LexizeExec() is a play around supporting thesaurus dictionary, 
which is designed to replace phrase by phrase. So, if it see first matched word 
then it asks the parse to get next word. On next word it have four options: - asks next word - returns substituting
phrase- says: Hey, I have a match, but it's possible to find a largest match, so 
 
give a next word - says about false match, so parser should return back and try next dictionary 
from the begining or last match.

Now only thesaurus dictionary can work in that mode but nothing forbids to have 
another dictionary with phrase recognition.

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


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: [GENERAL] Fragments in tsearch2 headline
Следующее
От: daveg
Дата:
Сообщение: Re: [PATCHES] TODO item: Have psql show current values for a sequence