On recording any will, exemplification, decree, or certificate of dissolution of marriage, the register of deeds shall index the same in the indices of deeds, and as nearly as may be as deeds are indexed, placing the name of the devisor, petitioner, or plaintiff, with the grantors, and the devisee, respondent, or defendant with the grantees.