Search¶
- class searx.search.EngineRef(name: str, category: str)[source]¶
Reference by names to an engine and category
- class searx.search.SearchQuery(query: str, engineref_list: List[EngineRef], lang: str = 'all', safesearch: int = 0, pageno: int = 1, time_range: Optional[str] = None, timeout_limit: Optional[float] = None, external_bang: Optional[str] = None, engine_data: Optional[Dict[str, str]] = None)[source]¶
container for all the search parameters (query, language, etc…)
- class searx.search.Search(search_query: SearchQuery)[source]¶
Search information container
- search_query: searx.search.SearchQuery¶
- result_container: searx.results.ResultContainer¶
- class searx.search.SearchWithPlugins(search_query: SearchQuery, ordered_plugin_list, request: Request)[source]¶
Inherit from the Search class, add calls to the plugins.
- search_query: searx.search.SearchQuery¶
- result_container: searx.results.ResultContainer¶
- request: flask.request¶