SearchModelFactory.MicrosoftLanguageStemmingTokenizer 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.
Divides text using language-specific rules and reduces words to their base forms.
public static Azure.Search.Documents.Indexes.Models.MicrosoftLanguageStemmingTokenizer MicrosoftLanguageStemmingTokenizer(string name = default, int? maxTokenLength = default, bool? isSearchTokenizer = default, Azure.Search.Documents.Indexes.Models.MicrosoftStemmingTokenizerLanguage? language = default);
static member MicrosoftLanguageStemmingTokenizer : string * Nullable<int> * Nullable<bool> * Nullable<Azure.Search.Documents.Indexes.Models.MicrosoftStemmingTokenizerLanguage> -> Azure.Search.Documents.Indexes.Models.MicrosoftLanguageStemmingTokenizer
Public Shared Function MicrosoftLanguageStemmingTokenizer (Optional name As String = Nothing, Optional maxTokenLength As Nullable(Of Integer) = Nothing, Optional isSearchTokenizer As Nullable(Of Boolean) = Nothing, Optional language As Nullable(Of MicrosoftStemmingTokenizerLanguage) = Nothing) As MicrosoftLanguageStemmingTokenizer
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. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255.
A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false.
- language
- Nullable<MicrosoftStemmingTokenizerLanguage>
The language to use. The default is English.
Returns
A new MicrosoftLanguageStemmingTokenizer instance for mocking.