summaryrefslogtreecommitdiff
path: root/docs/admin/engines.rst
blob: 4b78c8c2bd802fc8500bd1a5ecbb1a9ddcfdaa07 (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
62
63
64
65
66
67
68
69
70
71
.. _engines generic:

=======
Engines
=======

.. sidebar:: Further reading ..

   - :ref:`settings engine`
   - :ref:`engine settings`
   - :ref:`engine file`

============= =========== ==================== ============
:ref:`engine settings`    :ref:`engine file`
------------------------- ---------------------------------
Name (cfg)                Categories
------------------------- ---------------------------------
Engine        ..          Paging support       **P**
------------------------- -------------------- ------------
Shortcut      **S**       Language support     **L**
Timeout       **TO**      Time range support   **TR**
Disabled      **D**       Offline              **O**
------------- ----------- -------------------- ------------
Safe search   **SS**
------------- ----------- ---------------------------------
Weigth        **W**
------------- ----------- ---------------------------------
Disabled      **D**
============= =========== =================================

Configuration defaults (at built time):

.. _configured engines:

.. jinja:: webapp

   .. flat-table:: Engines configured at built time (defaults)
      :header-rows: 1
      :stub-columns: 2

      * - Name (cfg)
        - S
        - Engine
        - TO
        - Categories
        - P
        - L
        - SS
        - D
        - TR
        - O
	- W
	- D

      {% for name, mod in engines.items() %}

      * - {{name}}
        - !{{mod.shortcut}}
        - {{mod.__name__}}
        - {{mod.timeout}}
        - {{", ".join(mod.categories)}}
        - {{(mod.paging and "y") or ""}}
        - {{(mod.language_support and "y") or ""}}
        - {{(mod.safesearch and "y") or ""}}
        - {{(mod.disabled and "y") or ""}}
        - {{(mod.time_range_support and "y") or ""}}
        - {{(mod.offline and "y") or ""}}
        - {{mod.weight or 1 }}
        - {{(mod.disabled and "y") or ""}}

     {% endfor %}