SearchModelFactory.LuceneStandardTokenizer Method

Definition

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.

maxTokenLength
Nullable<Int32>

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.

Applies to