[HACKERS] tsvector term positions and character offset

2011-11-24 Thread Yoann Moreau
opied because it can't be used outside of the source file. My questions 1) Is there any other way to achieve what I need ? 2) Could my need be part of future more general functionality of the tsearch module ? If not, any suggestion about the way to code it as clean and robust as possible ?

Re: [HACKERS] Term positions in GIN fulltext index

2011-11-04 Thread Yoann Moreau
orithms for a C function as soon as possible if we still decide to use the postgresql fulltext engine. Regards, Yoann Moreau -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Term positions in GIN fulltext index

2011-11-04 Thread Yoann Moreau
ow the results. Thanks all for your help Regards, Yoann Moreau -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] Term positions in GIN fulltext index

2011-11-03 Thread Yoann Moreau
purpose. I got a look at the source code but didn't find some code example using the GIN index ; I can not figure out where the GIN index is read as a tsvector or where the '@@' operator gets the matching tsvectors for the terms of the tsquery. Any help about where to start reading