reviewboard.search.search_backends.registry¶
The search engine backend registry.
-
class
SearchBackendRegistry
[source]¶ Bases:
reviewboard.registries.registry.Registry
A registry for search engines backends.
Extensions can add support for additional search engine backends.
See the registry documentation for information on how registries work.
-
get_search_backend
(search_backend_id)[source]¶ Return the search backend with the specified ID.
Parameters: search_backend_id (unicode) – The unique identifier of the search engine. Returns: The search engine class, if it could be found. Otherwise, None
.Return type: reviewboard.search.search_engines.base.SearchBackend
-