New Weighting Schemes for Document Ranking and Ranked Query Suggestion