Jump to >

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

reviewboard.search.testing

Search-related testing utilities.

Rebuild the search index.

search_enabled(*args, **kwds)[source]

Temporarily enable indexed search.

Parameters:
  • on_the_fly_indexing (bool, optional) – Whether or not to enable on-the-fly indexing.
  • backend_id (unicode, optional) – The search backend to enable. Valid options are “whoosh” (default) and “elasticsearch”.