NgeDocSearchProvider
interface
Pluggable search backend. The default builds its index in memory from the manifests; PrebuiltNgeDocSearchProvider loads a build-time index instead. The contract, and therefore the UI, stays the same.
index()
Signature
index(manifests: NgeDocManifest[]): Promise<void>Parameters
manifests(NgeDocManifest[])
Returns
Promise<void>
search()
Signature
search(query: string): Promise<NgeDocSearchResult[]>Parameters
query(string)
Returns
Promise<NgeDocSearchResult[]>