| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Grittner | 2009-07-02 15:01:37 | Re: Upgrading our minimum required flex version for 8.5 |
| Previous Message | Robert Haas | 2009-07-02 14:52:44 | Re: tsvector extraction patch |