SynonymMapsAttribute(String[]) Constructor
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.
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
Azure SDK for .NET