5 ms·
The example (http://lunrjs.com/example/ http://lunrjs.com/example/) indexes 100 stackoverflow questions, some of which are relatively long. If indexing perform
by olivernn 14y ago
The example (http://lunrjs.com/example/ http://lunrjs.com/example/) indexes 100 stackoverflow questions, some of which are relatively long.
If indexing performance starts to become an issue the whole search index can be moved into a web-worker, which prevents indexing from blocking the rest of the page.