Skip site navigation (1) Skip section navigation (2)

Re: tsvector extraction patch

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Hans-Juergen Schoenig -- PostgreSQL <postgres(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: tsvector extraction patch
Date: 2009-07-02 14:53:11
Message-ID: Pine.LNX.4.64.0907021852270.17118@sn.sai.msu.ru (view raw or flat)
Thread:
Lists: pgsql-hackers
I have simple solution 
http://www.sai.msu.su/~megera/wiki/2008-12-17


On Thu, 2 Jul 2009, Hans-Juergen Schoenig -- PostgreSQL wrote:

> hello,
>
> i made a small patch which i found useful for my personal tasks.
> it would be nice to see this in 8.5. if not core then maybe contrib.
> it transforms a tsvector to table format which is really nice for text 
> processing and comparison.
>
> test=# SELECT * FROM tsvcontent(to_tsvector('english', 'i am pretty sure this 
> is a good patch'));
> lex   | rank
> --------+------
> good   |    8
> patch  |    9
> pretti |    3
> sure   |    4
> (4 rows)
>
>   many thanks,
>
>      hans
>
>

 	Regards,
 		Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2009-07-02 15:01:37
Subject: Re: Upgrading our minimum required flex version for 8.5
Previous:From: Robert HaasDate: 2009-07-02 14:52:44
Subject: Re: tsvector extraction patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group