mirror of https://github.com/apache/lucene.git
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:
parent
f2a3f30ebd
commit
28453dc377
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue