Re: ts_rank - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ts_rank
Date
Msg-id 201109110218.p8B2Iik21211@momjian.us
Whole thread Raw
In response to Re: ts_rank  (Mark <Marek.Balgar@seznam.cz>)
Responses Re: ts_rank
List pgsql-hackers
Mark wrote:
> >There's some potentially useful information here:
> >http://www.postgresql.org/docs/9.0/interactive/textsearch-controls.html#TEXTSEARCH-RANKING
> 
> Thanks for reply. I was reading the documentation of PostgreSQL, but there
> it is not written the name of the used methods. Everywhere there is written,
> that ts_rank use standard ranking function. But it is difficult to say which
> is the standard function. 
> Somewhere I found that it is maybe based on Vector space model and it seems
> to be truth, because in the code of tsrank.c is counted the frequency of
> words, but I am not sure of that :-(

Oleg, Teodor, can you give me a description of how ts_rank decided how
to rank items?  Thanks.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: [WIP] Caching constant stable expressions per execution
Next
From: Pavel Stehule
Date:
Subject: Re: [REVIEW] prepare plans of embedded sql on function start