{"id":17842036,"url":"https://github.com/yangboz/spring-boot-elasticsearch-lire-docker","last_synced_at":"2025-03-20T02:31:01.347Z","repository":{"id":139103528,"uuid":"44301575","full_name":"yangboz/spring-boot-elasticsearch-LIRE-docker","owner":"yangboz","description":"Spring-boot+ElasticSearch+LIRE+SwaggerUI RESTful.","archived":false,"fork":false,"pushed_at":"2017-11-01T15:21:32.000Z","size":18427,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T22:36:02.631Z","etag":null,"topics":["architecture","docker","elasticsearch","elasticsearch-lire","facial-analysis","lire","spring-boot","swagger","swagger-ui"],"latest_commit_sha":null,"homepage":"http://smartkit.info","language":"JavaScript","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/yangboz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2015-10-15T07:43:50.000Z","updated_at":"2018-12-12T03:54:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"21c6ab1e-a89d-4e19-a666-f286b50ce03d","html_url":"https://github.com/yangboz/spring-boot-elasticsearch-LIRE-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangboz%2Fspring-boot-elasticsearch-LIRE-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangboz%2Fspring-boot-elasticsearch-LIRE-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangboz%2Fspring-boot-elasticsearch-LIRE-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangboz%2Fspring-boot-elasticsearch-LIRE-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yangboz","download_url":"https://codeload.github.com/yangboz/spring-boot-elasticsearch-LIRE-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041461,"owners_count":20388242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["architecture","docker","elasticsearch","elasticsearch-lire","facial-analysis","lire","spring-boot","swagger","swagger-ui"],"created_at":"2024-10-27T21:09:40.996Z","updated_at":"2025-03-20T02:31:01.342Z","avatar_url":"https://github.com/yangboz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-elasticsearch-LIRE-docker\nWalk through Spring-boot with ElasticSearch microservices RESTful.\n\n![Image of Architecture](https://github.com/yangboz/spring-boot-elasticsearch-LIRE-docker/blob/master/es-hadoop-diagram.jpg)\n\n1.How to install ElasticSearch-2.4.1?\n\n   MacOSX: \n   \n   `\n   brew install elasticsearch\n   `\n   \n   Ubuntu: \n   \n `\n   wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.4.1/elasticsearch-2.4.1.deb\n `\n \n `\n   dpkg -i elasticsearch-2.4.1.deb\n `\n\n  Docker:\n  \n`\n   docker pull smartkit/eip-ielk:s241_l240_k461\n`\n  \n2.How to start up ElasticSearch?\n\n   MacOSX: \n   \n   `\n   elasticsearch --config=/usr/local/opt/elasticsearch/libexec/config/elasticsearch.yml\n   `\n    \n   Ubuntu: \n   `\n   bin/elasticsearch -Des.insecure.allow.root=true -d\n   `\n   \n   Docker:\n  \n`\n   docker run smartkit/eip-ielk:s241_l240_k461\n`\n\n3.How to start up Spring-boot?\n\n    git clone https://github.com/yangboz/spring-boot-elasticsearch-LIRE-docker\n    cd spring-boot-elasticsearch-LIRE-docker\n    mvn spring-boot:run\n\n4.Docker containerize it\n\n    mvn package \u0026\u0026 java -jar target/spring-boot-elasticsearch-LIRE-docker-0.0.1.jar\n\n    mvn package docker:build -DpushImage\n\n\n5.Where is the RESTful result?\n\n    http://localhost:8084/api/static/index.html\n\n6.Facial analysis(flandmark)\n\n6.1.Face Detection\n\n6.2.Facial Feature Extraction\n\n6.4.Face Recognition/Classification\n\n# References:\n\nElasticSearch: https://www.elastic.co/\n\nLIRE: https://github.com/dermotte/lire\n\nSpring-boot-elasticsearch 1.0: http://www.javacodegeeks.com/2015/03/head-first-elastic-search-on-java-with-spring-boot-and-data-features.html\n\nUpgrade to Elasticsearch 2.0: https://jira.spring.io/browse/DATAES-211\n\nElasticSearch-LIRE: \n\nhttps://www.elastic.co/blog/found-getting-started-with-lire-and-elasticsearch\n\nhttps://github.com/yangboz/elasticsearch-imageStr\n\nSpring-boot-docker: https://spring.io/guides/gs/spring-boot-docker/\n\nElasticSearch with Hadoop: https://www.elastic.co/products/hadoop\n\nhttps://db-blog.web.cern.ch/blog/prasanth-kothuri/2016-03-integrating-hadoop-and-elasticsearch-part-1-loading-and-querying\n\nFacial Analysis: http://openimaj.org/tutorial/pt07.html\n\n# Troubleshoots\n\nhttp://ignaciosuay.com/how-to-connect-spring-boot-to-elasticsearch-2-x-x/\n\nhttps://github.com/spring-projects/spring-data-elasticsearch/wiki/Spring-Data-Elasticsearch---Spring-Boot---version-matrix\n\nhttp://stackoverflow.com/questions/35157642/nosuchmethoderror-com-google-common-util-concurrent-moreexecutors-directexecuto\n\nhttp://stackoverflow.com/questions/33544863/java-elasticsearch-client-always-null\n\nhttps://github.com/spring-projects/spring-boot/issues/4341\n\nhttp://stackoverflow.com/questions/38937412/spring-boot-embedded-tomcat-not-starting\n\n# TODO\n\n1.Using Index/Mapping/SearchRequestBuilder(ElasticSearch API)/ImageQueryBuilder(ElasticSearch-imageStr plugin) to re-factory.\n\n2.Using MicroService architecture to seperate openIMAJ and ElasticSearch services.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangboz%2Fspring-boot-elasticsearch-lire-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyangboz%2Fspring-boot-elasticsearch-lire-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangboz%2Fspring-boot-elasticsearch-lire-docker/lists"}