properly set stopwords case-sensitivity

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-03-14 21:23:50 +00:00
parent f2a3f30ebd
commit 28453dc377
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class StopFilterFactory extends BaseTokenFilterFactory implements Resourc
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} else { } else {
stopWords = (CharArraySet) StopAnalyzer.ENGLISH_STOP_WORDS_SET; stopWords = new CharArraySet(StopAnalyzer.ENGLISH_STOP_WORDS_SET, ignoreCase);
} }
} }
//Force the use of a char array set, as it is the most performant, although this may break things if Lucene ever goes away from it. See SOLR-1095 //Force the use of a char array set, as it is the most performant, although this may break things if Lucene ever goes away from it. See SOLR-1095