add search

This commit is contained in:
2026-09-02 19:54:49 +02:00
parent f1c7ecc14d
commit d415f6952b
7 changed files with 1091 additions and 1 deletions
+15
View File
@@ -25,3 +25,18 @@ JONASSEARCH_MAX_CONTENT_LENGTH=5242880
# User-Agent
JONASSEARCH_USER_AGENT=JonasSearchBot/0.1 (+https://jonassearch.local/bot)
# ============================================================
# Suchmaschine (search/)
# ============================================================
# PostgreSQL-Textsuch-Konfiguration (Stemming/Stopwörter)
JONASSEARCH_TS_CONFIG=german
# tsvector-Spalte der Tabelle `pages` erzwingen (optional,
# wird automatisch erkannt)
#JONASSEARCH_VECTOR_COLUMN=search_vector
# HTTP-API (search/api.py)
JONASSEARCH_API_HOST=0.0.0.0
JONASSEARCH_API_PORT=8082