How to use the flexsearch/dist/flexsearch.es5 function in flexsearch

To help you get started, we’ve selected a few flexsearch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mattermost / mattermost-webapp / utils / admin_console_index.jsx View on Github external
export function generateIndex(AdminDefinition, plugins, intl) {
    const idx = new FlexSearch();

    addToIndex(adminDefinitionsToUrlsAndTexts(AdminDefinition, intl), idx);

    addToIndex(getPluginEntries(plugins), idx);

    return idx;
}

flexsearch

Next-Generation full text search library with zero dependencies.

Apache-2.0
Latest version published 10 months ago

Package Health Score

66 / 100
Full package analysis