Code factorization
A search engine is now parametrized by a document tokenizer