| От | Tilmann Singer |
|---|---|
| Тема | tsearch2 dictionary that indexes substrings? |
| Дата | |
| Msg-id | 20070420090626.GA32325@tils.net обсуждение исходный текст |
| Ответы |
Re: tsearch2 dictionary that indexes substrings?
Re: tsearch2 dictionary that indexes substrings? |
| Список | pgsql-general |
Hi, In this http://archive.netbsd.se/?ml=pgsql-hackers&a=2006-10&t=2475028 thread Teodor Sigaev describes a way to make tsearch2 index substrings of words: > Brain storm method: > > Develop a dictionary which returns all substring for lexeme, for > example for word foobar it will be 'foobar fooba foob foo fo oobar > ooba oob oo obar oba ob bar ba ar' Did anyone do that already? If I understand it correctly such a dictionary would require to write a custom C component - is that correct? Or could I get away with writing a plpgsql function that does the above and hooking that somehow into the tsearch2 config? thanks, Til
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера