Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / docs / loadSearchIndex

Function: loadSearchIndex()

loadSearchIndex(): SearchIndex

Defined in: packages/b2c-tooling-sdk/src/docs/search.ts:22

Loads the pre-built search index from the bundled data directory.

Returns

SearchIndex

The search index with all documentation entries

Throws

Error if the index file cannot be read

Released under the Apache-2.0 License.