When the query is very long and the first feature always obtains a value of log(0.5), so it does not have any discriminative ability.
the second feature helps because it can capture some co-occurrence information no matter how long the query is.