exercise 2 Part 2 Optimising vector space retrieval