modified InvertedIndexMapper