Hook up index search properly