manastech / middleman-search

LunrJS-based search for Middleman
MIT License
58 stars 31 forks source link

Update to Lunr 2.0.3 #29

Open sn3p opened 7 years ago

sn3p commented 7 years ago

Closes https://github.com/manastech/middleman-search/issues/25

After implementing the new Lunr API changes all seems fine, and the specified pages are indexed. But after refreshing search.json in the browser was empty again.

@matiasgarciaisaia maybe you have some insights on what might be the problem?

gerwitz commented 7 years ago

I am using this PR in production. So, hearty +1

sn3p commented 7 years ago

Then maybe the problem was with my setup, good to know 👍 Maybe this is production ready after all. @matiasgarciaisaia what do you think?

Before merging we might want to:

sn3p commented 7 years ago

@matiasgarciaisaia would you consider minifying lunr.js manually on every update for now?

If you don't mind we can get this PR merged 💃

westonganger commented 6 years ago

Please merge this. Searching is severely impaired using the old version.

tnir commented 2 years ago

I hope someone from this Org merge this too 🙏