Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness
Tom Lane <tgl@sss.pgh.pa.us>
Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness of this seems a bit marginal, if it's useful enough to be shown in the manual then we probably ought to support doing it without double evaluation of the ts_rank function. Per my proposal earlier today.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/textsearch.sgml | modified | +15 −7 |
| src/backend/utils/adt/tsrank.c | modified | +17 −8 |