olivernn / lunr.js

A bit like Solr, but much smaller and not as bright
http://lunrjs.com
MIT License
8.96k stars 548 forks source link

split on hyphens and remove empty tokens #101

Closed nolanlawson closed 10 years ago

nolanlawson commented 10 years ago

Fixes https://github.com/olivernn/lunr.js/pull/98#issuecomment-50209453.

olivernn commented 10 years ago

I've just pushed version 0.5.5 with your patch, thanks.