Skip to content
View as Markdown
View as Markdown

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

Function: loadSearchIndex()

loadSearchIndex(): SearchIndex

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

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

Combines the Script API documentation corpus with the standard job-step reference so both are searchable through the same functions.

Returns

SearchIndex

The combined search index with all documentation entries

Throws

Error if the Script API index file cannot be read

Released under the Apache-2.0 License.