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()

Initializes a new instance of the KeepTokenFilter class.

public KeepTokenFilter ();
Public Sub New ()

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

Initializes a new instance of the KeepTokenFilter class.

public KeepTokenFilter (string name, System.Collections.Generic.IList<string> keepWords, Nullable<bool> lowerCaseKeepWords = null);
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) = null)

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