Amazon CloudSearch
Developer Guide (API Version 2011-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

UpdateStemmingOptions

Description

Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.

Name Description Required
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.

Type: String

Length constraints: Minimum length of 3. Maximum length of 28.

Yes
Stems

Maps terms to their stems, serialized as a JSON document. The document has a single object with one property "stems" whose value is an object mapping terms to their stems. The maximum size of a stemming document is 500KB. Example: { "stems": {"people": "person", "walking": "walk"} }

Type: String

Yes

Response Elements

The following elements come wrapped in an UpdateStemmingOptionsResult structure.
NameDescription
Stems

The stemming options configured for this search domain and the current status of those options.

Type: StemmingOptionsStatus

Errors

For information about the common errors that all actions use, see Common Errors.

Error Description HTTP Status Code
Base

An error occurred while processing the request.

400
Internal

An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.

500
InvalidType

The request was rejected because it specified an invalid type definition.

409
LimitExceeded

The request was rejected because a resource limit has already been met.

409
ResourceNotFound

The request was rejected because it attempted to reference a resource that does not exist.

409