.oO SearXNG Developer Documentation Oo.
|
Namespaces | |
namespace | abstract |
namespace | offline |
namespace | online |
namespace | online_currency |
namespace | online_dictionary |
namespace | online_url_search |
Functions | |
get_processor_class (engine_type) | |
get_processor (engine, engine_name) | |
initialize_processor (processor) | |
initialize (engine_list) | |
Variables | |
list | __all__ |
logger = logger.getChild('search.processors') | |
dict | PROCESSORS = {} |
Implement request processors used by engine-types.
searx.search.processors.get_processor | ( | engine, | |
engine_name ) |
Return processor instance that fits to ``engine.engine.type``)
Definition at line 52 of file __init__.py.
References searx.search.processors.get_processor_class().
Referenced by searx.search.processors.initialize().
searx.search.processors.get_processor_class | ( | engine_type | ) |
Return processor class according to the ``engine_type``
Definition at line 38 of file __init__.py.
Referenced by searx.search.processors.get_processor().
searx.search.processors.initialize | ( | engine_list | ) |
Initialize all engines and store a processor for each engine in :py:obj:`PROCESSORS`.
Definition at line 71 of file __init__.py.
References searx.search.processors.get_processor(), and searx.search.processors.initialize_processor().
searx.search.processors.initialize_processor | ( | processor | ) |
Initialize one processor Call the init function of the engine
Definition at line 61 of file __init__.py.
Referenced by searx.search.processors.initialize().
|
private |
Definition at line 7 of file __init__.py.
searx.search.processors.logger = logger.getChild('search.processors') |
Definition at line 30 of file __init__.py.
dict searx.search.processors.PROCESSORS = {} |
Definition at line 31 of file __init__.py.