
Many WEB-search engines (e.g. startpage) response best results if a **region** is selected, most often a language filter is also in the properties of the WEB-search engine. hint:: The **search language** should not be mixed: sometimes the language argument is just the language of the UI with none effect on the result list. To summarize: Some WEB-search engines have language codes (e.g. `ca`) in their properties, other have a region codes (e.g. `ca-ES`), some have regions and languages in their properties (e.g. startpage) and other engine do not have any language or region support. In the past we generalized *language* over all kind of engines without taking into mind that several WEB-search engines have best results when there is a region selected. This *language-centric* view in SearXNG is misleading when we need region-codes to parameterize a engine request! This patch replaces the *language-centric* view by a "language / region" view. Conclusions: With regions we can't say any longer that a engine supports *this or that* language. By example: when the user selects 'zh' and a engine supports only region codes like 'zh-TW' or 'zh-CN' we do not what results the user expects / similar with 'en' or 'fr when the engine needs a region tag. - Since it is unclear what the user expects by his language selection, we can't assert a property that says: "supports_selected_language" The feature is replaced in the UI by the wider sense of "language_support", what stands for: The engine has some kind of language support, either by a region tag or by a language tag. - A list of "supported_languages" does not make sense when there are regions responsible for the result of an engine. The "supported_languages" has been removed from the /config URL. - The `has_language` test in the `searx/search/checker/impl.py` has been removed since it does not cover engines with region support. If there is a need for such a test we can implement new tests after all engines with language (region) support has been moved to the *supported properites* scheme (`'type': 'engine_properties'`) / see commit previous commit: [mod] engines_languages.json: add new type EngineProperties Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
.. SPDX-License-Identifier: AGPL-3.0-or-later ---- .. figure:: https://raw.githubusercontent.com/searxng/searxng/master/src/brand/searxng.svg :target: https://docs.searxng.org/ :alt: SearXNG :width: 100% :align: center ---- Privacy-respecting, hackable `metasearch engine`_ If you are looking for running instances, ready to use, then visit searx.space_. Otherwise jump to the user_, admin_ and developer_ handbooks you will find on our homepage_. |SearXNG install| |SearXNG homepage| |SearXNG wiki| |AGPL License| |Issues| |commits| |weblate| |SearXNG logo| ---- .. _searx.space: https://searx.space .. _user: https://docs.searxng.org/user .. _admin: https://docs.searxng.org/admin .. _developer: https://docs.searxng.org/dev .. _homepage: https://docs.searxng.org/ .. _metasearch engine: https://en.wikipedia.org/wiki/Metasearch_engine .. |SearXNG logo| image:: https://raw.githubusercontent.com/searxng/searxng/master/src/brand/searxng-wordmark.svg :target: https://docs.searxng.org/ :width: 5% .. |SearXNG install| image:: https://img.shields.io/badge/-install-blue :target: https://docs.searxng.org/admin/installation.html .. |SearXNG homepage| image:: https://img.shields.io/badge/-homepage-blue :target: https://docs.searxng.org/ .. |SearXNG wiki| image:: https://img.shields.io/badge/-wiki-blue :target: https://github.com/searxng/searxng/wiki .. |AGPL License| image:: https://img.shields.io/badge/license-AGPL-blue.svg :target: https://github.com/searxng/searxng/blob/master/LICENSE .. |Issues| image:: https://img.shields.io/github/issues/searxng/searxng?color=yellow&label=issues :target: https://github.com/searxng/searxng/issues .. |PR| image:: https://img.shields.io/github/issues-pr-raw/searxng/searxng?color=yellow&label=PR :target: https://github.com/searxng/searxng/pulls .. |commits| image:: https://img.shields.io/github/commit-activity/y/searxng/searxng?color=yellow&label=commits :target: https://github.com/searxng/searxng/commits/master .. |weblate| image:: https://weblate.bubu1.eu/widgets/searxng/-/searxng/svg-badge.svg :target: https://weblate.bubu1.eu/projects/searxng/ Contact ======= Come join us if you have questions or just want to chat about SearXNG. Matrix `#searxng:matrix.org <https://matrix.to/#/#searxng:matrix.org>`_ IRC `#searxng on libera.chat <https://web.libera.chat/?channel=#searxng>`_ which is bridged to Matrix. Differences to searx ==================== SearXNG is a fork of `searx`_. Here are some of the changes: .. _searx: https://github.com/searx/searx User experience --------------- - Huge update of the simple theme: * usable on desktop, tablet and mobile * light and dark versions (you can choose in the preferences) * support right-to-left languages * `see the screenshots <https://dev.searxng.org/screenshots.html>`_ - the translations are up to date, you can contribute on `Weblate`_ - the preferences page has been updated: * you can see which engines are reliable or not * engines are grouped inside each tab * each engine has a description - thanks to the anonymous metrics, it is easier to report a bug of an engine and thus engines get fixed more quickly - if you don't want any metrics to be recorded, you can `disable them on the server <https://docs.searxng.org/admin/engines/settings.html#general>`_ - administrator can `block and/or replace the URLs in the search results <https://github.com/searxng/searxng/blob/5c1c0817c3996c5670a545d05831d234d21e6217/searx/settings.yml#L191-L199>`_ Setup ----- - you don't need `Morty`_ to proxy the images even on a public instance - you don't need `Filtron`_ to block bots, we implemented the builtin `limiter`_ - you get a well maintained `Docker image`_, now also built for ARM64 and ARM/v7 architectures - alternatively we have up to date installation scripts .. _Docker image: https://github.com/searxng/searxng-docker Contributing is easier ---------------------- - readable debug log - contributions to the themes are made easier, check out our `Development Quickstart`_ guide - a lot of code cleanup and bug fixes - the dependencies are up to date .. _Morty: https://github.com/asciimoo/morty .. _Filtron: https://github.com/searxng/filtron .. _limiter: https://docs.searxng.org/src/searx.plugins.limiter.html .. _Weblate: https://weblate.bubu1.eu/projects/searxng/searxng/ .. _Development Quickstart: https://docs.searxng.org/dev/quickstart.html Translations ============ We need translators, suggestions are welcome at https://weblate.bubu1.eu/projects/searxng/searxng/ .. figure:: https://weblate.bubu1.eu/widgets/searxng/-/multi-auto.svg :target: https://weblate.bubu1.eu/projects/searxng/ Make a donation =============== You can support the SearXNG project by clicking on the donation page: https://docs.searxng.org/donate.html
Languages
Python
77.5%
Shell
8.3%
HTML
5.8%
Less
4.3%
JavaScript
2.7%
Other
1.2%