reviewboard.search.search_backends.elasticsearch¶
A backend for the Elasticsearch search engine.
-
class
ElasticsearchConfigForm
(*args, **kwargs)[source]¶ Bases:
reviewboard.search.search_backends.base.SearchBackendForm
A form for configuring the Elasticsearch search backend.
-
class
ElasticsearchBackend
[source]¶ Bases:
reviewboard.search.search_backends.base.SearchBackend
A search backend for integrating with Elasticsearch
-
haystack_backend_name
= u'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine'[source]¶
-
config_form_class
[source]¶ alias of
ElasticsearchConfigForm
-
validate
(**kwargs)[source]¶ Ensure that the elasticsearch Python module is installed.
Raises: django.core.exceptions.ValidationError
– Raised if theelasticsearch
module is not installed.
-