TruncateTokenFilter Constructors

Definition

Overloads

TruncateTokenFilter()

Initializes a new instance of the TruncateTokenFilter class.

TruncateTokenFilter(String, Nullable<Int32>)

Initializes a new instance of the TruncateTokenFilter class.

TruncateTokenFilter()

Source:
TruncateTokenFilter.cs

Initializes a new instance of the TruncateTokenFilter class.

public TruncateTokenFilter ();
Public Sub New ()

Applies to

TruncateTokenFilter(String, Nullable<Int32>)

Source:
TruncateTokenFilter.cs

Initializes a new instance of the TruncateTokenFilter class.

public TruncateTokenFilter (string name, int? length = default);
new Microsoft.Azure.Search.Models.TruncateTokenFilter : string * Nullable<int> -> Microsoft.Azure.Search.Models.TruncateTokenFilter
Public Sub New (name As String, Optional length As Nullable(Of Integer) = 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.

length
Nullable<Int32>

The length at which terms will be truncated. Default and maximum is 300.

Applies to