Get oracle search working.

Yeah, had to duplicate a lot of the code. Should probably generalize it more, but this will do for now.