You are missing the "pf", "pf2", and "pf3" request parameters, which says which fields to do phrase proximity boosting on.

"pf" boosts using the whole query as a phrase, "pf2" boosts bigrams, and "pf3" boost trigrams.

You can use any combination of them, but if you use none of them, "ps" appears to be ignored.

Maybe it should default to doing some boost if none of the field lists is given, like boost using bigrams in the "qf" fields, but it doesn't.

-- Jack Krupansky

-----Original Message----- From: André Maldonado
Sent: Wednesday, May 02, 2012 3:29 PM
To: solr-user@lucene.apache.org
Subject: Phrase Slop probelm

Hi all.

In my index I have a multivalued field that contains a lot of information,
all text searches are based on it. So, When I Do:

http://xxx.xx.xxx.xxx:0000/Index/select/?start=0&rows=12&q=term1+term2+term3&qf=textoboost&fq=field1%3aanother_term&defType=edismax&mm=100%25<http://10.100.3.62:8984/solr/Index/select/?start=0&rows=12&q=churrasqueira+varanda+sacada&ps=0&qf=textoboost%20texto&fq=localexibicao%3azap&defType=edismax&mm=100%25&debugQuery=true&echoParams=all>

I got the same result as in:

http://xxx.xx.xxx.xxx:0000/Index/select/?start=0&rows=12&q=term1+term2+term3
*&ps=0*&qf=textoboost&fq=field1%3aanother_term&defType=edismax&mm=100%25<http://10.100.3.62:8984/solr/Index/select/?start=0&rows=12&q=churrasqueira+varanda+sacada&ps=0&qf=textoboost%20texto&fq=localexibicao%3azap&defType=edismax&mm=100%25&debugQuery=true&echoParams=all>

And the same result in:

http://xxx.xx.xxx.xxx:0000/Index/select/?start=0&rows=12&q=term1+term2+term3
*&ps=100000*
&qf=textoboost&fq=field1%3aanother_term&defType=edismax&mm=100%25<http://10.100.3.62:8984/solr/Index/select/?start=0&rows=12&q=churrasqueira+varanda+sacada&ps=0&qf=textoboost%20texto&fq=localexibicao%3azap&defType=edismax&mm=100%25&debugQuery=true&echoParams=all>

What I'm doing wrong?

Thank's

*
----------------------------------------------------------------------------------------------
*
*"E conhecereis a verdade, e a verdade vos libertará." (João 8:32)*

*andre.maldonado*@gmail.com <andre.maldon...@gmail.com>
(11) 9112-4227

<http://www.orkut.com.br/Main#Profile?uid=2397703412199036664>
<http://www.orkut.com.br/Main#Profile?uid=2397703412199036664>
<http://www.facebook.com/profile.php?id=100000659376883>
<http://twitter.com/andremaldonado> <http://www.delicious.com/andre.maldonado>
 <https://profiles.google.com/105605760943701739931>
<http://www.linkedin.com/pub/andr%C3%A9-maldonado/23/234/4b3>
<http://www.youtube.com/andremaldonado>

Reply via email to