Jump to >

reviewboard.search.search_backends.whoosh

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.

clean_search_index_file()[source]

Clear the search_index_file field.

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

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]
config_form_class[source]

alias of WhooshConfigForm

default_settings = {u'PATH': u'/private/var/folders/d6/k73lbsvs0fl4s0r7l3nh67wr0000gn/T/beanbag-tools.1mpyYR/docs/manual/data/data/search-index'}[source]
form_field_map = {u'search_index_file': u'PATH'}[source]