Code for a search engine over the CACM collection.