server

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL