.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
search (self, query, params, result_container, start_time, timeout_limit) | |
Public Member Functions inherited from searx.search.processors.abstract.EngineProcessor | |
__init__ (self, engine, str engine_name) | |
initialize (self) | |
has_initialize_function (self) | |
handle_exception (self, result_container, exception_or_message, suspend=False) | |
extend_container (self, result_container, start_time, search_results) | |
extend_container_if_suspended (self, result_container) | |
get_params (self, search_query, engine_category) | |
get_tests (self) | |
get_default_tests (self) | |
Public Attributes | |
engine_name | |
Public Attributes inherited from searx.search.processors.abstract.EngineProcessor | |
engine = engine | |
engine_name = engine_name | |
logger = engines[engine_name].logger | |
suspended_status = SUSPENDED_STATUS.setdefault(key, SuspendedStatus()) | |
Static Public Attributes | |
str | engine_type = 'offline' |
Protected Member Functions | |
_search_basic (self, query, params) | |
Protected Member Functions inherited from searx.search.processors.abstract.EngineProcessor | |
_extend_container_basic (self, result_container, start_time, search_results) | |
Processor class used by ``offline`` engines
Definition at line 9 of file offline.py.
|
protected |
Definition at line 14 of file offline.py.
References searx.search.processors.abstract.EngineProcessor.engine, searx.search.processors.online.OnlineProcessor.engine, and searx.search.processors.online_dictionary.OnlineDictionaryProcessor.engine.
Referenced by searx.search.processors.offline.OfflineProcessor.search(), and searx.search.processors.online.OnlineProcessor.search().
searx.search.processors.offline.OfflineProcessor.search | ( | self, | |
query, | |||
params, | |||
result_container, | |||
start_time, | |||
timeout_limit ) |
Reimplemented from searx.search.processors.abstract.EngineProcessor.
Definition at line 17 of file offline.py.
References searx.search.processors.offline.OfflineProcessor._search_basic(), searx.search.processors.online.OnlineProcessor._search_basic(), and searx.search.processors.abstract.EngineProcessor.extend_container().
searx.search.processors.offline.OfflineProcessor.engine_name |
Definition at line 23 of file offline.py.
Referenced by searx.search.processors.abstract.EngineProcessor._extend_container_basic(), searx.search.processors.online.OnlineProcessor._send_http_request(), searx.search.processors.abstract.EngineProcessor.extend_container_if_suspended(), searx.search.processors.abstract.EngineProcessor.get_params(), searx.search.processors.abstract.EngineProcessor.handle_exception(), searx.search.processors.abstract.EngineProcessor.initialize(), and searx.search.processors.online.OnlineProcessor.search().
|
static |
Definition at line 12 of file offline.py.