diff --git a/_static/basic.css b/_static/basic.css index 2b513f0c..0b79414a 100644 --- a/_static/basic.css +++ b/_static/basic.css @@ -494,6 +494,13 @@ pre { overflow-y: hidden; /* fixes display issues on Chrome browsers */ } +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; +} + td.linenos pre { padding: 5px 0px; border: 0; diff --git a/_static/pygments.css b/_static/pygments.css index 57eadc03..8213e90b 100644 --- a/_static/pygments.css +++ b/_static/pygments.css @@ -4,8 +4,10 @@ .highlight .err { border: 1px solid #FF0000 } /* Error */ .highlight .k { color: #007020; font-weight: bold } /* Keyword */ .highlight .o { color: #666666 } /* Operator */ +.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ diff --git a/_static/searchtools.js b/_static/searchtools.js index 066857ce..a51e0dc5 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -324,7 +324,7 @@ var Search = { var searchterms = []; var excluded = []; var hlterms = []; - var tmp = query.split(/\s+/); + var tmp = query.split(/\W+/); var objectterms = []; for (i = 0; i < tmp.length; i++) { if (tmp[i] !== "") { diff --git a/admin/api.html b/admin/api.html index df29b7f6..7ba6fcc0 100644 --- a/admin/api.html +++ b/admin/api.html @@ -6,7 +6,7 @@ - Administration API — searx 0.9.0 documentation + Administration API — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - - + + + + @@ -43,71 +45,71 @@

Administration API

Get configuration data

-
GET /config
+
GET /config
 

Sample response

-
{
-  "autocomplete": "",
-  "categories": [
-    "map",
-    "it",
-    "images",
+
{
+  "autocomplete": "",
+  "categories": [
+    "map",
+    "it",
+    "images",
   ],
-  "default_locale": "",
-  "default_theme": "oscar",
-  "engines": [
+  "default_locale": "",
+  "default_theme": "oscar",
+  "engines": [
     {
-      "categories": [
-        "map"
+      "categories": [
+        "map"
       ],
-      "enabled": true,
-      "name": "openstreetmap",
-      "shortcut": "osm"
+      "enabled": true,
+      "name": "openstreetmap",
+      "shortcut": "osm"
     },
     {
-      "categories": [
-        "it"
+      "categories": [
+        "it"
       ],
-      "enabled": true,
-      "name": "arch linux wiki",
-      "shortcut": "al"
+      "enabled": true,
+      "name": "arch linux wiki",
+      "shortcut": "al"
     },
     {
-      "categories": [
-        "images"
+      "categories": [
+        "images"
       ],
-      "enabled": true,
-      "name": "google images",
-      "shortcut": "goi"
+      "enabled": true,
+      "name": "google images",
+      "shortcut": "goi"
     },
     {
-      "categories": [
-        "it"
+      "categories": [
+        "it"
       ],
-      "enabled": false,
-      "name": "bitbucket",
-      "shortcut": "bb"
+      "enabled": false,
+      "name": "bitbucket",
+      "shortcut": "bb"
     },
   ],
-  "instance_name": "searx",
-  "locales": {
-    "de": "Deutsch (German)",
-    "en": "English",
-    "eo": "Esperanto (Esperanto)",
+  "instance_name": "searx",
+  "locales": {
+    "de": "Deutsch (German)",
+    "en": "English",
+    "eo": "Esperanto (Esperanto)",
   },
-  "plugins": [
+  "plugins": [
     {
-      "enabled": true,
-      "name": "HTTPS rewrite"
+      "enabled": true,
+      "name": "HTTPS rewrite"
     },
     {
-      "enabled": false,
-      "name": "Vim-like hotkeys"
+      "enabled": false,
+      "name": "Vim-like hotkeys"
     }
   ],
-  "safe_search": 0
+  "safe_search": 0
 }
 
diff --git a/admin/filtron.html b/admin/filtron.html index de4b1ce9..60e537f2 100644 --- a/admin/filtron.html +++ b/admin/filtron.html @@ -6,7 +6,7 @@ - How to protect an instance — searx 0.9.0 documentation + How to protect an instance — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + diff --git a/dev/contribution_guide.html b/dev/contribution_guide.html index 88860f9c..c1b72cfc 100644 --- a/dev/contribution_guide.html +++ b/dev/contribution_guide.html @@ -6,7 +6,7 @@ - How to contribute — searx 0.9.0 documentation + How to contribute — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + diff --git a/dev/engine_overview.html b/dev/engine_overview.html index a2801220..9a5b758a 100644 --- a/dev/engine_overview.html +++ b/dev/engine_overview.html @@ -6,7 +6,7 @@ - Engine overview — searx 0.9.0 documentation + Engine overview — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + @@ -194,10 +196,10 @@ overrides are the following:

example code

-
# engine dependent config
-categories = ['general']
-paging = True
-language_support = True
+
# engine dependent config
+categories = ['general']
+paging = True
+language_support = True
 
@@ -317,17 +319,17 @@ used to specify a search request:

example code

-
# search-url
-base_url = 'https://example.com/'
-search_string = 'search?{query}&page={page}'
+
# search-url
+base_url = 'https://example.com/'
+search_string = 'search?{query}&page={page}'
 
-# do search-request
+# do search-request
 def request(query, params):
     search_path = search_string.format(
-        query=urlencode({'q': query}),
-        page=params['pageno'])
+        query=urlencode({'q': query}),
+        page=params['pageno'])
 
-    params['url'] = base_url + search_path
+    params['url'] = base_url + search_path
 
     return params
 
diff --git a/dev/install/installation.html b/dev/install/installation.html index 877d52b4..2c6ee81a 100644 --- a/dev/install/installation.html +++ b/dev/install/installation.html @@ -6,7 +6,7 @@ - Installation — searx 0.9.0 documentation + Installation — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + @@ -68,18 +70,18 @@ certificate

Basic installation

For Ubuntu, be sure to have enable universe repository.

Install packages:

-
sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev
+
sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev
 

Install searx:

-
cd /usr/local
+
cd /usr/local
 sudo git clone https://github.com/asciimoo/searx.git
 sudo useradd searx -d /usr/local/searx
 sudo chown searx:searx -R /usr/local/searx
 

Install dependencies in a virtualenv:

-
sudo -u searx -i
+
sudo -u searx -i
 cd /usr/local/searx
 virtualenv searx-ve
 . ./searx-ve/bin/activate
@@ -89,7 +91,7 @@ certificate

Configuration

-
sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml
+
sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml
 

Edit searx/settings.yml if necessary.

@@ -97,12 +99,12 @@ certificate

Check

Start searx:

-
python searx/webapp.py
+
python searx/webapp.py
 

Go to http://localhost:8888

If everything works fine, disable the debug option in settings.yml:

-
sed -i -e "s/debug : True/debug : False/g" searx/settings.yml
+
sed -i -e "s/debug : True/debug : False/g" searx/settings.yml
 

At this point searx is not demonized ; uwsgi allows this.

@@ -112,41 +114,41 @@ twice).

uwsgi

Install packages:

-
sudo apt-get install uwsgi uwsgi-plugin-python
+
sudo apt-get install uwsgi uwsgi-plugin-python
 

Create the configuration file /etc/uwsgi/apps-available/searx.ini with this content:

-
[uwsgi]
-# Who will run the code
+
[uwsgi]
+# Who will run the code
 uid = searx
 gid = searx
 
-# disable logging for privacy
+# disable logging for privacy
 disable-logging = true
 
-# Number of workers (usually CPU count)
+# Number of workers (usually CPU count)
 workers = 4
 
-# The right granted on the created socket
+# The right granted on the created socket
 chmod-socket = 666
 
-# Plugin to use and interpretor config
+# Plugin to use and interpretor config
 single-interpreter = true
 master = true
 plugin = python
 
-# Module to import
+# Module to import
 module = searx.webapp
 
-# Virtualenv and python path
+# Virtualenv and python path
 virtualenv = /usr/local/searx/searx-ve/
 pythonpath = /usr/local/searx/
 chdir = /usr/local/searx/searx/
 

Activate the uwsgi application and restart:

-
cd /etc/uwsgi/apps-enabled
+
cd /etc/uwsgi/apps-enabled
 ln -s ../apps-available/searx.ini
 /etc/init.d/uwsgi restart
 
@@ -158,14 +160,14 @@ this content:

with nginx

If nginx is not installed (uwsgi will not work with the package nginx-light):

-
sudo apt-get install nginx
+
sudo apt-get install nginx
 

Hosted at /

Create the configuration file /etc/nginx/sites-available/searx with this content:

-
server {
+
server {
     listen 80;
     server_name searx.example.com;
     root /usr/local/searx;
@@ -178,7 +180,7 @@ content:

Restart service:

-
sudo service nginx restart
+
sudo service nginx restart
 sudo service uwsgi restart
 
@@ -187,7 +189,7 @@ content:

from subdirectory URL (/searx)

Add this configuration in the server config file /etc/nginx/sites-available/default:

-
location = /searx { rewrite ^ /searx/; }
+
location = /searx { rewrite ^ /searx/; }
 location /searx {
         try_files $uri @searx;
 }
@@ -202,7 +204,7 @@ location @searx {
 

OR

using reverse proxy (Please, note that reverse proxy advised to be used in case of single-user or low-traffic instances.)

-
location /searx {
+
location /searx {
     proxy_pass http://127.0.0.1:8888;
     proxy_set_header Host $host;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -213,11 +215,11 @@ location @searx {
 

Enable base_url in searx/settings.yml

-
base_url : http://your.domain.tld/searx/
+
base_url : http://your.domain.tld/searx/
 

Restart service:

-
sudo service nginx restart
+
sudo service nginx restart
 sudo service uwsgi restart
 
@@ -226,12 +228,12 @@ location @searx {

for better privacy you can disable nginx logs about searx.

how to proceed: below uwsgi_pass in /etc/nginx/sites-available/default add

-
access_log /dev/null;
+
access_log /dev/null;
 error_log /dev/null;
 

Restart service:

-
sudo service nginx restart
+
sudo service nginx restart
 
@@ -240,12 +242,12 @@ location @searx {

with apache

Add wsgi mod:

-
sudo apt-get install libapache2-mod-uwsgi
+
sudo apt-get install libapache2-mod-uwsgi
 sudo a2enmod uwsgi
 

Add this configuration in the file /etc/apache2/apache2.conf:

-
<Location />
+
<Location />
     Options FollowSymLinks Indexes
     SetHandler uwsgi-handler
     uWSGISocket /run/uwsgi/app/searx/socket
@@ -256,7 +258,7 @@ location @searx {
 change <Location /> by the location of your instance, like
 <Location /searx>.

Restart Apache:

-
sudo /etc/init.d/apache2 restart
+
sudo /etc/init.d/apache2 restart
 
@@ -266,11 +268,11 @@ change <Location WARNING: you can only disable logs for the whole (virtual) server not for a specific path.

Go back to /etc/apache2/apache2.conf and above <Location /> add:

-
CustomLog /dev/null combined
+
CustomLog /dev/null combined
 

Restart Apache:

-
sudo /etc/init.d/apache2 restart
+
sudo /etc/init.d/apache2 restart
 
@@ -278,7 +280,7 @@ for a specific path.

How to update

-
cd /usr/local/searx
+
cd /usr/local/searx
 sudo -u searx -i
 . ./searx-ve/bin/activate
 git stash
@@ -292,14 +294,14 @@ for a specific path.

Docker

Make sure you have installed Docker. For instance, you can deploy searx like this:

-
docker pull wonderfall/searx
+
docker pull wonderfall/searx
 docker run -d --name searx -p $PORT:8888 wonderfall/searx
 

Go to http://localhost:$PORT.

See https://hub.docker.com/r/wonderfall/searx/ for more informations.

It’s also possible to build searx from the embedded Dockerfile.

-
git clone https://github.com/asciimoo/searx.git
+
git clone https://github.com/asciimoo/searx.git
 cd searx
 docker build -t whatever/searx .
 
diff --git a/dev/plugins.html b/dev/plugins.html index 8fe6468d..c342b0ab 100644 --- a/dev/plugins.html +++ b/dev/plugins.html @@ -6,7 +6,7 @@ - Plugins — searx 0.9.0 documentation + Plugins — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + @@ -45,20 +47,20 @@ searx.

Example plugin

-
name = 'Example plugin'
-description = 'This plugin extends the suggestions with the word "example"'
-default_on = False  # disable by default
+
name = 'Example plugin'
+description = 'This plugin extends the suggestions with the word "example"'
+default_on = False  # disabled by default
 
-js_dependencies = tuple()  # optional, list of static js files
-css_dependencies = tuple()  # optional, list of static css files
+js_dependencies = tuple()  # optional, list of static js files
+css_dependencies = tuple()  # optional, list of static css files
 
 
-# attach callback to the post search hook
-#  request: flask request object
-#  ctx: the whole local context of the post search hook
+# attach callback to the post search hook
+#  request: flask request object
+#  ctx: the whole local context of the post search hook
 def post_search(request, ctx):
-    ctx['search'].suggestions.add('example')
-    return True
+    ctx['search'].suggestions.add('example')
+    return True
 
diff --git a/dev/quickstart.html b/dev/quickstart.html index 7074f1d2..8573ef73 100644 --- a/dev/quickstart.html +++ b/dev/quickstart.html @@ -6,7 +6,7 @@ - Development Quickstart — searx 0.9.0 documentation + Development Quickstart — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + - + @@ -48,7 +50,7 @@ short introduction to the new manage.sh script.

First, clone the source code of searx to the desired folder. In this case the source is cloned to ~/myprojects/searx. Then create and activate the searx-ve virtualenv and install the required packages using manage.sh.

-
cd ~/myprojects
+
cd ~/myprojects
 git clone https://github.com/asciimoo/searx.git
 cd searx
 virtualenv searx-ve
@@ -68,7 +70,7 @@ virtualenv and install the required packages using manage.sh.

  • Unit test coverage check
  • For example unit tests are run with the command below:

    -
    ./manage.sh unit_tests
    +
    ./manage.sh unit_tests
     

    For further test options, please consult the help of the manage.sh script.

    @@ -78,16 +80,16 @@ virtualenv and install the required packages using manage.sh.

    How to build styles

    Less is required to build the styles of searx. Less can be installed using either NodeJS or Apt.

    -
    sudo apt-get install nodejs
    +
    sudo apt-get install nodejs
     sudo npm install -g less
     

    OR

    -
    sudo apt-get install node-less
    +
    sudo apt-get install node-less
     

    After satisfying the requirements styles can be build using manage.sh

    -
    ./manage.sh styles
    +
    ./manage.sh styles
     
    @@ -95,12 +97,12 @@ virtualenv and install the required packages using manage.sh.

    How to build the source of the oscar theme

    Grunt must be installed in order to build the javascript sources. It depends on NodeJS, so first Node has to be installed.

    -
    sudo apt-get install nodejs
    +
    sudo apt-get install nodejs
     sudo npm install -g grunt-cli
     

    After installing grunt, the files can be built using the following command:

    -
    ./manage.sh build_grunt
    +
    ./manage.sh build_grunt
     
    diff --git a/dev/search_api.html b/dev/search_api.html index f81d332f..5c666ddf 100644 --- a/dev/search_api.html +++ b/dev/search_api.html @@ -6,7 +6,7 @@ - Search API — searx 0.9.0 documentation + Search API — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + diff --git a/dev/translation.html b/dev/translation.html index c30f854c..90e3381c 100644 --- a/dev/translation.html +++ b/dev/translation.html @@ -6,7 +6,7 @@ - Translation — searx 0.9.0 documentation + Translation — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + @@ -43,13 +45,13 @@

    run these commands in the root directory of searx

    Add new language

    -
    pybabel init -i messages.pot -d searx/translations -l it
    +
    pybabel init -i messages.pot -d searx/translations -l it
     

    Update .po files

    -
    ./utils/update-translations.sh
    +
    ./utils/update-translations.sh
     

    You may have errors here. In that case, edit the @@ -59,7 +61,7 @@

    Compile translations

    -
    pybabel compile -d searx/translations
    +
    pybabel compile -d searx/translations
     
    @@ -67,9 +69,9 @@

    Transifex stuff

    Init Project

    -
    tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
    +
    tx init # Transifex instance: https://www.transifex.com/asciimoo/searx/
     
    -tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
    +tx set --auto-local -r searx.messagespo 'searx/translations/<lang>/LC_MESSAGES/messages.po' \
     --source-lang en --type PO --source-file messages.pot --execute
     
    @@ -78,27 +80,27 @@

    Get translations

    -

    Upload source File

    -
    tx push -s
    +
    tx push -s
     

    Upload all Translation

    -
    tx push -s -t
    +
    tx push -s -t
     

    upload specifc Translation

    -
    tx push -t -l tr
    +
    tx push -t -l tr
     

    http://docs.transifex.com/client/push

    diff --git a/genindex.html b/genindex.html index 7103651a..7d232e0c 100644 --- a/genindex.html +++ b/genindex.html @@ -7,7 +7,7 @@ - Index — searx 0.9.0 documentation + Index — searx 0.10.0 documentation @@ -15,7 +15,7 @@ - + + + diff --git a/index.html b/index.html index 3fc9f940..02d8cb16 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - Welcome to searx — searx 0.9.0 documentation + Welcome to searx — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + @@ -72,6 +74,7 @@
    diff --git a/objects.inv b/objects.inv index 41e76b18..78887e47 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/search.html b/search.html index 0d944add..77a0e7b7 100644 --- a/search.html +++ b/search.html @@ -6,7 +6,7 @@ - Search — searx 0.9.0 documentation + Search — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + + diff --git a/searchindex.js b/searchindex.js index 986b895e..7eb4cd8a 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:49,filenames:["admin/api","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"boolean":2,"break":1,"byte":2,"case":[3,5,7],"default":1,"function":[2,4],"import":3,"int":2,"new":[1,4,5],"null":3,"public":8,"return":[],"short":5,"static":4,"switch":1,"true":[0,2,3,4,5],"try":5,"while":[],a2enmod:3,abbrevat:9,abl:[1,2],about:[1,3,8],abov:[1,3],accept:9,access_log:3,activ:[3,5,6],activat:3,adapt:2,adapter:2,add:[1,4],addit:[2,3],addition:8,address:2,adopt:1,adress:2,advis:[3,6],after:[4,5,7],agent:2,aggreg:8,all:[1,2,6],allow:[3,9],alreadi:1,also:[1,3,9],alter:1,alwai:[2,5],among:1,ani:8,anonym:8,anoth:2,anyon:8,apache2:3,api_kei:2,app:3,appear:5,appli:[1,3],applic:3,appropri:1,apt:[3,5],arbitrari:2,arch:0,arrai:2,asciimoo:[3,5,7],aspect:1,assign:2,attach:4,authors:1,auto:7,autocomplet:0,avail:[3,5,6],back:3,base:2,base_url:[2,3],bash:3,becaus:[1,2,5],befor:5,before:4,behaviour:[1,4],below:[1,3,5],better:[2,3],between:2,bin:[3,5],bitbucket:0,born:1,both:[1,6],boundingbox:2,branch:1,browser:1,bug:5,bugreport:1,build:1,build_grunt:5,built:[1,2,5],callback:4,can:[1,2,3,4,5,7,8],capabl:1,categori:[0,2,6,9],certif:3,chainabl:9,chang:[3,7],chapter:1,charact:1,chdir:3,check:[1,2],checkout:1,chmod:3,choos:[1,2],chown:3,citi:2,cli:5,client:7,clone:[3,5],code:[],collect:[],com:[2,3,5,7],combin:3,come:1,comma:6,command:[3,5,7],commit:5,common:5,compon:4,concern:1,conf:3,config:[0,2,3],connect:8,consequ:1,construct:2,consult:5,contain:5,context:4,contribut:[],convent:1,cooki:[2,8],corner:1,could:2,count:3,countri:2,coupl:3,coverag:5,cpu:3,creat:[1,3,5],cryptic:5,css:4,css_depend:4,cthulhu:9,ctx:4,current:[1,2,9],custom:[1,9],customlog:3,data:[],date:2,datetim:2,ddg:9,debian:3,debug:[],decim:2,def:[2,4],default_local:0,default_on:4,default_them:0,defin:4,demon:3,depend:[2,3,5],deploi:3,descript:[4,6],deserv:1,desir:[2,5],deutsch:0,dev:3,differ:[1,2],digit:8,directori:7,disabl:[],disrespect:1,dockerfil:3,doe:2,domain:3,domin:1,don:8,duckduckgo:9,easi:8,easili:1,edit:[1,3,7],effect:1,either:5,elimin:5,embed:3,en_us:2,enabl:[0,1,3,5],encrypt:8,engin:[],engine:[],english:0,enpoint:6,enter:3,entry:4,error:[5,7],error_log:3,esperanto:0,essenti:3,etc:[1,3],everi:2,everyth:3,except:1,execut:7,exist:1,exit:3,expect:1,explain:1,extend:[1,4],extens:1,extern:2,fail:5,fals:[0,3,4,5],fanci:1,feedback:1,feel:4,few:[1,2],file:1,filenam:2,files:2,fine:3,first:5,fit:4,fix:[1,5],flask:4,folder:[1,2,5],follow:[1,2,5],followsymlink:3,fork:1,format:[2,5],forward:3,free:[],from:1,further:5,furthermor:[2,5,6],gener:1,geojson:2,german:0,get:[],gid:3,git:[3,5],github:[3,5],give:[2,5],goi:0,good:[1,5],googl:0,grant:3,grunt:5,guid:5,hack:1,hackerspac:9,handler:3,happi:1,have:[1,2,3,7],header:2,help:[1,5],here:7,hex:3,hidden:6,host:[],hotkei:0,hour:3,hous:2,house_numb:2,how:[],howev:[2,6],html:[1,2],http:[2,3,5,7],https:[0,8],hub:3,idea:5,imag:0,image:9,img_src:2,implement:[1,2,4],includ:3,inclus:9,index:3,inform:[1,2,3],ini:3,init:[],inside:2,instal:1,install:3,installat:[],instanc:[3,7,8],instance_nam:0,instead:5,intent:1,interfer:1,intergr:8,internal:5,internet:8,interpret:3,interpretor:3,introduct:5,iso:2,itself:1,js_depend:4,kei:2,lack:1,lang:[6,7],languag:[2,6],language_support:2,lat:2,latitud:2,lc_messages:7,leech:2,leecher:2,length:1,less:5,level:1,libapache2:3,libffi:3,libssl:3,libxslt:3,light:3,like:[0,2,3],line:1,linux:0,list:[2,4,6,9],listen:3,local:[0,2,3,4,5,7],localhost:3,locat:3,lon:2,longitud:2,low:3,magnetlink:2,mai:7,manag:[3,5],map:0,mass:1,master:3,matter:2,max:2,maxim:1,maximum:[1,2],media:2,messag:[5,7],messagespo:7,method:2,might:1,min:2,misbehav:1,mod:3,modifi:[7,9],modul:3,more:[1,3,8],multibl:2,must:[1,2,5],myproject:5,name:[0,2,3,4,6],necessari:3,need:1,neither:8,net:8,node:5,nodej:5,nodejs:5,none:2,nor:8,normal:2,note:[1,3],now:4,npm:5,number:[2,3,6],number_of_result:2,object:[2,4],off:[1,3],offer:[],often:2,okhin:3,on_result:4,onli:[3,4],onlin:8,openssl:3,openstreetmap:0,option:[2,3,4,5,6],order:[1,5],org:2,organis:8,origin:3,oscar:0,osm:[0,2],other:[1,2],otherwis:2,out:1,over:8,overview:[],overwritten:2,own:8,packag:[3,5],page:[1,2,6,9],pageno:[2,6],pagenumb:2,param:2,paramt:2,parti:[],partli:2,patch:1,path:3,pep8:[1,5],per:2,perform:2,phase:5,pip:1,place:[1,2],pleas:[1,3,5],plenti:1,port:3,possibl:3,post_search:4,postcod:2,pot:7,pre_search:4,prefer:9,prefix:9,preserv:1,preview:2,proce:3,profil:8,promot:8,protect:1,provid:[1,2],proxi:3,proxy_add_x_forwarded_for:3,proxy_buff:3,proxy_pass:3,proxy_set_head:3,publish:2,publishedd:2,pull:[1,3,7],purpos:2,push:7,pybabel2:7,pybabel:[3,7],python2:7,python:3,pythonpath:3,quadratur:8,queri:[2,6,9],quickstart:1,quit:1,qwer:9,rand:3,random:2,recommend:2,reconsid:1,redefin:2,reduc:1,remain:6,rememb:1,replac:4,repo:1,repositori:3,repres:2,request:1,requir:[1,2,5,6],restart:3,revers:3,rewrit:[0,3],right:[3,4,8],road:2,root:[3,7],round:1,rst:1,run:4,safe_search:0,same:2,satisfi:5,scheme:3,script:[3,5,7],script_name:3,search_path:2,search_str:2,searx:[],secur:8,sed:3,see:[1,3,6,8,9],seed:2,seeder:2,select:9,selenium:5,self:8,separ:[1,6],server_nam:3,servic:[3,8],sethandl:3,setup:[],share:[],shortcut:[0,2],should:[1,3],simpli:1,singl:3,site:[2,3],size:2,skip:5,small:2,socket:3,softwar:[],some:3,someth:1,sourc:[],special:2,specif:[2,3],specifi:[2,6],sphinx:1,ssl:[2,3,8],stack:5,standard:[1,2],start:[1,2,3,8],stash:3,step:[1,3,7],store:2,street:2,string:2,submit:1,sudo:[3,5],suggest:4,support:[1,2,6,8],sure:3,syntax:6,system:1,take:1,tell:2,templat:2,test:1,text:2,than:8,thi:[2,3,4,5,7],think:1,third:[],three:[1,4],thumbnail:2,thumbnail_src:2,time:2,timeout:2,titl:2,tld:3,tool:1,tor:8,torrentfil:2,trace:5,tracek:[],track:8,traffic:3,transifex:1,translat:[],travi:5,trust:8,try_fil:3,tupl:4,turn:[1,5],twice:3,two:[1,6],txt:1,type:[2,7],ubuntu:3,uid:3,ultrasecretkei:3,uncommon:1,under:[1,2],unfortun:1,unit:[1,5],unit_test:5,univers:3,unix:3,unspecifi:2,updat:1,update_dev_packag:5,update_packag:3,uri:3,url:2,urlencod:2,useradd:3,usr:3,usual:3,util:7,uwsgi_modifier1:3,uwsgi_param:3,uwsgi_pass:3,uwsgisocket:3,valid:[2,5],valu:2,variabl:2,variou:[1,4],vendor:1,verifi:2,via:9,vim:0,virtual:3,virtualenv:[3,5],wai:[1,2],warning:3,webapp:3,weird:1,whatev:3,when:[2,4,5],whether:5,which:[1,2,8],who:3,whole:[3,4],wide:1,wiki:0,wikipedia:9,wish:1,without:[2,8],wonderfal:3,word:4,work:[1,2,3,5],worker:3,world:1,wsgi:3,www:7,yet:2,you:[1,3,5,7,8,9],your:[1,4],yourself:1,zlib1g:3},titles:["Administration API","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Search syntax"],titleterms:{"default":2,"new":7,"return":2,add:7,administr:[0,8],all:7,apach:3,api:[0,6],argument:2,basic:3,build:5,check:3,code:[1,2],compil:[5,7],configur:[0,2,3],content:[2,3],contribut:1,data:0,debug:5,design:1,develop:[5,8],direct:1,disabl:3,doc:[],docker:3,document:[1,8],engin:2,engine:2,entri:4,environ:5,exampl:[2,4,9],featur:8,file:[2,7],free:[],from:3,gener:2,get:[0,7],hackabl:1,hook:4,host:3,how:[1,3,5],imag:2,init:7,instal:3,installat:3,javascript:5,languag:7,log:3,make:2,map:2,metasearch:[],nginx:3,oscar:5,overrid:2,overview:2,paramet:6,pars:2,pass:2,plugin:4,point:4,post:4,pre:4,prime:1,privaci:1,project:7,quickstart:5,request:2,respect:[],respons:0,result:[2,4],run:5,sampl:0,search:[4,6,9],searx:[3,8],server:3,set:2,setup:5,sourc:[5,7],specifc:7,stuff:7,style:5,subdirectori:3,syntax:9,test:5,theme:5,tip:5,torrent:2,transifex:7,translat:[1,7],updat:3,update:7,upload:7,url:3,user:8,uwsgi:3,video:2,web:3,welcom:8,yml:2,your:5}}) \ No newline at end of file +Search.setIndex({envversion:49,filenames:["admin/api","admin/filtron","admin/own-instance","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"boolean":4,"break":3,"byte":4,"case":[2,5,7,9],"default":[],"function":[4,6],"import":5,"int":4,"new":[],"null":5,"public":[],"return":[],"short":7,"static":6,"switch":3,"true":[0,1,4,5,6,7],"try":7,"while":[],a2enmod:5,abbrevat:11,abl:[3,4],about:[3,5,10],abov:[3,5],abus:[1,2],accept:11,access:[1,2],access_log:5,action:[0,1],activ:[5,7,8],activat:5,adapt:4,adapter:4,add:[],addit:[4,5],addition:10,address:4,adminstr:2,adopt:3,adress:[],advis:[1,5],after:[6,7,9],agent:[1,4],aggrag:[],aggragatedand:[],aggreg:[1,2,10],ahrefsbot:1,all:[],allow:[5,11],along:1,alreadi:3,also:[2,3,5,11],alter:3,alwai:[4,7],among:3,ani:10,anonym:10,anoth:4,anti:2,anyon:10,apache2:5,api_kei:4,app:5,appear:7,appli:[3,5],applic:[1,5],applitaion:[],appropri:3,apt:[5,7],arbitrari:4,arch:0,archiv:1,arrai:4,asciimoo:[5,7,9],aspect:3,assign:4,attach:6,attack:2,authors:3,auto:9,autocomplet:0,avail:[5,7,8],avoid:1,back:5,baiduspid:1,base:4,base_url:[4,5],bash:5,becaus:[3,4,7],becom:2,befor:7,before:6,behaviour:[3,6],below:[1,3,5,7],better:[4,5],between:4,bin:[5,7],bingbot:1,bitbucket:0,block:1,born:3,bot:1,both:[3,8],botlimit:1,boundingbox:4,branch:3,browser:[2,3],bug:7,bugreport:3,build:[],build_grunt:7,built:[3,4,7],callback:6,can:[0,1,2,3,4,5,6,7,9,10],capabl:3,categori:[0,4,8,11],certif:5,chainabl:11,chang:[5,9],chapter:3,charact:3,chdir:5,check:[],checkout:3,chmod:5,choos:[3,4],chown:5,citi:4,clear:2,cli:7,client:[1,9],clone:[5,7],code:[],collect:[],com:[4,5,7,9],combin:5,come:[1,2,3],comma:8,command:[1,5,7,9],commit:7,common:7,complet:2,compon:6,comput:2,concern:3,conf:5,config:[0,4,5],connect:[2,10],consequ:[],construct:4,consult:7,contain:7,context:6,contribut:[],control:2,convent:3,cooki:[2,4,10],corner:3,could:4,count:5,countri:4,coupl:5,coverag:7,cpu:5,creat:[3,5,7],cryptic:7,css:6,css_depend:6,csv:1,cthulhu:11,ctx:6,curl:1,current:[3,4,11],custom:[2,3,11],customiz:0,customlog:5,dai:8,data:[],date:[0,4],datetim:4,ddg:11,debian:5,debug:[],decim:4,def:[4,6],default_local:0,default_on:6,default_them:0,defend:[],defin:6,demon:5,depen:1,depend:[4,5,7],deploi:5,descript:[6,8],deserv:3,desir:[4,7],deutsch:0,dev:5,differ:[3,4],digit:10,directori:9,disabl:[],disrespect:3,dockerfil:5,doe:[],domain:5,domin:3,don:[2,10],down:[],duckduckgo:11,easi:10,easier:2,easili:3,edit:[2,3,5,9],effect:3,either:7,elimin:7,embed:[],en_us:4,enabl:[0,3,5,7],encrypt:10,engin:[],engine:[],english:0,enpoint:8,enter:5,entry:6,error:[7,9],error_log:5,esperanto:0,essenti:5,etc:[1,3,5],even:2,everi:4,everyon:2,everyth:[2,5],exactli:1,exceed:1,except:3,execut:9,exist:3,exit:5,expect:3,expir:2,explain:3,extend:[3,6],extens:3,extern:[1,2,4],fail:7,fals:[0,5,6,7],fanci:3,feedback:3,feedfetch:1,feel:6,few:[3,4],file:[],filenam:4,files:4,filter:[0,1],filtron:[],find:1,fine:5,firewal:1,first:7,fit:6,fix:[3,7],flask:6,folder:[3,4,7],follow:[1,3,4,7],followsymlink:5,forget:2,fork:3,form:[0,2],format:[1,4,7],forward:[1,5],found:1,free:[],from:[],further:7,furthermor:[2,4,7,8],gener:[],geojson:4,german:0,get:[],gid:5,git:[5,7],github:[5,7],give:7,goi:0,golang:[],gone:2,good:[3,7],googl:0,googlebot:1,grant:5,grunt:7,guid:7,hack:3,hackerspac:11,handler:5,happi:3,harder:2,have:[2,3,4,5,9],header:[1,4],help:[3,7],her:2,here:9,hex:5,hidden:0,hit:2,host:[],hotkei:0,hour:5,hous:4,house_numb:4,how:[],howev:[2,4],html:[0,3,4],http:[0,1,4,5,7,9],http_host:1,https:[0,10],hub:5,idea:7,imag:[],image:11,img_src:4,implement:[3,4,6],includ:5,inclus:11,index:5,inform:[3,4,5],informat:1,ini:5,init:[],input:0,inside:4,instal:[],install:5,installat:[],instanc:[],instance_nam:0,instead:7,integr:10,intent:3,interfer:3,intergr:[],internal:7,internet:10,interpret:5,interpretor:5,interv:1,introduct:7,iso:4,itself:3,jame:1,js_depend:6,json:1,just:0,kei:4,kind:[],know:2,lack:3,lang:[0,8,9],languag:[],language_support:4,lat:4,latitud:4,lc_messages:9,leech:4,leecher:4,length:3,less:[2,7],level:3,libapache2:5,libffi:5,libssl:5,libxslt:5,light:5,like:[0,4,5],limit:[1,2],line:3,linkdexbot:1,linux:0,list:[4,6,8,11],listen:[1,5],local:[0,2,4,5,6,7,9],localhost:5,locat:[1,5],lon:4,longitud:4,low:5,machin:2,magnetlink:4,mai:9,maker:2,malici:2,manag:[5,7],mani:1,map:[],mass:3,master:5,matter:4,max:[1,4],maxim:3,maximum:[3,4],mean:2,media:[0,4],messag:[1,7,9],messagespo:9,method:[0,4],might:[2,3],min:4,misbehav:3,mix:2,mj12bot:1,mod:5,modifi:[9,11],modul:5,month:[0,8],more:[2,3,5,10],most:2,msnbot:1,much:2,multibl:4,multipl:2,must:[3,4,7],myproject:7,name:[0,1,4,5,6,8],navig:2,necessari:5,need:[2,3],neither:10,net:10,netvib:1,never:2,node:7,nodej:7,nodejs:7,none:4,nor:10,normal:4,note:[3,5],now:6,npm:7,number:[1,4,5,8],number_of_result:4,object:[4,6],off:[3,5],offer:[],often:4,okhin:5,on_result:6,onli:[2,5,6],onlin:10,open:2,openssl:5,openstreetmap:0,option:[4,5,6,7,8],order:[3,7],org:4,org_bot:1,organis:10,origin:5,oscar:[],osm:[0,4],other:[2,3,4],otherwis:4,out:3,over:[2,10],overview:[],overwritten:4,own:[2,10],packag:[5,7],page:[1,2,3,4,8,11],pageno:[4,8],pagenumb:4,param:[1,4],paramt:4,parti:2,partli:4,past:0,patch:3,path:[1,5],pep8:[3,7],per:4,perform:4,person:[],phase:7,pip:3,place:[3,4],pleas:[3,5,7],plenti:3,port:[1,5],possibl:[5,8],post_search:6,postcod:4,pot:9,pre_search:6,prefer:[2,11],prefix:11,preserv:3,preview:4,privat:2,problem:1,proce:5,process:1,profil:10,promot:10,proper:2,protect:[],provid:[3,4],proxi:5,proxy_add_x_forwarded_for:[1,5],proxy_buff:5,proxy_pass:[1,5],proxy_set_head:[1,5],publish:4,publishedd:4,pull:[3,5,9],purpos:4,push:9,pybabel2:9,pybabel:[5,9],python2:9,python:[1,5],pythonpath:5,quadratur:10,queri:[0,4,8,11],quickstart:[],quit:3,qwer:11,ran:2,rand:5,random:4,rang:[4,8],rate:[1,2],reach:[],real:1,recommend:4,reconsid:3,redefin:4,reduc:3,regardless:2,remain:[],rememb:3,remote_addr:1,remov:2,replac:6,repo:3,repositori:5,repres:[],request:[],requir:[3,4,7,8],restart:5,revers:5,rewrit:[0,5],right:[5,6,10],road:4,roboag:1,root:[5,9],round:3,rss:1,rst:3,rule:1,run:[],safe_search:0,same:[1,4],satisfi:7,scheme:[1,5],scrapi:1,script:[1,5,7,9],script_name:5,search_path:4,search_str:4,searx:[],sec:1,secur:10,sed:5,see:[],seed:4,seeder:4,select:11,selenium:7,self:10,send:[1,2],sent:2,separ:[3,8],serv:2,server_nam:5,servic:[1,2,5,10],sethandl:5,setup:[],seznambot:1,share:[],she:2,shine:2,shortcut:[0,4],should:[],simpli:[2,3],singl:[2,5],site:[0,4,5],size:4,skip:7,slurp:1,small:4,smtbot:1,social:0,socket:5,softwar:[],sold:2,solv:1,some:5,someon:2,someth:3,sourc:[],special:4,specif:[4,5],specifi:[4,8],sphinx:3,ssl:[4,5,10],stack:7,standard:[3,4],start:[1,3,4,5,10],stash:5,step:[3,5,9],stop:1,store:4,street:4,string:4,submit:3,subrul:1,sudo:[5,7],suggest:6,support:[3,4,8,10],sure:5,syntax:[],system:3,tailor:2,taior:[],take:3,tell:4,templat:4,test:[],text:[0,4],than:10,thi:[1,2,4,5,6,7,9],think:3,third:2,three:[2,3,6],thu:2,thumbnail:4,thumbnail_src:4,time:[1,4,8],time_rang:[0,8],time_range_support:4,timeout:4,titl:4,tld:5,too:1,tool:3,tor:10,torrentfil:4,trace:7,tracek:[],track:10,traffic:5,transifex:[],translat:[],travi:7,trust:[2,10],try_fil:5,tupl:6,turn:[3,7],twice:5,two:[3,8],txt:3,type:[0,2,4,9],ubuntu:5,uid:5,ultrasecretkei:5,uncommon:3,under:[3,4],unfortun:3,unit:[3,7],unit_test:7,univers:5,unix:5,unknown:2,unprotect:[],unspecifi:4,updat:[],update_dev_packag:7,update_packag:5,uri:5,url:[],urlencod:4,use:1,useradd:5,userag:1,useragent:1,usr:5,usual:5,util:9,uwsgi_modifier1:5,uwsgi_param:5,uwsgi_pass:5,uwsgisocket:5,valid:[4,7],valu:[0,4],variabl:4,variou:[3,6],vendor:3,verifi:4,via:11,vim:0,virtual:5,virtualenv:[5,7],vulner:2,wai:[2,3,4],warning:5,webapp:5,webcrawl:1,websit:0,weird:3,wget:1,whatev:5,when:[2,6,7],where:1,whether:[2,7],which:[1,3,4,10],who:[2,5],whole:[5,6],why:[],wide:3,wihout:[],wiki:0,wikipedia:11,wish:3,without:[2,4,10],won:2,wonderfal:5,word:6,work:[3,4,5,7],worker:5,world:3,written:[],wsgi:5,www:9,yacybot:1,yahoo:1,yandexbot:1,yandexmobilebot:1,year:8,yet:4,you:[2,3,5,7,9,10,11],your:[],yourself:3,zgrab:1,zlib1g:5},titles:["Administration API","How to protect an instance","Why use a personal instance?","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Search syntax"],titleterms:{"default":4,"new":9,"public":2,"return":4,add:9,administr:[0,10],advantag:[],all:9,apach:5,api:[0,8],argument:4,bar:0,basic:5,build:7,check:5,code:[3,4],compil:[7,9],conclus:2,configur:[0,1,4,5],consequ:2,content:[4,5],contribut:3,data:0,debug:7,design:3,develop:[7,10],direct:3,disabl:5,doc:[],docker:5,document:[3,10],doe:2,embed:0,engin:4,engine:4,entri:6,environ:7,exampl:[4,6,11],featur:10,file:[4,9],filtron:1,free:[],from:5,gener:4,get:[0,9],hackabl:3,hook:6,host:5,how:[1,2,3,5,7],imag:4,init:9,instal:5,installat:5,instanc:[1,2],javascript:7,languag:9,log:5,make:4,map:4,metasearch:[],nginx:5,oscar:7,overrid:4,overview:4,paramet:8,pars:4,pass:4,person:2,plugin:6,point:6,post:6,pre:6,prime:3,privaci:[2,3],project:9,protect:[1,2],quickstart:7,request:[1,4],respect:[],respons:0,result:[4,6],rout:1,run:7,sampl:[0,1],search:[0,6,8,11],searx:[2,5,10],see:2,server:5,set:4,setup:7,should:2,sourc:[7,9],specifc:9,still:2,stuff:9,style:7,subdirectori:5,syntax:11,test:7,theme:7,through:1,tip:7,torrent:4,transifex:9,translat:[3,9],updat:5,update:9,upload:9,url:5,user:10,uwsgi:5,video:4,web:5,welcom:10,what:2,why:2,yml:4,your:7}}) \ No newline at end of file diff --git a/user/search_syntax.html b/user/search_syntax.html index 2fab063a..67764433 100644 --- a/user/search_syntax.html +++ b/user/search_syntax.html @@ -6,7 +6,7 @@ - Search syntax — searx 0.9.0 documentation + Search syntax — searx 0.10.0 documentation @@ -14,7 +14,7 @@ - + + +