SearchModelFactory.LuceneStandardTokenizer Method
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.
Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.
public static Azure.Search.Documents.Indexes.Models.LuceneStandardTokenizer LuceneStandardTokenizer(string name = default, int? maxTokenLength = default);
static member LuceneStandardTokenizer : string * Nullable<int> -> Azure.Search.Documents.Indexes.Models.LuceneStandardTokenizer
Public Shared Function LuceneStandardTokenizer (Optional name As String = Nothing, Optional maxTokenLength As Nullable(Of Integer) = Nothing) As LuceneStandardTokenizer
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 maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters.
Returns
A new LuceneStandardTokenizer instance for mocking.