Basically complete weighting indexing and position indexing mapreduce