improved performance for single term queries