From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
Cc: | Teodor Sigaev <teodor(at)sigaev(dot)ru>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ts_count |
Date: | 2011-11-03 20:44:50 |
Message-ID: | 4EB2FD42.5060704@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 06/04/2011 04:51 PM, Oleg Bartunov wrote:
> Well, there are several functions available around tsearch2. so I suggest
> somebody to collect all of them and create one extension - ts_addon.
> For example, these are what I remember:
> 1. tsvector2array
> 2. noccurences(tsvector, tsquery) - like your ts_count
> 3. nmatches(tsvector, tsquery) - # of matched lexems in query
> Of course, we need to think about better names for functions, since
> ts_count is a bit ambiguous.
>
>
>
Oleg, are you doing this? I'd rather this stuff didn't get dropped on
the floor.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Rodrigo Hjort | 2011-11-03 21:11:35 | Strange behavior on to_tsquery() |
Previous Message | Alexander Korotkov | 2011-11-03 20:31:18 | Re: GiST for range types (was Re: Range Types - typo + NULL string constructor) |