Container for the parameters to the UpdateSynonymOptions operation.
Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100 KB.
Declaration Syntax
C# |
public class UpdateSynonymOptionsRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
UpdateSynonymOptionsRequest()()()() | Initializes a new instance of the UpdateSynonymOptionsRequest class | |
DomainName |
A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region.
Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase
letters and underscores are not allowed.
Constraints: | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
Synonyms |
Maps terms to their synonyms, serialized as a JSON document. The document has a single object with one property "synonyms" whose value is an
object mapping terms to their synonyms. Each synonym is a simple string or an array of strings. The maximum size of a stopwords document is
100 KB. Example: { "synonyms": {"cat": ["feline", "kitten"], "puppy": "dog"} } | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithDomainName(String) | Obsolete.
Sets the DomainName property
| |
WithSynonyms(String) | Obsolete.
Sets the Synonyms property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
UpdateSynonymOptionsRequest |