Information retrieval

Two terms occur equally often in a particular document. Term X appears in nearly every document in the collection, while term Y appears in very few documents. Under a TF-IDF-style ranking model, which term will usually receive the larger document-specific weight?