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;


Next-Generation full text search library with zero dependencies.

Latest version published 2 months ago

Package Health Score

81 / 100
Full package analysis