Look at the parsed_query by setting the debugQuery=true parameter.
I think what is happening is that the query parser will generate a separate
dismax query for each term and each dismax query will require at least one
of its fields to contain the term. I suspect that some of your qf fields do
not ignore stopwords, so the dismax for "of" will not be empty (although the
clause for some of the fields will not be present since the stop word filter
eliminates them) so that the dismax fails to match anything and since
q.op=AND, the whole query matches nothing.
-- Jack Krupansky
-----Original Message-----
From: sureshrk19
Sent: Friday, February 28, 2014 1:12 PM
To: solr-user@lucene.apache.org
Subject: Re: stopwords issue with edismax
Thanks for taking time on this...
Here is my request handler definition:
<requestHandler name="/select" class="solr.SearchHandler">
<lst name="defaults">
<str name="defType">edismax</str>
<str name="echoParams">explicit</str>
<int name="rows">10</int>
<str name="df">all_text number party name all_code ent_name</str>
<str name="qf">all_text number^3 name^5 party^3 all_code^2
ent_name^7</str>
<str name="fl">id description</str>
<str name="q.op">AND</str>
Name which is indexed is: a of b
When I try to search, a of b then I don't see any results.
I changes q.op=OR then, I see results for this search.
I'm not sure why the same is not being returned when I search with AND
operator.
--
View this message in context:
http://lucene.472066.n3.nabble.com/stopwords-issue-with-edismax-tp4120339p4120459.html
Sent from the Solr - User mailing list archive at Nabble.com.