configured_engines.rst 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .. _configured engines:
  2. ==================
  3. Configured Engines
  4. ==================
  5. .. sidebar:: Further reading ..
  6. - :ref:`settings categories_as_tabs`
  7. - :ref:`engines-dev`
  8. - :ref:`settings engine`
  9. - :ref:`general engine configuration`
  10. .. jinja:: searx
  11. SearXNG supports {{engines | length}} search engines of which
  12. {{enabled_engine_count}} are enabled by default.
  13. Engines can be assigned to multiple :ref:`categories <engine categories>`.
  14. The UI displays the tabs that are configured in :ref:`categories_as_tabs
  15. <settings categories_as_tabs>`. In addition to these UI categories (also
  16. called *tabs*), engines can be queried by their name or the categories they
  17. belong to, by using a :ref:`\!bing syntax <search-syntax>`.
  18. .. contents::
  19. :depth: 2
  20. :local:
  21. :backlinks: entry
  22. .. jinja:: searx
  23. {% for category, engines in categories_as_tabs.items() %}
  24. tab ``!{{category.replace(' ', '_')}}``
  25. ---------------------------------------
  26. {% for group, group_bang, engines in engines | group_engines_in_tab %}
  27. {% if loop.length > 1 %}
  28. {% if group_bang %}group ``{{group_bang}}``{% else %}{{group}}{% endif %}
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. {% endif %}
  31. .. flat-table::
  32. :header-rows: 2
  33. :stub-columns: 1
  34. :widths: 10 1 10 1 1 1 1 1 1 1
  35. * - :cspan:`5` Engines configured by default (in :ref:`settings.yml <engine settings>`)
  36. - :cspan:`3` :ref:`Supported features <engine file>`
  37. * - Name
  38. - !bang
  39. - Module
  40. - Disabled
  41. - Timeout
  42. - Weight
  43. - Paging
  44. - Locale
  45. - Safe search
  46. - Time range
  47. {% for mod in engines %}
  48. * - `{{mod.name}} <{{mod.about and mod.about.website}}>`_
  49. {%- if mod.about and mod.about.language %}
  50. ({{mod.about.language | upper}})
  51. {%- endif %}
  52. - ``!{{mod.shortcut}}``
  53. - {%- if 'searx.engines.' + mod.__name__ in documented_modules %}
  54. :py:mod:`~searx.engines.{{mod.__name__}}`
  55. {%- else %}
  56. :origin:`{{mod.__name__}} <searx/engines/{{mod.__name__}}.py>`
  57. {%- endif %}
  58. - {{(mod.disabled and "y") or ""}}
  59. - {{mod.timeout}}
  60. - {{mod.weight or 1 }}
  61. {% if mod.engine_type == 'online' %}
  62. - {{(mod.paging and "y") or ""}}
  63. - {{(mod.language_support and "y") or ""}}
  64. - {{(mod.safesearch and "y") or ""}}
  65. - {{(mod.time_range_support and "y") or ""}}
  66. {% else %}
  67. - :cspan:`3` not applicable ({{mod.engine_type}})
  68. {% endif %}
  69. {% endfor %}
  70. {% endfor %}
  71. {% endfor %}