diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-16 13:41:32 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-17 11:39:36 +0100 |
commit | 7ec8bc3ea76516e33318c67165161df5c1efdd36 (patch) | |
tree | 6c9dff310882db816cada8662ef5ed2b8a8158e8 /docs | |
parent | c0cc01e936593ff3df828fa3bb834507c45cd7ac (diff) | |
download | searxng-7ec8bc3ea76516e33318c67165161df5c1efdd36.tar.gz searxng-7ec8bc3ea76516e33318c67165161df5c1efdd36.zip |
[mod] split searx.search into different processors
see searx.search.processors.abstract.EngineProcessor
First the method searx call the get_params method.
If the return value is not None, then the searx call the method search.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/engines.rst | 12 | ||||
-rw-r--r-- | docs/dev/engine_overview.rst | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/admin/engines.rst b/docs/admin/engines.rst index f1ac03699..0ec86a614 100644 --- a/docs/admin/engines.rst +++ b/docs/admin/engines.rst @@ -33,7 +33,7 @@ Engine .. Paging support **P** ------------------------- -------------------- ------------ Shortcut **S** Language support **L** Timeout **TO** Time range support **TR** -Disabled **D** Offline **O** +Disabled **D** Engine type **ET** ------------- ----------- -------------------- ------------ Safe search **SS** ------------- ----------- --------------------------------- @@ -62,10 +62,10 @@ Show errors **DE** - SS - D - TR - - O - - W - - D - - DE + - ET + - W + - D + - DE {% for name, mod in engines.items() %} @@ -79,7 +79,7 @@ Show errors **DE** - {{(mod.safesearch and "y") or ""}} - {{(mod.disabled and "y") or ""}} - {{(mod.time_range_support and "y") or ""}} - - {{(mod.offline and "y") or ""}} + - {{mod.engine_type or ""}} - {{mod.weight or 1 }} - {{(mod.disabled and "y") or ""}} - {{(mod.display_error_messages and "y") or ""}} diff --git a/docs/dev/engine_overview.rst b/docs/dev/engine_overview.rst index 3562ca61a..12e62eb61 100644 --- a/docs/dev/engine_overview.rst +++ b/docs/dev/engine_overview.rst @@ -44,7 +44,7 @@ categories list pages, in which the engine is working paging boolean support multible pages language_support boolean support language choosing time_range_support boolean support search time range -offline boolean engine runs offline +engine_type str ``online`` by default, ``offline`` ======================= =========== =========================================== .. _engine settings: |