Updating search service to limit based on dbtype