This change integrates the new positions data with the forward and reverse indexes. The ranking code is still only partially re-written.