Hi All,
I'm having a problem while searching for some string with a word defined in
stopwords.txt.
eg: I have 'of' defined in stopwords.txt
My schema analyzer's defined as follows:
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" />
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" />
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
I have defined the filed as 'all_text' field in schema.xml.
When I try to search for
Case 1: a of b --> I don't get any response
Case 2: "a of b" --> There is some response
Case 3: a \of\ b --> There is some response.
I'm using stopwords in both 'index' and 'query' analyzer so, this should be
working for case 1 too, right?
Did i miss anything?
Thanks,
Suresh
--
View this message in context:
http://lucene.472066.n3.nabble.com/stopwords-issue-with-edismax-tp4120339.html
Sent from the Solr - User mailing list archive at Nabble.com.