Add time_range filter to Research Bridge API and optimize SearXNG config for news

This commit is contained in:
Henry
2026-03-14 13:41:20 +00:00
parent 561e655a67
commit c0d6e72d7c
4 changed files with 67 additions and 6 deletions

View File

@@ -18,28 +18,81 @@ search:
- json
engines:
# === General Search ===
- name: google
engine: google
shortcut: go
disabled: false
weight: 1.0
- name: bing
engine: bing
shortcut: bi
disabled: false
weight: 1.0
- name: duckduckgo
engine: duckduckgo
shortcut: ddg
disabled: false
weight: 0.8
# === News Engines ===
- name: google news
engine: google_news
shortcut: gon
disabled: false
weight: 2.0
- name: bing news
engine: bing_news
shortcut: bin
disabled: false
weight: 2.0
- name: hackernews
engine: hackernews
shortcut: hn
disabled: false
weight: 1.5
# === Tech News ===
- name: arstechnica
engine: arstechnica
shortcut: ars
disabled: false
weight: 1.5
- name: wired
engine: wired
shortcut: wir
disabled: false
weight: 1.5
# === Q&A / Discussion ===
- name: reddit
engine: reddit
shortcut: re
disabled: false
weight: 1.2
# Block unwanted sites (dictionaries, etc.)
engines:
- name: google
engine: google
disabled: false
url_xpath: //
# Blocklist für unerwünschte Domains
# Auskommentiert da SearXNG keine native Blocklist hat
# Workaround: Zeit-Parameter in Queries nutzen
ui:
static_path: ""
static_static_path: ""
templates_path: ""
default_theme: simple
query_in_title: true
# Time range preference (for news queries)
# Note: Used by engines that support it (google, bing, etc.)
# Valid values: day, week, month, year