Two things:
1> what version of Solr are you using? qt=dismax isn't going to any request
handler I don't think.

2> what do you get when you add &debugQuery=on? Try that with
both results and perhaps that will shed some light. If not, can you
post the results?

Best
Erick

On Wed, Feb 22, 2012 at 7:47 AM, mechravi25 <mechrav...@yahoo.co.in> wrote:
> Hi,
>
> The string I am searching is "Pass By Value".  I am using the qt=dismax (in
> the request query) as well.
>
>
> When I search the above string with the double quotes, the data is getting
> fetched
> but the same query string without any double quotes gives no results.
>
> Following is the dismax request handler in the solrconfig.xml
>
>
> <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
>    <lst name="defaults">
>     <str name="echoParams">explicit</str>
>
>     <str name="fl">
>        id,score
>     </str>
>
>     <str name="q.alt">*:*</str>
>
>
>     <str name="f.name.hl.fragsize">0</str>
>
>     <str name="f.name.hl.alternateField">name</str>
>     <str name="f.text.hl.fragmenter">regex</str>
>    </lst>
>  </requestHandler>
>
>
>
> The same query string works fine with and without double quotes when I use
> default request handler
>
>
> Following is the default request handler in the solrconfig.xml
>
> <requestHandler name="standard" class="solr.StandardRequestHandler"
> default="true">
>
>     <lst name="defaults">
>       <str name="echoParams">explicit</str>
>
>     </lst>
>  </requestHandler>
>
>
> Please provide some suggestions as to why the string search without quotes
> is returning no records
> when dismax handler is used. Am I missing out on something?
>
> Thanks.
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/String-search-in-Dismax-handler-tp3766360p3766360.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to