Jump to >

reviewboard.search.search_backends.whoosh

A backend for the Whoosh search engine.

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

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]

The Whoosh search backend.

config_form_class[source]

alias of reviewboard.search.search_backends.whoosh.WhooshConfigForm

property default_settings[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.