add index in search