KeywordSearchEngine

Keyword-based search engine for the docs corpus. Provides search functionality without AI, working on all platforms.

Constructors

Link copied to clipboard
constructor(bundleLoader: DocBundleLoader)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun search(queryText: String): List<DocSearchResult>

Search the docs corpus with the given query text.

Link copied to clipboard
suspend fun selectForTokenBudget(queryText: String, maxChars: Int): List<DocPage>

Select top pages within a token budget for AI retrieval context.