From bc4bb7988d71029882b97516763ddc663b144a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sun, 12 Jul 2026 23:02:23 +0200 Subject: [PATCH] =?UTF-8?q?poi-index:=20mark=202.2=20done=20=E2=80=94=20ve?= =?UTF-8?q?rified=20index-driven=20query=20plans=20locally?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- openspec/changes/poi-index/tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openspec/changes/poi-index/tasks.md b/openspec/changes/poi-index/tasks.md index 7ba8f2d..d7b97dc 100644 --- a/openspec/changes/poi-index/tasks.md +++ b/openspec/changes/poi-index/tasks.md @@ -6,7 +6,7 @@ ## 2. Schema - [x] 2.1 Add `planner.pois` to `packages/db` (osm_type, osm_id, category, name, geom Point 4326, tags jsonb, imported_at; PK (osm_type, osm_id, category); GiST on geom, btree on category) + migration -- [ ] 2.2 `pnpm db:push` locally and verify bbox+category query plans use the indexes _(needs a local PostGIS; run `pnpm dev:services && pnpm db:push`)_ +- [x] 2.2 `pnpm db:push` locally and verify bbox+category query plans use the indexes _(verified: serving query drives off `pois_geom_idx` for the bbox; `pois_category_idx` used for category filter; PK created as `pois_pkey`)_ ## 3. Extract pipeline (BRouter host)