From f49b2c94a9a9938133dbf94d686f00776ce96cdc Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 5 Mar 2025 17:50:22 +0100 Subject: [mod] migrate all key-value.html templates to KeyValue type The engines now all use KeyValue results and return the results in a EngineResults object. The sqlite engine can return MainResult results in addition to KeyValue results (based on engine's config in settings.yml), Signed-off-by: Markus Heiser --- searx/settings.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index d57d5ea36..22adf6626 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1888,15 +1888,15 @@ engines: # For this demo of the sqlite engine download: # https://liste.mediathekview.de/filmliste-v2.db.bz2 # and unpack into searx/data/filmliste-v2.db - # Query to test: "!demo concert" + # Query to test: "!mediathekview concert" # - # - name: demo + # - name: mediathekview # engine: sqlite - # shortcut: demo - # categories: general - # result_template: default.html + # shortcut: mediathekview + # categories: [general, videos] + # result_type: MainResult # database: searx/data/filmliste-v2.db - # query_str: >- + # query_str: >- # SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title, # COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url, # description AS content -- cgit v1.2.3