BREAKING CHANGE
- /api/v1/search and /api/v1/vector-viz/search answer a
path_prefixes folder that does not exist with 400
{"error": "folder_not_found", "folders": [...]}, and a failed folder lookup
with 503 {"error": "folder_lookup_failed"}, instead of returning
text-matched results. - nc_semantic_search now rejects a path_prefixes entry that
does not exist (or that Nextcloud refuses to resolve) with an MCP error,
instead of returning files whose path merely shares words with it (GH #1982).
Fix
- api: scope /api/v1 search path_prefixes to folder descendants only
- search: fail a folder lookup error instead of falling back to text match
- search: report an HTTP error resolving path_prefixes as an MCP error
- search: only a network error degrades folder resolution to text match
- search: scope path_prefixes to folder descendants only
Refactor
- api: share the path_prefixes folder error responses