engines.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. =======
  2. Engines
  3. =======
  4. Special Engine Settings
  5. =======================
  6. .. sidebar:: Further reading ..
  7. - :ref:`settings engine`
  8. - :ref:`engine settings` & :ref:`engine file`
  9. .. toctree::
  10. :maxdepth: 1
  11. engines/recoll.rst
  12. .. _engines generic:
  13. General Engine Settings
  14. =======================
  15. Explanation of the :ref:`general engine configuration` shown in the table
  16. :ref:`configured engines`.
  17. ============= =========== ==================== ============
  18. :ref:`engine settings` :ref:`engine file`
  19. ------------------------- ---------------------------------
  20. Name (cfg) Categories
  21. ------------------------- ---------------------------------
  22. Engine .. Paging support **P**
  23. ------------------------- -------------------- ------------
  24. Shortcut **S** Language support **L**
  25. Timeout **TO** Time range support **TR**
  26. Disabled **D** Engine type **ET**
  27. ------------- ----------- -------------------- ------------
  28. Safe search **SS**
  29. ------------- ----------- ---------------------------------
  30. Weight **W**
  31. ------------- ----------- ---------------------------------
  32. Disabled **D**
  33. ------------- ----------- ---------------------------------
  34. Show errors **DE**
  35. ============= =========== =================================
  36. .. _configured engines:
  37. .. jinja:: searx
  38. .. flat-table:: Engines configured at built time (defaults)
  39. :header-rows: 1
  40. :stub-columns: 2
  41. * - Name (cfg)
  42. - S
  43. - Engine
  44. - TO
  45. - Categories
  46. - P
  47. - L
  48. - SS
  49. - D
  50. - TR
  51. - ET
  52. - W
  53. - D
  54. - DE
  55. {% for name, mod in engines.items() %}
  56. * - {{name}}
  57. - !{{mod.shortcut}}
  58. - {{mod.__name__}}
  59. - {{mod.timeout}}
  60. - {{", ".join(mod.categories)}}
  61. - {{(mod.paging and "y") or ""}}
  62. - {{(mod.language_support and "y") or ""}}
  63. - {{(mod.safesearch and "y") or ""}}
  64. - {{(mod.disabled and "y") or ""}}
  65. - {{(mod.time_range_support and "y") or ""}}
  66. - {{mod.engine_type or ""}}
  67. - {{mod.weight or 1 }}
  68. - {{(mod.disabled and "y") or ""}}
  69. - {{(mod.display_error_messages and "y") or ""}}
  70. {% endfor %}
  71. .. flat-table:: Additional engines (commented out in settings.yml)
  72. :header-rows: 1
  73. :stub-columns: 2
  74. * - Name
  75. - Base URL
  76. - Host
  77. - Port
  78. - Paging
  79. * - elasticsearch
  80. - localhost:9200
  81. -
  82. -
  83. - False
  84. * - meilicsearch
  85. - localhost:7700
  86. -
  87. -
  88. - True
  89. * - mongodb
  90. -
  91. - 127.0.0.1
  92. - 21017
  93. - True
  94. * - mysql_server
  95. -
  96. - 127.0.0.1
  97. - 3306
  98. - True
  99. * - postgresql
  100. -
  101. - 127.0.0.1
  102. - 5432
  103. - True
  104. * - redis_server
  105. -
  106. - 127.0.0.1
  107. - 6379
  108. - False
  109. * - solr
  110. - localhost:8983
  111. -
  112. -
  113. - True
  114. * - sqlite
  115. -
  116. -
  117. -
  118. - True