Export find index function