DEV Community

Discussion on: Need search for your website? THIS is the easiest way to do it!

Collapse
 
epsi profile image
E.R. Nurwijayadi

You do not need lunr. Simple fetch from whatwg is enough.

🕷 epsi-rns.gitlab.io/ssg/2020/10/01/...

Native SSG Search

Collapse
 
savvasstephnds profile image
Savvas Stephanides

Lunr offers much more powerful tools which make searching better, like weighing and scoring. Your solution is OK, however I get results on Javascript when I search for “Java”

Collapse
 
epsi profile image
E.R. Nurwijayadi

Thank you for reply.

That is true, for better feature, we can utilize library.