Jump to >

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”.