About 0Trust Search
A Google-style web search product for the 0Trust mesh, ranked with the Okapi BM25 algorithm from orchid_sync โ the same engine behind platform log search.
How it works
- Documents (URL, title, description, body) are stored in ultimate_db.
- Text is tokenized, stop-words filtered, and written to an inverted index.
- Queries are scored with Okapi BM25 (k1=1.2, b=0.75, Lucene-compatible IDF).
- Results show title, green URL path, and a contextual snippet.
- UI is built with guikit GML templates and CSP-hardened rendering.
API
GET /api/search?q=zero+trust&limit=10
POST /api/index JSON {\"url\",\"title\",\"body\",\"fetch\":true} (auth or X-Search-Token)
GET /api/health
Back to search Add a page to the index