trac.search.web_ui

class trac.search.web_ui.SearchModule

Bases: trac.core.Component

Controller for the search sub-system

default_disabled_filters

Specifies which search filters should be disabled by default on the search page. This will also restrict the filters for the quick search function. The filter names defined by default components are: wiki, ticket, milestone and changeset. For plugins, look for their implementation of the ISearchSource interface, in the get_search_filters() method, the first member of returned tuple. Once disabled, search filters can still be manually enabled by the user on the search page.

min_query_length

Minimum length of query string allowed when performing a search.

search_sources

List of components that implement ISearchSource