Moved lunr index building to web worker