Reorganize docs by project and archive legacy context files

This commit is contained in:
2026-03-13 05:47:23 +00:00
parent 8d323c9393
commit 99df060f51
13 changed files with 132 additions and 20 deletions
+20
View File
@@ -0,0 +1,20 @@
# Shared Architecture
## Request flow
1. User searches on SearXNG.
2. Custom engines query SethSearch API (`json_engine`).
3. SethSearch reads SQLite FTS5 index and applies source-specific scoring.
4. SearXNG merges with other web engines and renders response.
## Data model
- DB: `/opt/sethsearch/articles.db`
- Main table: `documents`
- FTS table: `documents_fts`
## Reliability pattern
- Source sync jobs run independently.
- Failures in one source do not block other source updates.
- systemd restart policy keeps service resilient.
+16
View File
@@ -0,0 +1,16 @@
# Shared Operations
## SearXNG checks
- Status: `ssh pve173 "pct exec 119 -- systemctl status searxng --no-pager"`
- Logs: `ssh pve173 "pct exec 119 -- journalctl -u searxng -n 100 --no-pager"`
## SethSearch checks
- Status: `ssh pve173 "pct exec 620 -- systemctl status sethsearch --no-pager"`
- Logs: `ssh pve173 "pct exec 620 -- journalctl -u sethsearch -n 100 --no-pager"`
- Stats: `curl -s "https://sethsearch.sethpc.xyz/stats"`
## Caddy checks
- Validate: `ssh pve241 "pct exec 600 -- caddy validate --config /etc/caddy/Caddyfile"`