StopwordsTokenFilter Constructors

Definition

Overloads

StopwordsTokenFilter()

Initializes a new instance of the StopwordsTokenFilter class.

StopwordsTokenFilter(String, IList<String>, Nullable<StopwordsList>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the StopwordsTokenFilter class.

StopwordsTokenFilter()

Source:
StopwordsTokenFilter.cs

Initializes a new instance of the StopwordsTokenFilter class.

public StopwordsTokenFilter ();
Public Sub New ()

Applies to

StopwordsTokenFilter(String, IList<String>, Nullable<StopwordsList>, Nullable<Boolean>, Nullable<Boolean>)

Source:
StopwordsTokenFilter.cs

Initializes a new instance of the StopwordsTokenFilter class.

public StopwordsTokenFilter (string name, System.Collections.Generic.IList<string> stopwords = default, Microsoft.Azure.Search.Models.StopwordsList? stopwordsList = default, bool? ignoreCase = default, bool? removeTrailingStopWords = default);
new Microsoft.Azure.Search.Models.StopwordsTokenFilter : string * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Search.Models.StopwordsList> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Search.Models.StopwordsTokenFilter
Public Sub New (name As String, Optional stopwords As IList(Of String) = Nothing, Optional stopwordsList As Nullable(Of StopwordsList) = Nothing, Optional ignoreCase As Nullable(Of Boolean) = Nothing, Optional removeTrailingStopWords As Nullable(Of Boolean) = Nothing)

Parameters

name
String

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.

stopwords
IList<String>

The list of stopwords. This property and the stopwords list property cannot both be set.

stopwordsList
Nullable<StopwordsList>

A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English. Possible values include: 'arabic', 'armenian', 'basque', 'brazilian', 'bulgarian', 'catalan', 'czech', 'danish', 'dutch', 'english', 'finnish', 'french', 'galician', 'german', 'greek', 'hindi', 'hungarian', 'indonesian', 'irish', 'italian', 'latvian', 'norwegian', 'persian', 'portuguese', 'romanian', 'russian', 'sorani', 'spanish', 'swedish', 'thai', 'turkish'

ignoreCase
Nullable<Boolean>

A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false.

removeTrailingStopWords
Nullable<Boolean>

A value indicating whether to ignore the last search term if it's a stop word. Default is true.

Applies to