public TestAnalyzer(Lucene.Net.Util.Version version, bool enablePositionIncrements, ISet <string> stopWords) { _version = version; _enablePositionIncrements = enablePositionIncrements; if (stopWords == null) { _stopWords = StopAnalyzer.ENGLISH_STOP_WORDS_SET; } else { _stopWords = stopWords; } }
public TestAnalyzer(Lucene.Net.Util.Version version) : this(version, false, null) { }