Rank based on the number of matching OR fields?

Поиск
Список
Период
Сортировка
От W. Matthew Wilson
Тема Rank based on the number of matching OR fields?
Дата
Msg-id CAGHfCUBOx=JLUD66xe+X=tD64VfdNa+mEosry-_ms0smqeetJA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Rank based on the number of matching OR fields?  (François Beausoleil <francois@teksol.info>)
Re: Rank based on the number of matching OR fields?  (Joel Hoffman <joel.hoffman@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: unique constraint with significant nulls?
Следующее
От: François Beausoleil
Дата:
Сообщение: Re: Rank based on the number of matching OR fields?