adding favorite Ranker and modified DocumentIndexed