EdgeNGramTokenizer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EdgeNGramTokenizer() |
Initializes a new instance of the EdgeNGramTokenizer class. |
EdgeNGramTokenizer(String, Nullable<Int32>, Nullable<Int32>, IList<TokenCharacterKind>) |
Initializes a new instance of the EdgeNGramTokenizer class. |
EdgeNGramTokenizer()
- Source:
- EdgeNGramTokenizer.cs
Initializes a new instance of the EdgeNGramTokenizer class.
public EdgeNGramTokenizer ();
Public Sub New ()
Applies to
EdgeNGramTokenizer(String, Nullable<Int32>, Nullable<Int32>, IList<TokenCharacterKind>)
- Source:
- EdgeNGramTokenizer.cs
Initializes a new instance of the EdgeNGramTokenizer class.
public EdgeNGramTokenizer (string name, int? minGram = default, int? maxGram = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenCharacterKind> tokenChars = default);
new Microsoft.Azure.Search.Models.EdgeNGramTokenizer : string * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenCharacterKind> -> Microsoft.Azure.Search.Models.EdgeNGramTokenizer
Public Sub New (name As String, Optional minGram As Nullable(Of Integer) = Nothing, Optional maxGram As Nullable(Of Integer) = Nothing, Optional tokenChars As IList(Of TokenCharacterKind) = Nothing)
Parameters
- name
- String
The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram.
- tokenChars
- IList<TokenCharacterKind>
Character classes to keep in the tokens.