Re: Term positions in GIN fulltext index - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Term positions in GIN fulltext index
Date
Msg-id 7024.1320346889@sss.pgh.pa.us
Whole thread Raw
In response to Term positions in GIN fulltext index  (Yoann Moreau <yoann.moreau@univ-avignon.fr>)
Responses Re: Term positions in GIN fulltext index
List pgsql-hackers
Yoann Moreau <yoann.moreau@univ-avignon.fr> writes:
> I'm using a GIN index for a text column on a big table. I use it to rank
> the rows, but I also need to get the term positions for each document of a
> subset of documents for one or more terms. I suppose these positions are stored
> in the index as the to_tsvector shows them : 'lexeme':{positions}

I'm pretty sure that a GIN index on tsvector does *not* store positions
--- it only knows about the strings.  Don't know one way or the other
about GIST.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: GiST for range types (was Re: Range Types - typo + NULL string constructor)
Next
From: Marcin Mańk
Date:
Subject: Re: Term positions in GIN fulltext index