.oO SearXNG Developer Documentation Oo.
|
Functions | |
init (_) | |
request (query, params) | |
response (resp) | |
__get_response (resp) | |
Variables | |
str | base_url = 'http://localhost:8983' |
str | collection = '' |
int | rows = 10 |
str | sort = '' |
str | field_list = 'name' |
str | default_fields = '' |
str | query_fields = '' |
str | _search_url = '' |
bool | paging = True |
.. sidebar:: info - :origin:`solr.py <searx/engines/solr.py>` - `Solr <https://solr.apache.org>`_ - `Solr Resources <https://solr.apache.org/resources.html>`_ - `Install Solr <https://solr.apache.org/guide/installing-solr.html>`_ Solr_ is a popular search engine based on Lucene, just like Elasticsearch_. But instead of searching in indices, you can search in collections. Example ======= This is an example configuration for searching in the collection ``my-collection`` and get the results in ascending order. .. code:: yaml - name: solr engine: solr shortcut: slr base_url: http://localhost:8983 collection: my-collection sort: asc enable_http: true
|
private |
Definition at line 89 of file solr.py.
Referenced by searx.engines.solr.response().
searx.engines.solr.init | ( | _ | ) |
searx.engines.solr.request | ( | query, | |
params ) |
Definition at line 56 of file solr.py.
searx.engines.solr.response | ( | resp | ) |
Definition at line 75 of file solr.py.
References searx.engines.solr.__get_response().