1===============================
2Query your local search engines
3===============================
5From now on, searx lets you to query your locally running search engines. The following
12All of the engines above are added to ``settings.yml`` just commented out, as you have to
13``base_url`` for all them.
15Please note that if you are not using HTTPS to access these engines, you have to enable
16HTTP requests by setting ``enable_http`` to ``True``.
18Futhermore, if you do not want to expose these engines on a public instance, you can
19still add them and limit the access by setting ``tokens`` as described in the `blog post about
22Configuring searx for search engines
23====================================
25Each search engine is powerful, capable of full-text search.
30Elasticsearch supports numerous ways to query the data it is storing. At the moment
31the engine supports the most popular search methods: ``match``, ``simple_query_string``, ``term`` and ``terms``.
33If none of the methods fit your use case, you can select ``custom`` query type and provide the JSON payload
34searx has to submit to Elasticsearch in ``custom_query_json``.
36The following is an example configuration for an Elasticsearch instance with authentication
37configured to read from ``my-index`` index.
41 - name : elasticsearch
43 engine : elasticsearch
44 base_url : http://localhost:9200
55This search engine is aimed at individuals and small companies. It is designed for
56small-scale (less than 10 million documents) data collections. E.g. it is great for storing
57web pages you have visited and searching in the contents later.
59The engine supports faceted search, so you can search in a subset of documents of the collection.
60Futhermore, you can search in Meilisearch instances that require authentication by setting ``auth_token``.
62Here is a simple example to query a Meilisearch instance:
69 base_url : http://localhost:7700
77Solr is a popular search engine based on Lucene, just like Elasticsearch.
78But instead of searching in indices, you can search in collections.
80This is an example configuration for searching in the collection ``my-collection`` and get
81the results in ascending order.
88 base_url : http://localhost:8983
89 collection : my-collection
97The next step is to add support for various SQL databases.
102This development was sponsored by `Search and Discovery Fund`_ of `NLnet Foundation`_ .
104.. _blog post about private engines: private-engines.html#private-engines
105.. _Elasticsearch: https://www.elastic.co/elasticsearch/
106.. _Meilisearch: https://www.meilisearch.com/
107.. _Solr: https://solr.apache.org/
108.. _Search and Discovery Fund: https://nlnet.nl/discovery
109.. _NLnet Foundation: https://nlnet.nl/
113| kvch // 2021.04.07 23:16
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list