It will contain all content for pages that are live (in my case that's only 2 so far: http://bart.degoe.de/js/search/index.json), so your user will download all the content you want to have available for search on your site on page load, and then, depending on your index configuration, load more data in memory.
Lunr has an analysis pipeline that will generate a bunch of tokens for queries to match on, and you can do pretty much anything there.
It won't scale to thousands of pages, but I don't have thousands of them anyway :-)
[+] [-] abhv|8 years ago|reply
[+] [-] bartdegoede|8 years ago|reply
Lunr has an analysis pipeline that will generate a bunch of tokens for queries to match on, and you can do pretty much anything there.
It won't scale to thousands of pages, but I don't have thousands of them anyway :-)