implemented RankerFavorite
updated loadindex to load posting for only query terms
Updated Ranker to return top k results efficiently without sorting all the elements