{"id":24308911,"url":"https://github.com/hendisantika/spring-boot-elasticsearch-sample1","last_synced_at":"2026-05-08T09:32:08.243Z","repository":{"id":268155845,"uuid":"903482356","full_name":"hendisantika/spring-boot-elasticsearch-sample1","owner":"hendisantika","description":"Spring Boot Elasticsearch Sample1","archived":false,"fork":false,"pushed_at":"2026-05-01T23:09:23.000Z","size":251,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-02T01:12:33.569Z","etag":null,"topics":["elasticsearch","integration-tests","spring-boot","testcontainers"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hendisantika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-14T18:01:23.000Z","updated_at":"2026-05-01T23:09:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"52ca22c6-85b2-4f32-8487-f8714da55bd7","html_url":"https://github.com/hendisantika/spring-boot-elasticsearch-sample1","commit_stats":null,"previous_names":["hendisantika/spring-boot-elasticsearch-sample1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hendisantika/spring-boot-elasticsearch-sample1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendisantika%2Fspring-boot-elasticsearch-sample1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendisantika%2Fspring-boot-elasticsearch-sample1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendisantika%2Fspring-boot-elasticsearch-sample1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendisantika%2Fspring-boot-elasticsearch-sample1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hendisantika","download_url":"https://codeload.github.com/hendisantika/spring-boot-elasticsearch-sample1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendisantika%2Fspring-boot-elasticsearch-sample1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32774751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["elasticsearch","integration-tests","spring-boot","testcontainers"],"created_at":"2025-01-17T05:11:54.955Z","updated_at":"2026-05-08T09:32:08.224Z","avatar_url":"https://github.com/hendisantika.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-elasticsearch-sample1\n\n### Introduction to Elasticsearch\n\nElasticsearch is a powerful and widely-used open-source, Lucene-based search and analytics engine. It is designed for\nstoring, searching, and analyzing large volumes of data quickly and in near real-time.\n\nBelow are some of the key features of Elasticsearch:\n\n* Full-Text Search: Elasticsearch excels at full-text search. It’s capable of indexing and searching through large\n  amounts of unstructured or semi-structured text data efficiently.\n* JSON Documents: Data in Elasticsearch is stored in the form of JSON documents. Each document is stored in an index,\n  which is conceptually similar to a database table in the relational database world. This makes Elasticsearch\n  schema-less, allowing us to index and search data without a predefined structure.\n* Querying: Elasticsearch offers a rich and flexible query language that allows us to perform simple to complex\n  searches. We can filter, aggregate, and sort data using various query types, such as term queries, match queries,\n  range queries, and more.\n* Analyzers and Tokenizers: Elasticsearch includes powerful text analysis features like analyzers and tokenizers that\n  can break down text into tokens for efficient search and indexing. It supports multiple languages and custom\n  analyzers.\n\n### Using Docker\n\n```shell\ndocker run --name elasticsearch-container -d -p 9200:9200 -p 9300:9300 /\n-e \"discovery.type=single-node\" -e \"xpack.security.enabled=false\" /\ndocker.elastic.co/elasticsearch/elasticsearch:8.16.1\n```\n\nFor demo purposes, we will install Elasticsearch using Docker. The following docker-compose.yml creates a single-node\nElasticsearch server. We expose the server at port ‘9200‘ so that our application can connect to it.\n\n```shell\nservices:\n  elasticsearch:\n    image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1\n    container_name: elasticsearch-container\n    ports:\n      - \"9200:9200\"\n    environment:\n      - discovery.type=single-node\n      - xpack.security.enabled=false\n```\n\nElasticsearch 8 comes with SSL/TLS enabled by default, to disable the security we use the environment variable\n“xpack.security.enabled=false”. If security remains enabled, configuring the Elasticsearch client will require setting\nup an SSL connection.\n\nOnce the server is up, hit the URL – http://localhost:9200/, we should see something like the below –\n\n```json\n{\n  \"name\": \"992e6b8bf7a5\",\n  \"cluster_name\": \"docker-cluster\",\n  \"cluster_uuid\": \"RxXotwWrTd2lzQBJmQ5gqA\",\n  \"version\": {\n    \"number\": \"8.16.1\",\n    \"build_flavor\": \"default\",\n    \"build_type\": \"docker\",\n    \"build_hash\": \"f8edfccba429b6477927a7c1ce1bc6729521305e\",\n    \"build_date\": \"2023-06-05T21:32:25.188464208Z\",\n    \"build_snapshot\": false,\n    \"lucene_version\": \"9.6.0\",\n    \"minimum_wire_compatibility_version\": \"7.17.0\",\n    \"minimum_index_compatibility_version\": \"7.0.0\"\n  },\n  \"tagline\": \"You Know, for Search\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendisantika%2Fspring-boot-elasticsearch-sample1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendisantika%2Fspring-boot-elasticsearch-sample1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendisantika%2Fspring-boot-elasticsearch-sample1/lists"}