engine_settings.rst 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .. _general engine settings:
  2. =======================
  3. General Engine Settings
  4. =======================
  5. .. sidebar:: Further reading ..
  6. - :ref:`engines-dev`
  7. - :ref:`settings engine`
  8. Explanation of the :ref:`general engine configuration` shown in the table
  9. :ref:`configured engines`.
  10. ============= =========== ==================== ============
  11. :ref:`engine settings` :ref:`engine file`
  12. ------------------------- ---------------------------------
  13. Name (cfg) Categories
  14. ------------------------- ---------------------------------
  15. Engine .. Paging support **P**
  16. ------------------------- -------------------- ------------
  17. Shortcut **S** Language support **L**
  18. Timeout **TO** Time range support **TR**
  19. Disabled **D** Engine type **ET**
  20. ------------- ----------- -------------------- ------------
  21. Safe search **SS**
  22. ------------- ----------- ---------------------------------
  23. Weigth **W**
  24. ------------- ----------- ---------------------------------
  25. Disabled **D**
  26. ------------- ----------- ---------------------------------
  27. Show errors **DE**
  28. ============= =========== =================================
  29. .. _configured engines:
  30. .. jinja:: searx
  31. .. flat-table:: Engines configured at built time (defaults)
  32. :header-rows: 1
  33. :stub-columns: 2
  34. * - Name (cfg)
  35. - S
  36. - Engine
  37. - TO
  38. - Categories
  39. - P
  40. - L
  41. - SS
  42. - D
  43. - TR
  44. - ET
  45. - W
  46. - D
  47. - DE
  48. {% for name, mod in engines.items() %}
  49. * - {{name}}
  50. - !{{mod.shortcut}}
  51. - {{mod.__name__}}
  52. - {{mod.timeout}}
  53. - {{", ".join(mod.categories)}}
  54. - {{(mod.paging and "y") or ""}}
  55. - {{(mod.language_support and "y") or ""}}
  56. - {{(mod.safesearch and "y") or ""}}
  57. - {{(mod.disabled and "y") or ""}}
  58. - {{(mod.time_range_support and "y") or ""}}
  59. - {{mod.engine_type or ""}}
  60. - {{mod.weight or 1 }}
  61. - {{(mod.disabled and "y") or ""}}
  62. - {{(mod.display_error_messages and "y") or ""}}
  63. {% endfor %}