summaryrefslogtreecommitdiff
path: root/searx/search/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search/__init__.py')
-rw-r--r--searx/search/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/__init__.py b/searx/search/__init__.py
index c5f225aa4..e5465880c 100644
--- a/searx/search/__init__.py
+++ b/searx/search/__init__.py
@@ -54,7 +54,7 @@ def replace_auto_language(search_query: SearchQuery):
if search_query.lang != 'auto':
return
- detected_lang = detect_language(search_query.query, threshold=0.0, only_search_languages=True)
+ detected_lang = detect_language(search_query.query, threshold=0.3, only_search_languages=True)
if detected_lang is None:
# fallback to 'all' if no language has been detected
search_query.lang = 'all'