The use of Lunr with Eleventy by way of Netlify Serverless Purposes – Section Two

A couple of days in the past I posted ("The use of Lunr with Eleventy by way of Netlify Serverless Purposes") about how you have to use Lunr by way of serverless purposes. The considering was once that it will assist in making Lunr extra helpful for massive content material websites. In a "standard" Lunr instance, you load your knowledge and consumer all within the browser, this means that indexing numerous content material would not be very effecient. That submit demonstrated that you just completely may just run Lunr in a serverless serve as, but it surely stricken me that the index was once being recreated on each seek.