where the summation is over all wordsw in the vocabulary V . The second term on
the right-hand side of this equation does not depend on the document, and can be
ignored for ranking. Given a simple maximum likelihood estimate for P(w|R),
based on the frequency in the query text (fw;Q) and the number of words in the
query (|Q|), the score for a document will be: