: When i run my query with qt=dismax i don't get results:
:
: /solr/select/?qt=dismax&q=blablabla%3BRelevanc
: +desc&version=2.2&start=0&rows=1&indent=on&fl=*,score
:
: when i remove the qt=dismax i do get result back:
:
: /solr/select/?q=blablabla%3BRelevanc
: +desc&version=2.2&start=0&rows=1&indent=on&fl=*,score

dismax does not use hte ";" syntax for sorting .. this is the one usefull
piece of documetnation i ever manged to put in the wiki about dismax...

        http://wiki.apache.org/solr/DisMaxRequestHandler

...if you add debugQuery=true to your URL it will give you a bunch of
great debugging info thta would have pointed out you were actually geting
a query for the terms "blablabla;Relevanc" and "desc" across all of those
fields.

..also is "Relevanc" the name of a field you have, because if you are
trying to sort by score that's not right for either handler ... you need
"score desc", either after the ";" for standard, or in the "sort" param
for dismax.


-Hoss

Reply via email to