Subject: String search in Dismax handler
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.

(C)2011 mailinglist-archive.com