pf has the format as qf.

<pf>titlePhrase^10.0</pf>

For our project, if user query text matches the title of an article/book, we
want to surface that article as the first result. So, we are using pf field
to give additional boost to results that have the exact title match.

On Mon, May 10, 2010 at 11:21 PM, Dickens Ting <dickens_t...@yahoo.com.cn>wrote:

> solr-user@lucene.apache.org
>
> Hello,
>
> I'm running Solr 1.4 for a bbs search.
> we index the subject and content.
> we are using DisMaxRequestHandler now.
> We make
> Could anyone give me some pieces advice of setting  "pf"
> what kind params should be in "pf"   , pls give a demo.
>
> #################################################################
>
>  <float name="tie">0.15</float>
>  <str name="qf">'pSubject^2 pContent^1.5' </str>
>  <str name="bf">recip(ms(NOW,Posted),3.16e-11,1,1)^350</str> <!-- time
> boost -->
>  <int name="ps">100</int>
>
>
>

Reply via email to