From 7ec8bc3ea76516e33318c67165161df5c1efdd36 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 16 Dec 2020 13:41:32 +0100 Subject: [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. --- docs/admin/engines.rst | 12 ++++++------ docs/dev/engine_overview.rst | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs') 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: -- cgit v1.2.3