Jump to >

This documentation covers the in-development release of Review Board. You can see the latest stable docs or all previous versions.


A backend for the Whoosh search engine.

class WhooshConfigForm(*args, **kwargs)[source]

Bases: reviewboard.search.search_backends.base.SearchBackendForm

A form for configuring the Whoosh search backend.


Clear the search_index_file field.

This ensures the value is an absolute path and is writable.

declared_fields = {'search_index_file': <django.forms.fields.CharField object>}[source]
class WhooshBackend[source]

Bases: reviewboard.search.search_backends.base.SearchBackend

The Whoosh search backend.

search_backend_id = u'whoosh'[source]
name = u'Whoosh'[source]
haystack_backend_name = u'haystack.backends.whoosh_backend.WhooshEngine'[source]

alias of WhooshConfigForm

form_field_map = {u'search_index_file': u'PATH'}[source]

The default settings for the backend.

This is dynamic, in order to account for a change to SITE_DATA_DIR. In production, this value shouldn’t change, but it does in unit tests.