Class StopwordsTokenFilter
Removes stop words from a token stream. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class StopwordsTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
StopwordsTokenFilter(String)
Initializes a new instance of StopwordsTokenFilter.
Declaration
public StopwordsTokenFilter (string name);
Parameters
System.String
name
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. |
Exceptions
System.ArgumentNullException
|
Properties
IgnoreCase
A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false.
Declaration
public Nullable<bool> IgnoreCase { get; set; }
Property Value
System.Nullable<System.Boolean>
|
RemoveTrailingStopWords
A value indicating whether to ignore the last search term if it's a stop word. Default is true.
Declaration
public Nullable<bool> RemoveTrailingStopWords { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Stopwords
The list of stopwords. This property and the stopwords list property cannot both be set.
Declaration
public System.Collections.Generic.IList<string> Stopwords { get; }
Property Value
System.Collections.Generic.IList<System.String>
|
StopwordsList
A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English.
Declaration
public Nullable<Azure.Search.Documents.Indexes.Models.StopwordsList> StopwordsList { get; set; }
Property Value
System.Nullable<StopwordsList>
|