Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
frIdx = lunr(function() {
this.ref("id");
this.use(lunr.fr);
this.field("vacNameFr");
this.field("oneLineDescriptionFr");
this.field("benefitExamplesFr");
benefits.forEach(function(doc) {
this.add(doc);
}, this);
});