diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-03 09:53:28 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-04 15:04:38 +0200 |
| commit | 1b3f0c848e9e9785635f19e4c935a9a0a8d4f7f9 (patch) | |
| tree | 8b103c2310e97ed11857462c4fe01b0da35e0b35 /docs | |
| parent | a5610835377470b0ce19d8e40f91e48ce4aae4cc (diff) | |
[docs] move blog article "SQL engines" to admin/engines/
The article "SQL engines" should be in admin's engine documentation (like the
recoll engine).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/admin/engines.rst | 1 | ||||
| -rw-r--r-- | docs/admin/engines/sql-engines.rst (renamed from docs/blog/sql-engines.rst) | 31 | ||||
| -rw-r--r-- | docs/blog/index.rst | 1 |
3 files changed, 21 insertions, 12 deletions
diff --git a/docs/admin/engines.rst b/docs/admin/engines.rst index 520fda35c..c7461d3fd 100644 --- a/docs/admin/engines.rst +++ b/docs/admin/engines.rst @@ -14,6 +14,7 @@ Special Engine Settings :maxdepth: 1 engines/recoll + engines/sql-engines engines/command-line-engines diff --git a/docs/blog/sql-engines.rst b/docs/admin/engines/sql-engines.rst index 413316054..ee7f31c27 100644 --- a/docs/blog/sql-engines.rst +++ b/docs/admin/engines/sql-engines.rst @@ -1,5 +1,7 @@ +.. _sql engines: + =========== -SQL engines +SQL Engines =========== .. sidebar:: further read @@ -36,9 +38,10 @@ place the templates at:: searx/templates/{theme_name}/result_templates/{template_name} -As mentioned in previous blog posts, if you do not wish to expose these engines -on a public instance, you can still add them and limit the access by setting -``tokens`` as described in section :ref:`private engines`. +If you do not wish to expose these engines on a public instance, you can still +add them and limit the access by setting ``tokens`` as described in section +:ref:`private engines`. + Configure the engines ===================== @@ -58,6 +61,10 @@ returned results use the option ``limit``. SQLite ------ +.. sidebar:: info + + - :origin:`sqlite.py <searx/engines/sqlite.py>` + .. _MediathekView: https://mediathekview.de/ SQLite is a small, fast and reliable SQL database engine. It does not require @@ -106,9 +113,10 @@ PostgreSQL .. _psycopg2: https://www.psycopg.org/install -.. sidebar:: requirements +.. sidebar:: info - ``pip install`` psycopg2_ + - :origin:`postgresql.py <searx/engines/postgresql.py>` + - ``pip install`` psycopg2_ PostgreSQL is a powerful and robust open source database. Before configuring the PostgreSQL engine, you must install the dependency ``psychopg2``. You can @@ -130,9 +138,10 @@ MySQL .. _mysql-connector-python: https://pypi.org/project/mysql-connector-python -.. sidebar:: requirements +.. sidebar:: info - ``pip install`` mysql-connector-python_ + - :origin:`mysql_server.py <searx/engines/mysql_server.py>` + - ``pip install`` mysql-connector-python_ MySQL is said to be the most popular open source database. Before enabling MySQL engine, you must install the package ``mysql-connector-python``. @@ -152,9 +161,9 @@ example configuration for quering a MySQL server: query_str: 'SELECT * from my_table WHERE my_column=%(query)s' -Acknowledgement -=============== +Acknowledgment +============== This development was sponsored by `Search and Discovery Fund -<https://nlnet.nl/discovery>`_ of `NLnet Foundation <https://nlnet.nl/>`_ . +<https://nlnet.nl/discovery>`_ of `NLnet Foundation <https://nlnet.nl/>`_. diff --git a/docs/blog/index.rst b/docs/blog/index.rst index 2817f3b2b..a870c78c6 100644 --- a/docs/blog/index.rst +++ b/docs/blog/index.rst @@ -11,4 +11,3 @@ Blog intro-offline private-engines search-indexer-engines - sql-engines |