That just changes the way you retrieve the data, it should not be too hard to figure out what to do, in both cases you retrieve data but how you retrieve it has different syntax using the repository pattern. Study existing features that implement search and if all else fails you can implement data methods just for use with the indexbuilder.
Hope it helps,
Joe