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...

UpdateStopwordOptions

Description

Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.

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
Stopwords

Lists stopwords serialized as a JSON document. The document has a single object with one property "stopwords" whose value is an array of strings. The maximum size of a stopwords document is 10KB. Example: { "stopwords": ["a", "an", "the", "of"] }

Type: String

Yes

Response Elements

The following elements come wrapped in an UpdateStopwordOptionsResult structure.
NameDescription
Stopwords

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

Type: StopwordOptionsStatus

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