Bagikan melalui


LengthTokenFilter Constructors

Definition

Overloads

LengthTokenFilter()

Initializes a new instance of the LengthTokenFilter class.

LengthTokenFilter(String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the LengthTokenFilter class.

LengthTokenFilter()

Source:
LengthTokenFilter.cs

Initializes a new instance of the LengthTokenFilter class.

public LengthTokenFilter ();
Public Sub New ()

Applies to

LengthTokenFilter(String, Nullable<Int32>, Nullable<Int32>)

Source:
LengthTokenFilter.cs

Initializes a new instance of the LengthTokenFilter class.

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

min
Nullable<Int32>

The minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of max.

max
Nullable<Int32>

The maximum length in characters. Default and maximum is 300.

Applies to