Skip to content

Commit

Permalink
unsaved file\
Browse files Browse the repository at this point in the history
  • Loading branch information
phfaist committed Dec 29, 2023
1 parent 67727ad commit 9fcc0f0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions jscomponents/search/configuresearchindex.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import { getLunrCustomOptionsAdvancedSetup } from '@phfaist/zoodbtools_search/lunradvancedsetup';

export const lunrAdvancedOptions = {
includeNGramsUpTo: 3,
};

export function configureSearchIndex(search_index)
{
const indexLunrCustomOptions = getLunrCustomOptionsAdvancedSetup(lunrAdvancedOptions);
search_index.install_lunr_customization(indexLunrCustomOptions);
}

0 comments on commit 9fcc0f0

Please sign in to comment.