index search working fine