search.services.index.exceptions module¶
Exceptions raised by the search index service.
-
exception
search.services.index.exceptions.
MappingError
[source]¶ Bases:
ValueError
There was a problem with the search document mapping.
-
exception
search.services.index.exceptions.
IndexConnectionError
[source]¶ Bases:
OSError
There was a problem connecting to the search index.
-
exception
search.services.index.exceptions.
IndexingError
[source]¶ Bases:
OSError
There was a problem adding a document to the index.
-
exception
search.services.index.exceptions.
QueryError
[source]¶ Bases:
ValueError
Elasticsearch could not handle the query.
This is likely due either to a programming error that resulted in a bad index, or to a mal-formed query.
-
exception
search.services.index.exceptions.
DocumentNotFound
[source]¶ Bases:
RuntimeError
Could not find a requested document in the search index.
-
exception
search.services.index.exceptions.
OutsideAllowedRange
[source]¶ Bases:
RuntimeError
A page outside of the allowed range has been requested.