Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 866bad9543897291319d0a309dbddeb9ea8808ac
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-14T23:43:27Z
Releases: 8.3.0
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

PathChange+/−
doc/src/sgml/textsearch.sgml modified +15 −7
src/backend/utils/adt/tsrank.c modified +17 −8