pgsql: Add a rank/(rank+1) normalization option to ts_rank().

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a rank/(rank+1) normalization option to ts_rank().
Date: 2007-11-14 23:43:27
Message-ID: 20071114234327.B27E87540F0@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/doc/src/sgml:
textsearch.sgml (r1.33 -> r1.34)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/textsearch.sgml?r1=1.33&r2=1.34)
pgsql/src/backend/utils/adt:
tsrank.c (r1.8 -> r1.9)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsrank.c?r1=1.8&r2=1.9)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-14 23:48:55 pgsql: Adjust example to reduce confusion between a tsvector column and
Previous Message Tom Lane 2007-11-14 21:19:18 pgsql: Fix incorrect calculation of elapsed_xlogs.