On Apr 25, 2008, at 5:04 PM, Otis Gospodnetic wrote:
I was looking at DisMax and playing with its "pf" parameter. I created a sample index with field "content". I set "pf" to: content^2.0 and expected to see (content:"my query here")^2.0 in the query (debugQuery=true). However, I only got (content:"my query here") -- no boost.
Is this a bug or am I forgetting something?

How did you configure your request handler exactly? Were you using any fancy <! > type of query in there?

        Erik


I did add "&pf=content^2.0" to the request URL and then I did see (content:"my query here")^2.0
Thanks,
Otis

--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


Reply via email to