     public func search<T: Codable>(_ serachRequest: SearchRequest<T>, completionHandler: @escaping (_ result: Result<SearchResponse<T>, Error>) -> Void) -> Void {
         return self.execute(request: serachRequest, options: .default, completionHandler: completionHandler)
     }
-    
 }
 
 extension ElasticClient {

        self.init(settings: Settings.default)
    }
    
    public func get<T: Codable>(_ getRequest: GetRequest<T>, completionHandler: @escaping (_ result: Result<GetResponse<T>, Error>) -> Void) -> Void {
        return self.execute(request: getRequest, options: .default, completionHandler: completionHandler)
    }

    private let logger = Logger(label: "org.pksprojects.ElasticSwfit.RestClient")
    
    let transport: Transport
    
    private let _settings: Settings
    
    private var clusterClient: ClusterClient?
    private var indicesClient: IndicesClient?
    
    public init(settings: Settings) {
        self.transport = Transport(forHosts: settings.hosts, credentials: settings.credentials, clientAdaptor: settings.clientAdaptor, adaptorConfig: settings.adaptorConfig)
        self._settings = settings
        self.indicesClient = IndicesClient(withClient: self)
        self.clusterClient = ClusterClient(withClient: self)
    }
