Skip site navigation (1) Skip section navigation (2)

Re: ts_rank

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Mark <Marek(dot)Balgar(at)seznam(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: ts_rank
Date: 2011-09-11 02:18:44
Message-ID: 201109110218.p8B2Iik21211@momjian.us (view raw or flat)
Thread:
Lists: 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(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

Responses

  • Re: ts_rank at 2011-10-12 21:31:35 from Bruce Momjian

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2011-09-11 04:17:50
Subject: Re: [REVIEW] prepare plans of embedded sql on function start
Previous:From: Marti RaudseppDate: 2011-09-11 01:53:18
Subject: Re: [WIP] Caching constant stable expressions per execution

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group