.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
elasticsearch.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.elasticsearch
 

Functions

 searx.engines.elasticsearch.init (engine_settings)
 
 searx.engines.elasticsearch.request (query, params)
 
 searx.engines.elasticsearch._match_query (query)
 
 searx.engines.elasticsearch._simple_query_string_query (query)
 
 searx.engines.elasticsearch._term_query (query)
 
 searx.engines.elasticsearch._terms_query (query)
 
 searx.engines.elasticsearch._custom_query (query)
 
 searx.engines.elasticsearch.response (resp)
 

Variables

str searx.engines.elasticsearch.base_url = 'http://localhost:9200'
 
str searx.engines.elasticsearch.username = ''
 
str searx.engines.elasticsearch.password = ''
 
str searx.engines.elasticsearch.index = ''
 
str searx.engines.elasticsearch.search_url = '{base_url}/{index}/_search'
 
str searx.engines.elasticsearch.query_type = 'match'
 
dict searx.engines.elasticsearch.custom_query_json = {}
 
bool searx.engines.elasticsearch.show_metadata = False
 
list searx.engines.elasticsearch.categories = ['general']
 
dict searx.engines.elasticsearch._available_query_types