SearchModelFactory.CustomEntityAlias Method

Definition

A complex object that can be used to specify alternative spellings or synonyms to the root entity name.

public static Azure.Search.Documents.Indexes.Models.CustomEntityAlias CustomEntityAlias(string text = default, bool? caseSensitive = default, bool? accentSensitive = default, int? fuzzyEditDistance = default);
static member CustomEntityAlias : string * Nullable<bool> * Nullable<bool> * Nullable<int> -> Azure.Search.Documents.Indexes.Models.CustomEntityAlias
Public Shared Function CustomEntityAlias (Optional text As String = Nothing, Optional caseSensitive As Nullable(Of Boolean) = Nothing, Optional accentSensitive As Nullable(Of Boolean) = Nothing, Optional fuzzyEditDistance As Nullable(Of Integer) = Nothing) As CustomEntityAlias

Parameters

text
String

The text of the alias.

caseSensitive
Nullable<Boolean>

Determine if the alias is case sensitive.

accentSensitive
Nullable<Boolean>

Determine if the alias is accent sensitive.

fuzzyEditDistance
Nullable<Int32>

Determine the fuzzy edit distance of the alias.

Returns

A new CustomEntityAlias instance for mocking.

Applies to