]> granicus.if.org Git - postgresql/commit
Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Nov 2007 23:43:27 +0000 (23:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Nov 2007 23:43:27 +0000 (23:43 +0000)
commit866bad9543897291319d0a309dbddeb9ea8808ac
treea21e5743d19f3cc3104ff39085a0cdd8a9b840d1
parent5858990f8793881144f0c113f49493861c6c3004
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.
doc/src/sgml/textsearch.sgml
src/backend/utils/adt/tsrank.c