got search working by location on index