HubDocSearchResult

HubDocSearchResult

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

anchorStringURL anchor for deep-linking (e.g., "configure-the-policy").
headingStringSection heading where the match was found.
pageSectionString!Top-level section of the page (e.g., "guides", "concepts").
pageSlugString!Slug of the page containing the match.
pageTitleString!Title of the page containing the match.
rankFloat!Relevance rank (higher is more relevant).
snippetString!Highlighted match excerpt.
wordCountInt!Word count of the matched section for LLM context budgeting.