| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
This table shows naming and size restrictions within Amazon CloudSearch. You can submit a request if you need to increase the maximum number of search instances or partitions for a search domain. For information about increasing other limits such as the maximum number of search domains, contact Amazon CloudSearch.
The current Amazon CloudSearch limits are summarized in the following table.
| Item | Limit |
|---|---|
| Domain name | Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long. |
| Field name | Allowed characters are a-z (lower-case letters), 0-9, and _ (underscore). Field names must begin with a letter and be at least 1 and no more than 64 characters long. The names "body", "docid", and "text_relevance" are reserved names and cannot be specified as field names. |
| Rank expression name | Allowed characters are a-z (lower-case letters), 0-9, and _ (underscore). Rank expression names must begin with a letter and be at least 3 and no more than 64 characters long. The names "body", "docid", and "text_relevance" are reserved names and cannot be specified as rank expression names. |
| Source field name | Source field names must be at least 1 and no more than 64 characters long. |
| Document ID (docid) | Allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). Document IDs must begin with a letter or numeral and must be at least 1 and no more than 128 characters long. |
| Document size | The maximum document size is 1 MB. |
| Batch size | The maximum batch size is 5 MB. |
| Document version number size | The maximum size of a document's version number is max(uint32_t). |
| Document language | English (en) is currently the only supported language. |
| Maximum number of index fields | Up to 200 index fields can be configured for a domain. |
| Maximum number of sources for an index field | Up to 20 sources can be configured for a field. |
| Maximum number of field values | Up to 100 values can be specified in a field. |
| Maximum size of terms in an index field | Individual terms within a text or literal field are truncated if they exceed 256 characters. |
| Default value size | The maximum size of a default value for a field is 1 KB. |
| Uint field range | A uint field can contain values in the range 0 - max(uint32_t). |
| Maximum number of rank expressions | Up to 50 rank expressions can be configured for a domain. |
| Rank expression size | The maximum size of a rank expression is 10240 bytes. The maximum value that can be returned by a rank expression is max(uint32_t). |
| text_relevance score | An integer value in the range 0-1000. |
| Maximum search partitions | 10 |
| Maximum search instances | 50 |
| Policy document size | The maximum size of a Amazon CloudSearch policy document is 100 KB. |
| Stemming dictionary size | The maximum size of a Amazon CloudSearch stemming dictionary is 500 KB. |
| Stopwords dictionary size | The maximum size of a Amazon CloudSearch stopwords dictionary is 10 KB. |
| Synonym dictionary size | The maximum size of a Amazon CloudSearch synonym dictionary is 100 KB. |
| Search requests: size parameter | The size parameter can contain values in the range 0 - max(uint32_t). |
| Search requests: start parameter | The start parameter can contain values in the range 0 - max(uint32_t). |
| Search requests: rank parameter | Up to 10 uint fields and expressions can be specified in the rank parameter. |
| Search requests: GET requests | The maximum size of a search request submitted as an HTTP GET request is 8190 bytes. |
| Search requests: returned data | Up to 2 KB of data can be returned from a field. If the field contents exceed 2 KB, only the first 2 KB is included in the results. |
| Number of Search Domains | Each AWS account can create up to 100 search domains. |