search: set input rev for indexed results
Created by: keegancsmith
Missed this when implementing multi branch search for indexed search. We go through all the effort to find the input revision for generating the resource URL. However, we forget to set the input revision leading to it not being shown in search results.
Note: This will be cherry-picked onto the 3.18 release branch.