turning a tsvector without position in a weighted tsvector - Mailing list pgsql-general

From Ivan Sergio Borgonovo
Subject turning a tsvector without position in a weighted tsvector
Date
Msg-id 20100208201441.3352b11f@dawn.webthatworks.it
Whole thread Raw
Responses Re: turning a tsvector without position in a weighted tsvector  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-general
If I convert a string to a tsvector just casting (::tsvector) I
obtain a vector without positions.
tsvectors without positions don't have weights too.

I haven't found a way to turn a vector without weight/pos, into a
vector with weight/pos.

Is there a way to apply weight/add positions to tsvectors without
positions?
Is there any use-case?

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: second concurrent update takes forever
Next
From: "Davor J."
Date:
Subject: One column to multiple columns based on constraints?