Method StopWords
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
StopWords(AnalyzerLanguage)
Drops the common words of language (Tantivy's built-in lists). Expects
lowercase tokens. Not every language has a list (see AnalyzerLanguage); a missing one
fails when the schema is used to create an index.
public Analyzer StopWords(AnalyzerLanguage language)
Parameters
languageAnalyzerLanguage
Returns
StopWords(IEnumerable<string>)
Drops tokens equal to any of words (exact, case-sensitive match).
public Analyzer StopWords(IEnumerable<string> words)
Parameters
wordsIEnumerable<string>