Search active test references by full-text token query.
Changed onToken-based full-text search over a workspace's active tests, using the Spanner SEARCH() function. A test is matched on its own name, description, intent, and labels through idx_test_reference_search_v2; the default "combined" search covers all four at once, and restricting search_field scopes the match to that one column. The combined search also matches on the step text of a test's flows, through idx_flow_reference_search_v3, so a test whose steps describe the query is found even when its own name, description, intent and labels say nothing about it. Step matches rank below every metadata match rather than competing with them; see match_source for the tier rule.
Returns rich per-test rows, including an excerpt of the annotated step descriptions of the test's flows (joined through test_reference.flows -> flow_reference). Under the "combined" search a flow whose steps matched contributes a window of its step text around the matching steps, a flow that did not match contributes its opening steps, and the flows are ordered most relevant first, so that a capped excerpt keeps the steps the query was about rather than whichever flows happen to run first. Shaping the excerpt decides only which steps a row shows: it never admits a test, and never changes how the returned tests rank.
The query follows Spanner search syntax — multi-token queries default to AND. Callers can join keywords with " OR " for broader recall, or quote phrases. OR binds only the two words beside it and parentheses do not group terms, so prefer one plain multi-word query (all words required) over mixing OR with other terms.
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/test/references/search
- Auth: one of:
- HTTP basic
- API key in header Authorization
Query parameters
The workspace to search in.
Request body
Response
Search results ordered by relevance score (descending).
Changes
- info
added the optional property
//to the response with the status
- info