searxng/docs/src
Markus Heiser 6e5f22e558 [mod] replace engines_languages.json by engines_traits.json
Implementations of the *traits* of the engines.

Engine's traits are fetched from the origin engine and stored in a JSON file in
the *data folder*.  Most often traits are languages and region codes and their
mapping from SearXNG's representation to the representation in the origin search
engine.

To load traits from the persistence::

    searx.enginelib.traits.EngineTraitsMap.from_data()

For new traits new properties can be added to the class::

    searx.enginelib.traits.EngineTraits

.. hint::

   Implementation is downward compatible to the deprecated *supported_languages
   method* from the vintage implementation.

   The vintage code is tagged as *deprecated* an can be removed when all engines
   has been ported to the *traits method*.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24 10:37:42 +01:00
..
index.rst Correct my small mistake 2023-01-04 20:07:51 +01:00
searx.babel_extract.rst [mod] add i18n infrastructure for SearXNG message files (searxng.msg) 2022-03-16 09:55:53 +01:00
searx.enginelib.rst [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
searx.engines.demo_offline.rst [docs] add engine "Demo Offline Engine" 2021-06-04 15:04:38 +02:00
searx.engines.demo_online.rst [docs] add engine "Demo Online Engine" 2021-06-04 15:05:58 +02:00
searx.engines.google.rst [docs] add documentation from the sources of the google engines 2021-06-21 18:25:52 +02:00
searx.engines.rst [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
searx.engines.tineye.rst [mod] tineye - add some documentation 2022-01-28 09:06:44 +01:00
searx.engines.yahoo.rst [fix] engine - yahoo: rewrite and fix issues 2021-10-16 20:05:26 +00:00
searx.exceptions.rst [doc] Add doc-strings to searx.exceptions 2023-01-29 19:06:19 +01:00
searx.infopage.rst [mod] replace /help by /info pages and include pages in project docs 2022-03-12 11:36:31 +01:00
searx.locales.rst [mod] pylint & document searx.locales (settings.yml: remove locales) 2021-08-04 07:54:53 +02:00
searx.plugins.limiter.rst [doc] add some documentation about the limiter plugin (and redis) 2022-03-25 11:26:10 +01:00
searx.plugins.tor_check.rst [mod] add tor_check plugin - convenient tor checking trough searxng 2022-07-19 07:34:54 +02:00
searx.redisdb.rst move searx.shared.redisdb to searx.redisdb 2022-12-10 09:26:38 +01:00
searx.redislib.rst [mod] collection of redis functions and lua scripts (initial) 2022-05-30 11:10:30 +02:00
searx.search.processors.rst [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
searx.search.rst [doc] update docs/dev/plugins.rst 2021-09-10 10:58:22 +02:00
searx.utils.rst [mod] add documentation about searx.utils 2022-01-29 22:49:42 +01:00