{"id":21517822,"url":"https://github.com/brokenhandsio/elasticsearch-nio-client","last_synced_at":"2026-03-08T05:31:34.236Z","repository":{"id":43430797,"uuid":"341639631","full_name":"brokenhandsio/elasticsearch-nio-client","owner":"brokenhandsio","description":"A Swift Elasticsearch Client built on top of SwiftNIO","archived":false,"fork":false,"pushed_at":"2025-11-21T11:49:47.000Z","size":176,"stargazers_count":32,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-25T21:26:14.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brokenhandsio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-23T17:46:57.000Z","updated_at":"2025-11-21T11:49:50.000Z","dependencies_parsed_at":"2023-11-09T11:07:16.932Z","dependency_job_id":"5ee2f7cf-882d-4217-8923-b7dda8f3bfce","html_url":"https://github.com/brokenhandsio/elasticsearch-nio-client","commit_stats":{"total_commits":79,"total_committers":3,"mean_commits":"26.333333333333332","dds":0.189873417721519,"last_synced_commit":"47a96d449a3b5734ad78bd2c9c64bdfcfbfaddd9"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/brokenhandsio/elasticsearch-nio-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Felasticsearch-nio-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Felasticsearch-nio-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Felasticsearch-nio-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Felasticsearch-nio-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brokenhandsio","download_url":"https://codeload.github.com/brokenhandsio/elasticsearch-nio-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Felasticsearch-nio-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30246724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:45:29.641Z","updated_at":"2026-03-08T05:31:34.206Z","avatar_url":"https://github.com/brokenhandsio.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elasticsearch NIO Client\n\nAn Elasticsearch client for Swift based on [SwiftNIO](https://github.com/apple/swift-nio) and [AsyncHTTPClient](https://github.com/swift-server/async-http-client). If you're interested in using this with AWS you may want to check out [Soto Elasticsearch NIO Client](https://github.com/brokenhandsio/soto-elasticsearch-nio-client).\n\n## Installation and Usage\n\nFirst add the library as a dependency in your dependencies array in **Package.swift**:\n\n```swift\n.package(url: \"https://github.com/brokenhandsio/elasticsearch-nio-client.git\", from: \"0.1.0\"),\n```\n\nThen add the dependency to the target you require it in:\n\n```swift\n.target(\n    name: \"App\",\n    dependencies: [\n        // ...\n        .product(name: \"ElasticsearchNIOClient\", package: \"elasticsearch-nio-client\")\n    ],\n)\n```\n\nCreating an instance of `ElasticsearchClient` depends on your environment, but you should be able to work it out depending on what you need. For Vapor, for example, you'd do something like:\n\n```swift\nlet elasticsearchClient = ElasticsearchClient(httpClient: req.application.http.client.shared, eventLoop: req.eventLoop, logger: req.logger, host: host)\n```\n\n## Supported Features\n\nCurrently the library supports:\n\n* Document create\n* Document update\n* Document delete\n* Document search\n* Document count\n* Document retrieve\n* Bulk create/update/delete/index\n* Index delete\n* Index exists\n* Scripting\n\nIf you'd like to add extra functionality, either [open an issue](https://github.com/brokenhandsio/elasticsearch-nio-client/issues/new) and raise a PR. Any contributions are gratefully accepted!\n\n## Elasticsearch Version\n\nThe library has been tested again Elasticsearch 8.4, but should work for the most part against older versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokenhandsio%2Felasticsearch-nio-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrokenhandsio%2Felasticsearch-nio-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokenhandsio%2Felasticsearch-nio-client/lists"}