Introduction to Information Retrieval http://nlp.stanford.edu/IR-book/ This is a free digital book, very good so far.