Stored handling of document lengths in index

--> This makes BM25 work