.oO SearXNG Developer Documentation Oo.
|
Classes | |
class | EngineTraits |
class | EngineTraitsEncoder |
class | EngineTraitsMap |
Engine's traits are fetched from the origin engines 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. For new traits new properties can be added to the class :py:class:`EngineTraits`. To load traits from the persistence :py:obj:`EngineTraitsMap.from_data` can be used.