From: | karavelov(at)mail(dot)bg |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: TS: Limited cover density ranking |
Date: | 2012-01-27 16:10:14 |
Message-ID: | d69e8cc378b9e5dda751d81dc7959128.mailbg@mail.bg |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
And here is the patch, that I forgot to attach
> Hello,
>
> I have developed a variation of cover density ranking functions that counts only covers that are lesser than a specified limit. It is useful for finding combinations of terms that appear nearby one another. Here is an example of usage:
...
>
> Find attached a path agains 9.1.2 sources. I preferred to make a patch, not a separate extension because it is only 1 statement change in calc_rank_cd function. If I have to make an extension a lot of code would be duplicated between backend/utils/adt/tsrank.c and the extension.
>
--
Luben Karavelov
Attachment | Content-Type | Size |
---|---|---|
ts_rank_lcd.diff | text/x-diff | 6.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2012-01-27 16:17:32 | Re: patch for parallel pg_dump |
Previous Message | karavelov | 2012-01-27 16:06:53 | TS: Limited cover density ranking |