The Search API can raise the following exceptions:

Error

:   Base class for exceptions in this module.

PutError

:   The document could not be indexed.

InternalError

:   Search API call failed on internal backend.

DeleteError

:   The object could not be deleted.

TransientError

:   Search API call failed, but retrying may succeed.

InvalidRequest

:   Invalid search API call by client.