I was reading through this article and it said that
Note that IDF is dependent on the query term (T) and the database as a whole. In particular, it does not vary from document to document. Therefore, IDF will have no effect on 1-word queries.
I don't quite get this. If TF-IDF(T) = TF * log(N/dbCount[T])
why doesn't it have effect on a 1 word query?