Ponysearch/docs/admin
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
..
engines [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
api.rst [theme] peel out oscar from SearXNG development 2022-04-30 13:20:27 +02:00
arch_public.dot [doc] update documentation of the installation procedures 2022-07-30 13:39:35 +02:00
architecture.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
buildhosts.rst [doc] update documentation of the installation procedures 2022-07-30 13:39:35 +02:00
index.rst [docs] add section "Migrate and stay tuned!" 2022-07-30 13:39:35 +02:00
installation-apache.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-docker.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-nginx.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-scripts.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-searxng.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-uwsgi.rst move searx.shared.redisdb to searx.redisdb 2022-12-10 09:26:38 +01:00
installation.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
plugins.rst [mod] documentation: change the jinja context doesn't depend on searx.webapp 2020-12-27 10:00:35 +01:00
update-searxng.rst [doc] slight improvements to the doc of the settings (base_url) 2023-02-17 12:08:58 +01:00