{"id":13666299,"url":"https://github.com/elastic/elasticsearch-java","last_synced_at":"2026-04-01T17:23:05.265Z","repository":{"id":36955839,"uuid":"365244061","full_name":"elastic/elasticsearch-java","owner":"elastic","description":"Official Elasticsearch Java Client","archived":false,"fork":false,"pushed_at":"2026-03-17T17:04:52.000Z","size":55783,"stargazers_count":516,"open_issues_count":42,"forks_count":285,"subscribers_count":240,"default_branch":"main","last_synced_at":"2026-03-18T06:08:54.135Z","etag":null,"topics":["client","elasticsearch","java","rest","search"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elastic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":"NOTICE.txt","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-07T13:34:18.000Z","updated_at":"2026-03-16T09:06:03.000Z","dependencies_parsed_at":"2026-03-17T19:04:20.959Z","dependency_job_id":null,"html_url":"https://github.com/elastic/elasticsearch-java","commit_stats":{"total_commits":400,"total_committers":32,"mean_commits":12.5,"dds":"0.36250000000000004","last_synced_commit":"7c46ddd904f31cab870ad5804003af29408ffe6d"},"previous_names":[],"tags_count":180,"template":false,"template_full_name":null,"purl":"pkg:github/elastic/elasticsearch-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Felasticsearch-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Felasticsearch-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Felasticsearch-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Felasticsearch-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastic","download_url":"https://codeload.github.com/elastic/elasticsearch-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastic%2Felasticsearch-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["client","elasticsearch","java","rest","search"],"created_at":"2024-08-02T06:01:14.527Z","updated_at":"2026-04-01T17:23:05.241Z","avatar_url":"https://github.com/elastic.png","language":"Java","readme":"\u003cimg alt=\"Elastic logo\" align=\"right\" width=\"auto\" height=\"auto\" src=\"https://www.elastic.co/static-res/images/elastic-logo-200.png\"\u003e\n\n# Elasticsearch Java Client\nElasticsearch is a distributed, RESTful search engine optimized for speed and relevance on production-scale workloads. You can use Elasticsearch to perform real-time search over massive datasets for applications including Vector search, Full-text search, Logs, Metrics, Application Performance Monitoring, Security Logs and more ! \n\nThis repo has the official Java client for [Elasticsearch](https://github.com/elastic/elasticsearch).\n\nThe Java client for Elasticsearch provides strongly typed requests and responses for all Elasticsearch APIs. It delegates protocol handling to an http client such as the [Elasticsearch Low Level REST client](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/java-rest-low.html) that takes care of all transport-level concerns (http connection establishment and pooling, retries, etc).\n\nThe `docs/design` folder contains records of the major decisions in the design of the API. Most notably:\n\n- Object construction is based on the [builder pattern](https://www.informit.com/articles/article.aspx?p=1216151).\n- Nested objects can be constructed with builder lambdas, allowing for clean and expressive DSL-like code.\n- Optional values are represented as `null` with `@Nullable` annotations instead of the newer  `Optional`, the Java ecosystem being still very null-based.\n\n## Installation\n\n**[Download the latest version of Elasticsearch](https://www.elastic.co/downloads/elasticsearch)**\nor\n**[sign-up](https://cloud.elastic.co/registration?elektra=en-ess-sign-up-page)**\n**for a free trial of Elastic Cloud**.\n\nRefer to the [Installation section](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_installation)\nof the getting started documentation.\n### Try Elasticsearch and Kibana locally\n\nIf you want to try Elasticsearch and Kibana locally, you can run the following command:\n\n```bash\ncurl -fsSL https://elastic.co/start-local | sh\n```\n\nThis will run Elasticsearch at [http://localhost:9200](http://localhost:9200) and Kibana at [http://localhost:5601](http://localhost:5601).\n\nMore information is available [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html).\n\n## Connecting\n\nRefer to the [Connecting section](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_connecting)\nof the getting started documentation.\n\n## Compatibility\n\nThe Elasticsearch client is compatible with currently maintained Java versions.\n\nThe Java client is forward compatible; meaning that the client supports\ncommunicating with greater or equal minor versions of Elasticsearch without\nbreaking. It does not mean that the client automatically supports new features\nof newer Elasticsearch versions; it is only possible after a release of a new\nclient version. For example, a 8.12 client version won't automatically support\nthe new features of the 8.13 version of Elasticsearch, the 8.13 client version\nis required for that. Elasticsearch language clients are only backwards\ncompatible with default distributions and without guarantees made.\n\n| Elasticsearch Version | Elasticsearch-Java Branch | Supported |\n|-----------------------|---------------------------|-----------|\n| main                  | main                      |           |\n| 9.x                   | 9.x                       | 9.x       |\n| 8.x                   | 8.x                       | 8.17      |\n\nJava client releases are synchronized with the Elasticsearch server for major and minor versions, \nwhile patches are released independently, to allow for faster bugfixes. This does not affect compatibility: \nfor example, version 8.13.x of the client will be compatible with versions of the server 8.13.y where y \u003e= x. \n\n## Usage\n\n- [Creating an index](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_creating_an_index)\n- [Indexing a document](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_indexing_documents)\n- [Getting documents](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_getting_documents)\n- [Searching documents](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_searching_documents)\n- [Updating documents](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_updating_documents)\n- [Deleting documents](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_deleting_documents)\n- [Deleting an index](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/getting-started-java.html#_deleting_an_index)\n\n## Documentation\n\nPlease refer to [the full documentation on elastic.co](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html) for comprehensive information.\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## Licence\n\nThis software is licensed under the [Apache License 2.0](https://github.com/elastic/elasticsearch-java/blob/main/LICENSE.txt).\n","funding_links":[],"categories":["Clients \u0026 SDKs"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Felasticsearch-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastic%2Felasticsearch-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastic%2Felasticsearch-java/lists"}