You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by fbytes <aj...@foodiebytes.com> on 2011/06/06 23:58:43 UTC
Re: Minimum Should Match + External Field + Function Query with
boost
Seem to have a solution but I am still trying to figure out how/why it works.
Addition of "defType=edismax" in the boost query seem to honor "MM" and
correct boosting based on external file source.
The new query syntax
q={!boost b=dishRating v=$qq defType=edismax}&qq=hot chicken wings
--
View this message in context: http://lucene.472066.n3.nabble.com/Minimum-Should-Match-not-enforced-with-External-Field-Function-Query-with-boost-tp2985564p3032143.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Minimum Should Match + External Field + Function Query with
boost
Posted by Chris Hostetter <ho...@fucit.org>.
: Seem to have a solution but I am still trying to figure out how/why it works.
:
: Addition of "defType=edismax" in the boost query seem to honor "MM" and
: correct boosting based on external file source.
You didn't bost enough details in your original question to be 100%
certain (would have needed to see the *full* solr url, including path, and
your requestHandler declaration from solrconfig.xml to be sure) but i
suspect the problem you were having is that you weren't actually using
dismax (or edismax) at all until you added the explicit defType you
mentioned...
: The new query syntax
: q={!boost b=dishRating v=$qq defType=edismax}&qq=hot chicken wings
compare the "parsedquery_toString" in the debug output of your previous
message with the debug output you get now and i think you'll see a clear
indication of when a DisjunctionMaxQuery is used (and what the "mm" is set
to)
-Hoss