Amazon CloudSearch Developer Guide
Controlling Search Results .......................................................................................................... 179
Sorting Results ......................................................................................................................................... 179
Using Relative Field Weighting to Customize Text Relevance ........................................................ 181
Configuring Expressions ......................................................................................................................... 181
Writing Expressions ............................................................................................................................ 182
Defining Expressions in Search Requests ...................................................................................... 183
Configuring Reusable Expressions .................................................................................................. 184
Comparing Expressions ..................................................................................................................... 186
Getting Results as XML .......................................................................................................................... 188
Paginating Results ................................................................................................................................... 189
Deep Paging Beyond 10,000 Hits ................................................................................................... 189
Integrating with API Gateway .................................................................................................... 192
Prerequisites .............................................................................................................................................. 192
Creating and Configuring an API (Console) ........................................................................................ 195
Testing the API (Console) ....................................................................................................................... 196
Handling Errors ........................................................................................................................... 198
Error Types in Amazon CloudSearch ................................................................................................... 198
Retrying Requests in Amazon CloudSearch ....................................................................................... 199
Amazon CloudSearch API Reference .......................................................................................... 200
Configuration API Reference ................................................................................................................. 200
Submitting Configuration Requests ............................................................................................... 200
Actions .................................................................................................................................................. 203
Data Types ........................................................................................................................................... 256
Common Parameters ......................................................................................................................... 302
Common Errors ................................................................................................................................... 304
Document Service API Reference ......................................................................................................... 306
documents/batch ................................................................................................................................ 307
Search API Reference .............................................................................................................................. 319
Search .................................................................................................................................................... 319
Submitting Suggest Requests .......................................................................................................... 342
Suggest ................................................................................................................................................. 343
Search Service Errors ......................................................................................................................... 346
Troubleshooting ........................................................................................................................... 348
Uploading Documents ............................................................................................................................ 348
Deleting All Documents .......................................................................................................................... 349
Domain Not Scaling Down After Deleting Documents .................................................................... 350
API Version 2013-01-01 vii