Delen via


SynonymMapsAttribute(String[]) Constructor

Definition

Indicates that the specified synonym maps should be used for searches on the target field.

public SynonymMapsAttribute (params string[] synonymMaps);
new Microsoft.Azure.Search.SynonymMapsAttribute : string[] -> Microsoft.Azure.Search.SynonymMapsAttribute
Public Sub New (ParamArray synonymMaps As String())

Parameters

synonymMaps
String[]

A list of synonym map names that associates synonym maps with the field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map.

Applies to