CloudSearch

Amazon CloudSearch provides a managed search service.

Concepts

  • Search Domains isolate different pieces of searchable data, and will have AWS infrastructure allocated against them.
  • Index Fields define which fields should be indexed and searchable.
  • Data to be indexed is ingested through uploaded files or S3 objects.

Querying

Queries are submitted over HTTP as GET requests:

http://instance.region.cloudsearch.amazonaws.com/api-version/search?bq=query&return-fields=id

Advanced querying

Querying can be based on specific fields:

  • -value excludes results matching value.
  • field:value includes only results where field is set to value.
  • year:2000-2020 includes only results where year is in the range 2000-2020.

Complex conditions are specified in the form (and x y) or (or a b).