summaryrefslogtreecommitdiff
path: root/docs/admin/engines/configured_engines.rst
blob: 3e4aa7a29d7bb5e623c83b1ef7915bb14d67f302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.. _configured engines:

==================
Configured Engines
==================

.. sidebar:: Further reading ..

   - :ref:`engines-dev`
   - :ref:`settings engine`

Explanation of the :ref:`general engine configuration` shown in the table
:ref:`configured engines`.

.. jinja:: searx

   {% for category, engines in engines.items() | groupby('1.categories.0') %}

   {{category}} search engines
   ---------------------------------------

   .. flat-table::
      :header-rows: 2
      :stub-columns: 1

      * - :cspan:`5` Engines configured by default (in :ref:`settings.yml <engine settings>`)
        - :cspan:`3` :ref:`Supported features <engine file>`

      * - Name
        - Shortcut
        - Engine
        - Disabled
        - Timeout
        - Weight
        - Paging
        - Language
        - Safe search
        - Time range

      {% for name, mod in engines | sort_engines %}

      * - `{{name}} <{{mod.about and mod.about.website}}>`_
        - ``!{{mod.shortcut}}``
        - {{mod.__name__}}
        - {{(mod.disabled and "y") or ""}}
          {%- if mod.about and  mod.about.language %}
          ({{mod.about.language | upper}})
          {%- endif %}
        - {{mod.timeout}}
        - {{mod.weight or 1 }}
        {% if mod.engine_type == 'online' %}
        - {{(mod.paging and "y") or ""}}
        - {{(mod.language_support and "y") or ""}}
        - {{(mod.safesearch and "y") or ""}}
        - {{(mod.time_range_support and "y") or ""}}
        {% else %}
        - :cspan:`3` not applicable ({{mod.engine_type}})
        {% endif %}

     {% endfor %}
     {% endfor %}