function overrideLunrTokenizer() {

		var origTokenizer = lunr.tokenizer;
		var rSeparators = /[-./#_,;\(\)=><|]/g;

		lunr.tokenizer = function(str) {
			return origTokenizer.call(lunr, str).reduce( function (result, token) {
				if ( rSeparators.test(token) ) {
					token = token.replace(rSeparators, " ");
					result.push.apply(result, token.toLowerCase().split(/ +/));
				} else {
					result.push(token.toLowerCase());
				}
				return result;
			}, []);
		};
		Object.keys(origTokenizer).forEach(function (key) {
			lunr.tokenizer[key] = origTokenizer[key];
		});
	}
function overrideLunrTokenizer() {

		var origTokenizer = lunr.tokenizer;
		var rSeparators = /[-./#_,;\(\)=><|]/g;

		lunr.tokenizer = function(str) {
			return origTokenizer.call(lunr, str).reduce( function (result, token) {
				if ( rSeparators.test(token) ) {
					token = token.replace(rSeparators, " ");
					result.push.apply(result, token.toLowerCase().split(/ +/));
				} else {
					result.push(token.toLowerCase());
				}
				return result;
			}, []);
		};
		Object.keys(origTokenizer).forEach(function (key) {
			lunr.tokenizer[key] = origTokenizer[key];
		});
	}
function overrideLunrTokenizer ( ) { var origTokenizer = lunr . tokenizer ; var rSeparators = / [-./#_,;\(\)=><|] / g ; lunr . tokenizer = function ( str ) { return origTokenizer . call ( lunr , str ) . reduce ( function ( result , token ) { if ( rSeparators . test ( token ) ) { token = token . replace ( rSeparators , " " ) ; result . push . apply ( result , token . toLowerCase ( ) . split ( /  + / ) ) ; } else { result . push ( token . toLowerCase ( ) ) ; } return result ; } , [ ] ) ; } ; Object . keys ( origTokenizer ) . forEach ( function ( key ) { lunr . tokenizer [ key ] = origTokenizer [ key ] ; } ) ; }
overrides the lunr tokenizer in order to define custom token separators
overrides the lunr tokenizer in order to define custom token separators
Override lunr. tokenizer with lowercased tokens