CustomAnalyzer(String, LexicalTokenizerName) Constructor
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.
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.