Le 2012-09-25 à 14:16, W. Matthew Wilson a écrit : > 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?
http://www.postgresql.org/docs/current/static/textsearch-controls.html#TEXTSEARCH-RANKING Hope that helps, François Beausoleil