SearchModelFactory.AsciiFoldingTokenFilter 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.
Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. This token filter is implemented using Apache Lucene.
public static Azure.Search.Documents.Indexes.Models.AsciiFoldingTokenFilter AsciiFoldingTokenFilter(string name = default, bool? preserveOriginal = default);
static member AsciiFoldingTokenFilter : string * Nullable<bool> -> Azure.Search.Documents.Indexes.Models.AsciiFoldingTokenFilter
Public Shared Function AsciiFoldingTokenFilter (Optional name As String = Nothing, Optional preserveOriginal As Nullable(Of Boolean) = Nothing) As AsciiFoldingTokenFilter
Parameters
- name
- String
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
A value indicating whether the original token will be kept. Default is false.
Returns
A new AsciiFoldingTokenFilter instance for mocking.