Server Search #2

Closed
opened 2026-02-07 14:03:21 +00:00 by Toasterson · 1 comment
Toasterson commented 2026-02-07 14:03:21 +00:00 (Migrated from codeberg.org)

Using the SQLite FTS shards and existing databases we need to implement the existing Search Rest Endpoint so the python client can search.

Using the SQLite FTS shards and existing databases we need to implement the existing Search Rest Endpoint so the python client can search.
Toasterson commented 2026-04-09 20:08:29 +00:00 (Migrated from codeberg.org)

The search REST endpoints are fully implemented and tested against the production depot. Both /search/0/{token} (v0, text tuples) and /search/1/{token} (v1, structured results with return types) work, including POST for v1. Publisher-less routes are wired up for clients that don't include a publisher prefix. Empty results return 204 No Content per the pkg5 depot spec. Verified against the real omnios repo with 2254 packages — FTS5 index lookup, FMRI resolution from active.db, the whole pipeline works.

The search REST endpoints are fully implemented and tested against the production depot. Both /search/0/{token} (v0, text tuples) and /search/1/{token} (v1, structured results with return types) work, including POST for v1. Publisher-less routes are wired up for clients that don't include a publisher prefix. Empty results return 204 No Content per the pkg5 depot spec. Verified against the real omnios repo with 2254 packages — FTS5 index lookup, FMRI resolution from active.db, the whole pipeline works.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OpenIndiana/ips#2
No description provided.