Re: [HACKERS] ts_rank

2011-10-13 Thread Oleg Bartunov
I'm sorry, my plane to Nepal is waiting me :) I'll be back in the midst of November. In short, ts_rank is based only on frequencies of lexems and doesn't count distance between query lexems. Also, it supports only primitive queries. Oleg On Wed, 12 Oct 2011, Bruce Momjian wrote: Bruce Momjian

Re: [HACKERS] ts_rank

2011-10-13 Thread Bruce Momjian
Oleg Bartunov wrote: I'm sorry, my plane to Nepal is waiting me :) I'll be back in the midst of November. In short, ts_rank is based only on frequencies of lexems and doesn't count distance between query lexems. Also, it supports only primitive queries. Thanks. Attached doc patch applied to

Re: [HACKERS] ts_rank

2011-10-12 Thread Bruce Momjian
Bruce Momjian wrote: 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

Re: [HACKERS] ts_rank

2011-09-10 Thread Bruce Momjian
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

Re: [HACKERS] ts_rank

2011-05-21 Thread Mark
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

Re: [HACKERS] ts_rank

2011-05-20 Thread Robert Haas
On Thu, May 19, 2011 at 10:42 PM, Kevin Grittner kevin.gritt...@wicourts.gov wrote: Robert Haas  wrote: Mark  wrote: Could somebody explain me on which methods is based ts_rank and how it works?  I would appreciate some articles, if exist. As far as I can tell, our documentation contains no

Re: [HACKERS] ts_rank

2011-05-19 Thread Robert Haas
On Tue, May 10, 2011 at 6:21 AM, Mark marek.bal...@seznam.cz wrote: Could somebody explain me on which methods is based ts_rank and how it works? I would appreciate some articles, if exist. Thanks a lot for reply. As far as I can tell, our documentation contains no useful information on this

Re: [HACKERS] ts_rank

2011-05-19 Thread Kevin Grittner
Robert Haas wrote: Mark wrote: Could somebody explain me on which methods is based ts_rank and how it works? I would appreciate some articles, if exist. As far as I can tell, our documentation contains no useful information on this topic whatsoever. :-( There's some potentially

Re: [HACKERS] Ts_rank internals

2007-09-11 Thread Oleg Bartunov
On Tue, 11 Sep 2007, Teodor Sigaev wrote: I tried to understand how ts_rank works, but I failed. What does Cover function do? How does it work? What is the DocRepresentation data structure like? I can see the definition of the struct, and the get_docrep function to convert to that format, but

Re: [HACKERS] Ts_rank internals

2007-09-10 Thread Teodor Sigaev
I tried to understand how ts_rank works, but I failed. What does Cover function do? How does it work? What is the DocRepresentation data structure like? I can see the definition of the struct, and the get_docrep function to convert to that format, but by reading those I can't figure out what the