tidy up the lunr index