olivernn / lunr.js

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

Lower vs Upper Case returning different results, but why? #472

Closed oiver555 closed 3 years ago

oiver555 commented 3 years ago

Hello there person with my first name haha. Could you please tell me why searching the same word with different cases returns different results? Please try searching "truth" and then"Truth" in my fiddle link.

VTH Writings

oiver555 commented 3 years ago

I figured out the issue by using regex and .match() method properly.