make it work under different lunr pipelines