Deploying to gh-pages from @ 0f18e885bf 🚀

This commit is contained in:
dalf 2021-01-27 20:34:48 +00:00
parent f11758c353
commit bd7cbb2767
8 changed files with 59 additions and 12 deletions

View File

@ -40,3 +40,27 @@ Image search:
Custom language in wikipedia:
- :search:`:hu !wp hackerspace <?q=%3Ahu%20%21wp%20hackerspace>`
Multilingual Search
===================
Searx does not support true multilingual search.
You have to use the language prefix in your search query when searching in a different language.
But there is a workaround:
By adding a new search engine with a different language, Searx will search in your default and other language.
Example configuration in settings.yml for a German and English speaker:
.. code-block:: yaml
search:
language : "de"
...
engines:
- name : google english
engine : google
language : english
...
When searching, the default google engine will return German results and "google english" will return English results.

File diff suppressed because one or more lines are too long

View File

@ -56,6 +56,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="search_syntax.html">Search syntax</a><ul>
<li class="toctree-l2"><a class="reference internal" href="search_syntax.html#examples">Examples</a></li>
<li class="toctree-l2"><a class="reference internal" href="search_syntax.html#multilingual-search">Multilingual Search</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="own-instance.html">Why use a private instance?</a><ul>

View File

@ -83,6 +83,28 @@ categories and languages.</p>
<li><p><a class="reference external" href="/?q=%3Ahu%20%21wp%20hackerspace">:hu !wp hackerspace</a></p></li>
</ul>
</div>
<div class="section" id="multilingual-search">
<h2>Multilingual Search<a class="headerlink" href="#multilingual-search" title="Permalink to this headline"></a></h2>
<p>Searx does not support true multilingual search.
You have to use the language prefix in your search query when searching in a different language.</p>
<p>But there is a workaround:
By adding a new search engine with a different language, Searx will search in your default and other language.</p>
<dl>
<dt>Example configuration in settings.yml for a German and English speaker:</dt><dd><div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="l l-Scalar l-Scalar-Plain">search</span><span class="p p-Indicator">:</span>
<span class="l l-Scalar l-Scalar-Plain">language</span> <span class="p p-Indicator">:</span> <span class="s">&quot;de&quot;</span>
<span class="l l-Scalar l-Scalar-Plain">...</span>
<span class="l l-Scalar l-Scalar-Plain">engines</span><span class="p p-Indicator">:</span>
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">name</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">google english</span>
<span class="l l-Scalar l-Scalar-Plain">engine</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">google</span>
<span class="l l-Scalar l-Scalar-Plain">language</span> <span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">english</span>
<span class="l l-Scalar l-Scalar-Plain">...</span>
</pre></div>
</div>
</dd>
</dl>
<p>When searching, the default google engine will return German results and “google english” will return English results.</p>
</div>
</div>

View File

@ -224,18 +224,18 @@ inspect service
show service status and log
option
set one of the available options
apache (http://fv-az121-540/searx)
apache (http://fv-az118-59/searx)
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site searx.conf
nginx (http://fv-az121-540/searx)
nginx (http://fv-az118-59/searx)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site searx.conf
filtron rules: /etc/filtron/rules.json
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az121-540/searx
PUBLIC_HOST : fv-az121-540
PUBLIC_URL : http://fv-az118-59/searx
PUBLIC_HOST : fv-az118-59
SERVICE_USER : filtron
FILTRON_TARGET : 127.0.0.1:8888
FILTRON_API : 127.0.0.1:4005

View File

@ -197,7 +197,7 @@ install
:base: prepare LXC; install basic packages
:suite: install LXC searx suite into all (or &lt;name&gt;) containers
LXC suite: searx --&gt; http://fv-az121-540/searx
LXC suite: searx --&gt; http://fv-az118-59/searx
suite includes searx, morty &amp; filtron
suite images:
ubu1604 ubu1804 ubu2004 ubu2010 fedora31 archlinux centos7

View File

@ -226,22 +226,22 @@ inspect service
option
set one of the available options
:new-key: set new morty key
apache : http://fv-az121-540/morty/
apache : http://fv-az118-59/morty/
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site morty.conf
nginx (http://fv-az121-540/morty/)
nginx (http://fv-az118-59/morty/)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site morty.conf
If needed, set the environment variables in the &#39;.config.sh&#39; file::
PUBLIC_URL_MORTY: http://fv-az121-540/morty/
PUBLIC_URL_MORTY: http://fv-az118-59/morty/
MORTY_LISTEN: 127.0.0.1:3000
SERVICE_USER: morty
To activate result and image proxy in searx, edit settings.yml (read:
https://searx.github.io/searx/admin/morty.html)::
result_proxy:
url : http://fv-az121-540/morty/
url : http://fv-az118-59/morty/
server:
image_proxy : True
</pre></div>

View File

@ -116,8 +116,8 @@ apache
searx settings: /etc/searx/settings.yml
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az121-540/searx
SEARX_INSTANCE_NAME : searx@fv-az121-540
PUBLIC_URL : http://fv-az118-59/searx
SEARX_INSTANCE_NAME : searx@fv-az118-59
SERVICE_USER : searx
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
</pre></div>