HubDocSearchResult

HubDocSearchResult

HubDocSearchResult

A documentation search result — a ranked section with snippet and word count.

anchor String URL anchor for deep-linking (e.g., "configure-the-policy").
heading String Section heading where the match was found.
pageSection String! Top-level section of the page (e.g., "guides", "concepts").
pageSlug String! Slug of the page containing the match.
pageTitle String! Title of the page containing the match.
rank Float! Relevance rank (higher is more relevant).
snippet String! Highlighted match excerpt.
wordCount Int! Word count of the matched section for LLM context budgeting.