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: str | None = None, timeout_limit: float | None = None, external_bang: str | None = None, engine_data: Dict[str, str] | None = None, redirect_to_first_result: bool | None = 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¶