Introduction to Information Retrieval: Computing scores in a complete search system