KeepTokenFilter Constructors

Definition

Overloads

KeepTokenFilter()

Initializes a new instance of the KeepTokenFilter class.

KeepTokenFilter(String, IList<String>, Nullable<Boolean>)

Initializes a new instance of the KeepTokenFilter class.

KeepTokenFilter()

Source:
KeepTokenFilter.cs

Initializes a new instance of the KeepTokenFilter class.

public KeepTokenFilter ();
Public Sub New ()

Applies to

KeepTokenFilter(String, IList<String>, Nullable<Boolean>)

Source:
KeepTokenFilter.cs

Initializes a new instance of the KeepTokenFilter class.

public KeepTokenFilter (string name, System.Collections.Generic.IList<string> keepWords, bool? lowerCaseKeepWords = default);
new Microsoft.Azure.Search.Models.KeepTokenFilter : string * System.Collections.Generic.IList<string> * Nullable<bool> -> Microsoft.Azure.Search.Models.KeepTokenFilter
Public Sub New (name As String, keepWords As IList(Of String), Optional lowerCaseKeepWords 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.

keepWords
IList<String>

The list of words to keep.

lowerCaseKeepWords
Nullable<Boolean>

A value indicating whether to lower case all words first. Default is false.

Applies to