EdgeNGramTokenFilterV2 Constructors

Definition

Overloads

EdgeNGramTokenFilterV2()

Initializes a new instance of the EdgeNGramTokenFilterV2 class.

EdgeNGramTokenFilterV2(String, Nullable<Int32>, Nullable<Int32>, Nullable<EdgeNGramTokenFilterSide>)

Initializes a new instance of the EdgeNGramTokenFilterV2 class.

EdgeNGramTokenFilterV2()

Source:
EdgeNGramTokenFilterV2.cs

Initializes a new instance of the EdgeNGramTokenFilterV2 class.

public EdgeNGramTokenFilterV2 ();
Public Sub New ()

Applies to

EdgeNGramTokenFilterV2(String, Nullable<Int32>, Nullable<Int32>, Nullable<EdgeNGramTokenFilterSide>)

Source:
EdgeNGramTokenFilterV2.cs

Initializes a new instance of the EdgeNGramTokenFilterV2 class.

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

minGram
Nullable<Int32>

The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram.

maxGram
Nullable<Int32>

The maximum n-gram length. Default is 2. Maximum is 300.

side
Nullable<EdgeNGramTokenFilterSide>

Specifies which side of the input the n-gram should be generated from. Default is "front". Possible values include: 'front', 'back'

Applies to