TSearch and rankings - Mailing list pgsql-general

From Bas Scheffers
Subject TSearch and rankings
Date
Msg-id 44926.212.124.229.3.1076336463.squirrel@io.scheffers.net
Whole thread Raw
Responses Re: TSearch and rankings  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-general
Hi,

Is there a way to use tsearch so that it returns documents that have less
than all the required keywords? The idea is that if a document only has 3
out of 4 terms, it is still returned, but with a lower ranking.

So far I haven't found a way to do this in the documentation. Is there
something like a "maybe" operator? (ie: 'foo&bar&~doh', meaning documents
with foo and bar, and optionaly doh, but those with would be ranked
higher)

Cheers,
Bas.

pgsql-general by date:

Previous
From: Jan Poslusny
Date:
Subject: Re: functions and temporary tables
Next
From: Teodor Sigaev
Date:
Subject: Re: TSearch and rankings