lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shai deljo" <shai.de...@gmail.com>
Subject DisMax Question.
Date Thu, 15 Mar 2007 03:51:29 GMT
Hi,
I am trying to use DisMax handler in order to search multiple fields
but i don't get results back.

Assume the fields i want to search on are "abc", "def", "ghi" and
"jkl" then i changed solrconfig.xml to this:
<requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
    <lst name="defaults">
     <str name="echoParams">explicit</str>
     <float name="tie">0.01</float>
     <str name="qf">
        abc^2 def ghi^0.1 jkl
     </str>
    </lst>
  </requestHandler>

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

What am i doing wrong ?
Thanks,
S

Mime
View raw message