dismax doesn't support field selection in it's query syntax, only via the qf parameter.

add &debugQuery=true to see how the queries are being parsed, that'll reveal what is going on.

        Erik


On Dec 10, 2008, at 5:07 AM, sunnyfr wrote:


Hi,

I would like to get the difference between  q=text:+toto AND q=toto ?

/select?fl=*&qt=dismax&q=text:+toto : 4 docs find.
<lst name="params">
<str name="fl">*</str>
<str name="q">text: toto</str>
<str name="qt">dismax</str>

/select?fl=*&qt=dismax&q=toto : 5682 docs find.
<lst name="params">
<str name="fl">*</str>
<str name="q">toto</str>
<str name="qt">dismax</str>


My schema just stored text field, I don't get this big difference.
Thanks a lot for your time,

--
View this message in context: 
http://www.nabble.com/dismax-difference-between--q%3Dtext%3A%2Btoto-AND-q%3Dtoto-tp20932303p20932303.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to