Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    NOT_INDEXED_ERROR_PATTERNS: readonly [
    ย ย ย ย "not indexed",
    ย ย ย ย "no document",
    ย ย ย ย "document not found",
    ย ย ย ย "dok_id not found",
    ] = ...

    Phrases that indicate a document-level indexing gap rather than a transport/operational MCP failure.

    Bare 404 and bare not found are intentionally excluded because they also appear in transport-level errors such as MCP server error: 404 Not Found from a wrong endpoint or unavailable route. Treating those as not_indexed would mask MCP configuration/server outages as document indexing lag. Use classifyDocumentErrorAsNotIndexed which combines this list with a transport-error sentinel and a dok_id-aware fallback.