olivernn / lunr.js

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

upgrading lunr in hugo? #371

Closed avonlea closed 5 years ago

avonlea commented 6 years ago

Hugo, the static site generator, comes with lunr 0.7.2.

I tried upgrading to lunr 2.3.2. I created the index differently as described in the getting started - upgrading page.

I'm not able to get search to work though.

I can't even get the very simple index/search('bright') example given in the getting started page working for my website.

I'm not sure how to start debugging this.

avonlea commented 5 years ago

I was able to get lunr 2 to work with Hugo. The Pixaby auto-complete library was causing problems.

(1) If I use the bevacqua horsey library or (2) if I don't use any auto-complete at all, then search with tags and search in general works.

olivernn commented 5 years ago

It sounds like this issue is resolved? Was it a problem in the auto-complete libraries? If there is still something specific to Lunr you want me to look into please comment and I'll re-open.