added a interface to the searchclient