.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.search Namespace Reference

Namespaces

namespace  checker
 
namespace  models
 
namespace  processors
 

Classes

class  Search
 
class  SearchWithPlugins
 

Functions

 initialize (settings_engines=None, enable_checker=False, check_network=False, enable_metrics=True)
 

Variables

 logger = logger.getChild('search')
 

Function Documentation

◆ initialize()

searx.search.initialize ( settings_engines = None,
enable_checker = False,
check_network = False,
enable_metrics = True )

Definition at line 30 of file __init__.py.

30def initialize(settings_engines=None, enable_checker=False, check_network=False, enable_metrics=True):
31 settings_engines = settings_engines or settings['engines']
32 load_engines(settings_engines)
33 initialize_network(settings_engines, settings['outgoing'])
34 if check_network:
35 check_network_configuration()
36 initialize_metrics([engine['name'] for engine in settings_engines], enable_metrics)
37 initialize_processors(settings_engines)
38 if enable_checker:
39 initialize_checker()
40
41

Referenced by searx.search.checker.__main__.run().

+ Here is the caller graph for this function:

Variable Documentation

◆ logger

searx.search.logger = logger.getChild('search')

Definition at line 27 of file __init__.py.