Re: TSearch2 ... ignore word repetition for rank - Mailing list pgsql-general

From Teodor Sigaev
Subject Re: TSearch2 ... ignore word repetition for rank
Date
Msg-id 3FFEEAD9.8010805@sigaev.ru
Whole thread Raw
In response to TSearch2 ... ignore word repetition for rank  (Chris Gamache <cgg007@yahoo.com>)
List pgsql-general

Chris Gamache wrote:
> For my particular case, word repetition shouldn't be relevant in determining
> the rank of a document. If I strip() the vector, I loose what relevance
> proximity and weight add to the rank. It seems impossible, yet I ask anyway: Is
> it possible to eliminate the second (third, fourth, fifth, etc.) occurrence of
> any given word when its presence in the document is being scored, yet kept in
> the equation for modifications to the score when proximity is being considered?

I don't see the way except modify strip or rank functions...
--
Teodor Sigaev                                  E-mail: teodor@sigaev.ru


pgsql-general by date:

Previous
From: Oleg Lebedev
Date:
Subject: Re: deferring/disabling unique index
Next
From: Anton.Nikiforov@loteco.ru
Date:
Subject: Hierarchical queries