| От | Yoann Moreau |
|---|---|
| Тема | Re: Term positions in GIN fulltext index |
| Дата | |
| Msg-id | 4EB3F5F9.4020909@univ-avignon.fr обсуждение исходный текст |
| Ответ на | Re: Term positions in GIN fulltext index (Florian Pflug <fgp@phlo.org>) |
| Список | pgsql-hackers |
On 04/11/11 12:15, Florian Pflug wrote: > AFAICS, the internal storage layout of tsvector should allow you to extract an > individual lexem's positions quite efficiently (with time complexity log(N) where > N is the number of lexems in the tsvector). Doing so will require you to implement > your function in C though - any solution that works from a tsvector's textual > representation will obviously have time complexity N. > > best regards, > Florian Pflug > I'll do a pl/pgsql function first, I need to test it with other parts of the project. But I will look for more efficient algorithms for a C function as soon as possible if we still decide to use the postgresql fulltext engine. Regards, Yoann Moreau
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера