Re: TS: Limited cover density ranking - Mailing list pgsql-hackers

From karavelov@mail.bg
Subject Re: TS: Limited cover density ranking
Date
Msg-id d69e8cc378b9e5dda751d81dc7959128.mailbg@mail.bg
Whole thread Raw
In response to TS: Limited cover density ranking  (karavelov@mail.bg)
List 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

pgsql-hackers by date:

Previous
From: karavelov@mail.bg
Date:
Subject: TS: Limited cover density ranking
Next
From: Robert Haas
Date:
Subject: Re: patch for parallel pg_dump