Share via


SynonymMap Class

Definition

Represents a synonym map definition.

public class SynonymMap : Microsoft.Azure.Search.Models.IResourceWithETag
type SynonymMap = class
    interface IResourceWithETag
Public Class SynonymMap
Implements IResourceWithETag
Inheritance
SynonymMap
Implements

Constructors

SynonymMap()

Initializes a new instance of the SynonymMap class.

SynonymMap(String, String, String)

Initializes a new instance of the SynonymMap class.

Properties

ETag

Gets or sets the ETag of the synonym map.

Format

The format of the synonym map. Only the 'solr' format is currently supported.

Name

Gets or sets the name of the synonym map.

Synonyms

Gets or sets a series of synonym rules in the specified synonym map format. The rules must be separated by newlines.

Methods

Validate()

Validate the object.

Applies to