Skip to main content

Overview

The search resource provides full-text search across all framework content — articles, recitals, and requirements. Results include a matchContext snippet showing the matched text in context.

Methods

query()

Execute a full-text search and return a page of results.
Parameters Returns Promise<Page<SearchResult>>
meta.pages is always 0 for search results. This is an endpoint limitation — use meta.total and links.next to determine if more results exist.

iter()

Iterate over all search results without managing pagination.
Parameters — same options as query() (except page, which is managed internally). Returns AsyncGenerator<SearchResult>

Model

SearchResult


Examples

Search for a concept across all frameworks

Collect all requirement results mentioning a term

Combine resultType: 'article' with iter() for a simple way to find every article across all frameworks that mentions a specific term — no need to iterate frameworks first.