[Feature] Add optional OpenSearch backend with ACL-safe indexing #3

Open
opened 2026-07-29 14:27:57 +02:00 by zemion · 0 comments
Owner

Parent: #1

Scope

Add an optional OpenSearch adapter behind the same Search contracts after the PostgreSQL baseline is stable.

  • Versioned index mappings and aliases support zero-downtime rebuild/swap and rollback.
  • Documents carry tenant, resource type, stable reference, source revision, classification, and bounded ACL material without secrets or body fields that policy forbids indexing.
  • Query filters and mandatory provider/resource ACL rechecks prevent stale-permission leakage.
  • Durable delta/backfill ingestion handles deletes, permission changes, module disable, retries, poison records, and lag reconciliation.
  • Health, lag, mapping-version, rejected-record, and rebuild status are operator-visible.
  • Deployments can switch back to PostgreSQL search without changing module providers or query clients.
Parent: #1 ## Scope Add an optional OpenSearch adapter behind the same Search contracts after the PostgreSQL baseline is stable. - Versioned index mappings and aliases support zero-downtime rebuild/swap and rollback. - Documents carry tenant, resource type, stable reference, source revision, classification, and bounded ACL material without secrets or body fields that policy forbids indexing. - Query filters and mandatory provider/resource ACL rechecks prevent stale-permission leakage. - Durable delta/backfill ingestion handles deletes, permission changes, module disable, retries, poison records, and lag reconciliation. - Health, lag, mapping-version, rejected-record, and rebuild status are operator-visible. - Deployments can switch back to PostgreSQL search without changing module providers or query clients.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-search#3