added Searchfactory for get/search request