共用方式為


CustomAnalyzer(String, LexicalTokenizerName) Constructor

Definition

Initializes a new instance of CustomAnalyzer.

public CustomAnalyzer (string name, Azure.Search.Documents.Indexes.Models.LexicalTokenizerName tokenizerName);
new Azure.Search.Documents.Indexes.Models.CustomAnalyzer : string * Azure.Search.Documents.Indexes.Models.LexicalTokenizerName -> Azure.Search.Documents.Indexes.Models.CustomAnalyzer
Public Sub New (name As String, tokenizerName As LexicalTokenizerName)

Parameters

name
String

The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

tokenizerName
LexicalTokenizerName

The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words.

Exceptions

name is null.

Applies to