Contents:
This documents the CloudSearch API I am implementing and how its called. I also document the Nozama specifc REST API used to check the outcomes of earlier calls.
These are the REST API calls I currently implement from Amazon’s CloudSearch API.
This is used to batch load documents for later querying.
This will return all documents currently stored on the system. This is useful for seeing the results of a batch upload.
# This returns a list of ...
This will remove all documents currently stored on the system. This is useful for cleaning out before a test run.
# This returns a status dict e.g.:
{
'status': 'ok',
'message': 'Documents Removed OK.',
'traceback': '',
'error': ''
}
This can be used to check the service is up and running. It will return a JSON structure in the form:
{
'status': 'ok',
'version': 'X.Y.Z',
'name': 'nozama-cloudsearch-service'
}