* @param ignoreCase if true, all words are lower cased first
* @return A Set ({@link org.apache.lucene.analysis.CharArraySet}) containing the words
*/
public static final Set<Object> makeStopSet(Version matchVersion, List<?> stopWords, boolean ignoreCase) {
CharArraySet stopSet = new CharArraySet(matchVersion, stopWords.size(), ignoreCase);
stopSet.addAll(stopWords);
return stopSet;
}
/**
* Returns the next input Token whose term() is not a stop word.