Jack,

Thanks for the reply.

Yes. your observation is right. I see, stopwords are not being ignore at
query time. 
Say, I'm searching for 'bank of america'. I'm expecting 'of' should not be
the part of search.
But, here I see 'of' is being sent. Same is the query syntax for 'OR' and
'AND' operators and 'OR' is returning results as expected. But in my case, I
want to use 'AND'.

Here is debug query information...

"parsedquery":"(+((DisjunctionMaxQuery((ent_name:bank^7.0 | all_text:bank |
number:bank^3.0 | party:bank^3.0 | all_code:bank^2.0 | name:bank^5.0))
DisjunctionMaxQuery((number:of^3.0 | all_code:of^2.0))
DisjunctionMaxQuery((ent_name:america^7.0 | all_text:america |
number:america^3.0 | party:america^3.0 | all_code:america^2.0 |
name:america^5.0)))~3))/no_coord",
    "parsedquery_toString":"+(((ent_name:bank^7.0 | all_text:bank |
number:bank^3.0 | party:bank^3.0 | all_code:bank^2.0 | name:bank^5.0)
(number:of^3.0 | all_code:of^2.0) (ent_name:america^7.0 | all_text:america |
number:america^3.0 | party:america^3.0 | all_code:america^2.0 |
name:america^5.0))~3)"

Is there any reason why 'stopwords' are not being ignored. I checked
schema.xml for filter and the same is present:
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" />




--
View this message in context: 
http://lucene.472066.n3.nabble.com/stopwords-issue-with-edismax-tp4120339p4120815.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to