Skip to main content

Search when embeddings are offline

Status: Ready

Article ID: 076

Truth label: Current

Audience: Knowledge operator

Reader outcome: Use exact-text CPMI with an explicit semantic error.

Related articles: 023, 071, 072

Target week: 31

Last verified: 2026-09-13

Technical reviewer: Codex source audit

Editorial reviewer: Codex editorial audit

Detect the failure honestly​

The embedding service may be unavailable, the configured model may be missing, or the stored embedding identity may not match. That affects semantic search, not the existence of canonical CPMI records.

Keep exact retrieval available​

Use SQLite FTS5 to search exact terms, identifiers, filenames, and phrases. Return those records with provenance while reporting the semantic failure as a separate error or degraded capability.

Adapt the query​

Try stable tokens from the problem: a route, class, status, decision ID, or error fragment. Search several concrete terms instead of pretending the exact path has concept-level recall.

Repair the projection​

Confirm the embedding service, model identity, and configured collection. Once the compatible model is available, rebuild or refresh the semantic projection from the canonical records and test a related-concept query.

Current limits​

Exact search misses synonyms and conceptual matches. Degraded search must not be presented as complete recall. Neither exact nor semantic ranking makes a record current, scoped on every path, or authoritative.

Next lesson​

Continue with Grade outcomes without claiming causation.

Derivative map​

  • Weekly package: WEEK-31
  • Long video: VIDEO-W31-LONG
  • Shorts: SHORT-W31-PROBLEM, SHORT-W31-MECHANISM, SHORT-W31-WARNING
  • Email: EMAIL-W31
  • LinkedIn: LI-W31-A, LI-W31-B
  • X: X-W31-A, X-W31-B
  • Visual: VISUAL-W31

Review record​

  • Canonical exact search and rebuildable semantic projection remain separate.
  • Semantic failure is reported rather than hidden.
  • Recall, authority, freshness, and scope limits remain explicit.
  • Repair and validation steps reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13