The "p" is for "phrase" or "proximity" boosting. "pf" doesn't change what documents match, but gives a boost if all of the terms occur next to or near each other, based on "ps" (phrase/proximity slop.)

pf2 is to two-term bigram boosting. pf3 is for three-term trigram boosting. The terms are adjacent in the "q" query, but if the slop is >1, they won't necessarily be required to be adjacent in the boost.

pf, pf2, and pf3 are all related. As are ps, ps2, and ps3.

-- Jack Krupansky

-----Original Message----- From: Furkan KAMACI
Sent: Friday, July 26, 2013 9:11 AM
To: solr-user@lucene.apache.org
Subject: Difference between qf and pf parameters

Here is an example from example solrconfig file:

     <str name="qf">content^0.5 anchor^1.0 title^1.2</str>
     <str name="pf">content^0.5 anchor^1.5 title^1.2 site^1.5</str>

What is the difference between qf and pf parameters, they both boost
fields both there should be a difference?

Reply via email to