Documentation
¶
Overview ¶
HTTP server fronting the rerank service. Exposes GET /search?q=... and returns top-K reranked candidates as JSON.
In production the recall stage is OpenSearch via the official SDK; this binary uses a minimal stub so the example runs without a search cluster. Swap the `staticRecaller` for an OpenSearch-backed implementation by implementing the rerank.Recaller interface — that's the entire seam.
Click to show internal directories.
Click to hide internal directories.