Extend free-text search (q) to also match payload
All checks were successful
Build and Deploy iObj / build-image (push) Successful in 36s

Cross-shard search already worked transparently across all monthly
JSON files. This adds payload content (e.g. commit SHA, meeting
attendees, structured data) to the q= substring match, alongside
title and body.
This commit is contained in:
2026-07-13 21:57:45 +02:00
parent 10e98e1bdc
commit dc45e825c9
3 changed files with 16 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ Alle `/objects*` endpoints kræver `Authorization: Bearer <IOBJ_API_TOKEN>`
|---|---|---|
| GET | `/health` | Liveness check |
| POST | `/objects` | Opret objekt |
| GET | `/objects` | Søg (query params: `type`, `project`, `tag`, `date_from`, `date_to`, `q`, `limit`, `offset`) |
| GET | `/objects` | Søg (query params: `type`, `project`, `tag`, `date_from`, `date_to`, `q`, `limit`, `offset`). `q` matcher fritekst i `title`, `body` og `payload`. |
| GET | `/objects/date/{date}` | Alle objekter for én dato |
| GET | `/objects/{id}` | Hent ét objekt |
| PATCH | `/objects/{id}` | Opdater (delvist) |