LimitTokenFilter Constructors

Definition

Overloads

LimitTokenFilter()

Initializes a new instance of the LimitTokenFilter class.

LimitTokenFilter(String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the LimitTokenFilter class.

LimitTokenFilter()

Initializes a new instance of the LimitTokenFilter class.

public LimitTokenFilter ();
Public Sub New ()

LimitTokenFilter(String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the LimitTokenFilter class.

public LimitTokenFilter (string name, Nullable<int> maxTokenCount = null, Nullable<bool> consumeAllTokens = null);
new Microsoft.Azure.Search.Models.LimitTokenFilter : string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Search.Models.LimitTokenFilter
Public Sub New (name As String, Optional maxTokenCount As Nullable(Of Integer) = null, Optional consumeAllTokens 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.

maxTokenCount
Nullable<Int32>

The maximum number of tokens to produce. Default is 1.

consumeAllTokens
Nullable<Boolean>

A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false.

Applies to