Basic implementation of Map/Reduce with positions information in index