LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
UN-4402 [DOCS] Clarify empty search results and the route object in the global search README (#2359)
Ritwik G5a21d625203c
diff --git a/backend/global_search/README.md b/backend/global_search/README.mdindex fe6d4bbfe..a20d7d47c 100644--- a/backend/global_search/README.md+++ b/backend/global_search/README.md@@ -74,7 +74,11 @@ changes.- `failed_types` lists types whose search failed; their groups are missingeven if they have matches, so a client can say "some results could not beloaded". It is empty on a normal response.-- `route.params` always includes `id`.+- Every result has a `route`, and `route.params` always includes `id`: a+ search result is always one item that can be opened. Other contracts that+ reuse the route object (for example the notifications inbox, PB-T17) may+ set `route` to `null` when an item has nothing to open; search never does.+ Clients treat a `null` route like an unknown key: render without a link.Errors use the standard error envelope:@@ -90,6 +94,20 @@ Errors use the standard error envelope:all with such database errors (a bug). Retrying will not help.- 401 and 403 behave as on every tenant endpoint.+### No matches++When nothing matches, the response is still 200, with no groups:++```json+{"query": "zzqx", "groups": [], "failed_types": []}+```++A query shorter than 2 characters returns the same shape. A panel shows+"No results" here. If `failed_types` is non-empty while `groups` is empty,+some types could not be searched, so the panel says that instead of plain+"No results". When every searched type fails, the response is a 5xx, not an+empty 200 (see the errors above).+## Types| order | type | label | route.key | route.params | context |