PatternCaptureTokenFilter Constructors

Definition

Overloads

PatternCaptureTokenFilter()

Initializes a new instance of the PatternCaptureTokenFilter class.

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

Initializes a new instance of the PatternCaptureTokenFilter class.

PatternCaptureTokenFilter()

Source:
PatternCaptureTokenFilter.cs

Initializes a new instance of the PatternCaptureTokenFilter class.

public PatternCaptureTokenFilter ();
Public Sub New ()

Applies to

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

Source:
PatternCaptureTokenFilter.cs

Initializes a new instance of the PatternCaptureTokenFilter class.

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

patterns
IList<String>

A list of patterns to match against each token.

preserveOriginal
Nullable<Boolean>

A value indicating whether to return the original token even if one of the patterns matches. Default is true.

Applies to