small but useful patches for text search
От | Oleg Bartunov |
---|---|
Тема | small but useful patches for text search |
Дата | |
Msg-id | Pine.LNX.4.64.0903161857200.31919@sn.sai.msu.ru обсуждение исходный текст |
Ответы |
Re: small but useful patches for text search
Re: small but useful patches for text search |
Список | pgsql-hackers |
Hi there, I and Teodor have several small, but useful patches for text search: 1. Support of filtering dictionaries and unaccent dictionary/function. This is often requested feature, which solves, forexample, problem with correct headlines for text with accents. See example and docs http://www.sai.msu.su/~megera/wiki/unaccent 2. Add prefix search support to the synonym dictionary. Star sign '*' at the end of definition word indicates, thatdefinition word is a prefix and to_tsquery() function will transform that definition to the prefix search format. Notice, it is ignored in to_tsvector(). Some examples http://www.sai.msu.su/~megera/wiki/2009-03-13 There are limitations - no support for thesaurus dictionary, ts_debug doesn't support all these features (it needs to be rewritten to C). There is no problem with back compatibility. We would like to have your opinion what to do with these patches - leave them for 8.5 or provide them to hackers to review for 8.4. Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83
В списке pgsql-hackers по дате отправления: