mirror of
https://github.com/searx/searx
synced 2025-02-23 07:07:42 +01:00
Deploying to gh-pages from @ 0f18e885bf1996603fd6b3021c742b1126abda90 🚀
This commit is contained in:
parent
f11758c353
commit
bd7cbb2767
@ -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
@ -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>
|
||||
|
@ -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">"de"</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>
|
||||
|
||||
|
||||
|
@ -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 '.config.sh' 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
|
||||
|
@ -197,7 +197,7 @@ install
|
||||
:base: prepare LXC; install basic packages
|
||||
:suite: install LXC searx suite into all (or <name>) containers
|
||||
|
||||
LXC suite: searx --> http://fv-az121-540/searx
|
||||
LXC suite: searx --> http://fv-az118-59/searx
|
||||
suite includes searx, morty & filtron
|
||||
suite images:
|
||||
ubu1604 ubu1804 ubu2004 ubu2010 fedora31 archlinux centos7
|
||||
|
@ -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 '.config.sh' 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>
|
||||
|
@ -116,8 +116,8 @@ apache
|
||||
searx settings: /etc/searx/settings.yml
|
||||
|
||||
If needed, set PUBLIC_URL of your WEB service in the '.config.sh' 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user