add relevance feedback support in TextIndex class