Rank based on the number of matching OR fields? - Mailing list pgsql-general

From W. Matthew Wilson
Subject Rank based on the number of matching OR fields?
Date
Msg-id CAGHfCUBOx=JLUD66xe+X=tD64VfdNa+mEosry-_ms0smqeetJA@mail.gmail.com
Whole thread Raw
Responses Re: Rank based on the number of matching OR fields?
Re: Rank based on the number of matching OR fields?
List pgsql-general
I want to run a query like to_tsquery("A | B | C") and then rank the
results so that if a document contained A, B, and C, then it would
rank above a document that just had some subset.

How would I do such a thing?

--
W. Matthew Wilson
matt@tplus1.com
http://tplus1.com


pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: unique constraint with significant nulls?
Next
From: François Beausoleil
Date:
Subject: Re: Rank based on the number of matching OR fields?