Rebrand Zaclys for SearXNG
Go to file
Alexandre Flament 01e2648e93 Simplify search.py, basically updated PR #518
The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response)
It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended.

New / changed stats :
* page_load_time : record the HTTP request time
* page_load_count: the number of HTTP request
* engine_time : the execution total time of an engine
* engine_time_count : the number of "engine_time" measure

The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count)

To sum up :
* Search.search() filters the engines that can't process the request
* Search.search() call search_multiple_requests function
* search_multiple_requests creates one thread per engine, each thread runs the search_one_request function
* search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container
* search_multiple_requests waits for the the thread to finish (or timeout)
2016-11-05 13:45:20 +01:00
examples Fix whitespaces 2016-07-11 18:52:37 +07:00
searx Simplify search.py, basically updated PR #518 2016-11-05 13:45:20 +01:00
tests Change plugin API : 2016-11-02 14:22:16 +01:00
utils Add missing blank lines after class or function definition. 2016-08-11 17:18:12 +07:00
.coveragerc Cover searx.utils 2014-07-12 15:46:55 +02:00
.gitignore wikidata refactor and more attributes (see issue #560) 2016-08-05 23:51:04 -05:00
.landscape.yaml Add landscape.io configuration 2014-07-09 22:49:38 +02:00
.travis.yml [enh] add latest firefox addon to travis 2016-10-22 02:32:36 +02:00
AUTHORS.rst initial commit of pdbe engine 2016-10-13 00:40:38 +02:00
CHANGELOG.rst [enh] version 0.10.0 2016-09-06 18:31:25 +02:00
Dockerfile Dockerfile enhancements 2016-02-09 21:02:40 +01:00
LICENSE [fix] full AGPLv3+ license according to #382 2015-07-04 18:23:54 +02:00
README.rst use https instead of ssh with git-clone 2016-07-08 08:46:25 +02:00
babel.cfg [enh] babel.cfg added 2014-01-22 00:15:42 +01:00
manage.sh [mod] rename "default" theme to "legacy" 2016-09-22 23:51:07 +02:00
requirements-dev.txt [enh] update dev requirements 2016-10-22 02:22:20 +02:00
requirements.txt [enh] update certifi to the current latest 2016-10-03 14:10:00 +02:00
setup.py [fix] missing requirements files from setup.py - closes #572 2016-05-30 18:00:41 +02:00
tox.ini [enh] tox.ini added to rewrite standard pep8 rules 2015-01-02 12:26:21 +01:00

README.rst

searx

A privacy-respecting, hackable metasearch engine.

List of running instances.

See the documentation and the wiki for more information.

Flattr searx

Installation

  • clone source: git clone https://github.com/asciimoo/searx.git && cd searx
  • install dependencies: ./manage.sh update_packages
  • edit your settings.yml (set your secret_key!)
  • run python searx/webapp.py to start the application

For all the details, follow this step by step installation

Bugs

Bugs or suggestions? Visit the issue tracker.

License

More about searx