https://github.com/yangboz/spring-boot-elasticsearch-lire-docker
Spring-boot+ElasticSearch+LIRE+SwaggerUI RESTful.
https://github.com/yangboz/spring-boot-elasticsearch-lire-docker
architecture docker elasticsearch elasticsearch-lire facial-analysis lire spring-boot swagger swagger-ui
Last synced: 7 months ago
JSON representation
Spring-boot+ElasticSearch+LIRE+SwaggerUI RESTful.
- Host: GitHub
- URL: https://github.com/yangboz/spring-boot-elasticsearch-lire-docker
- Owner: yangboz
- License: mit
- Created: 2015-10-15T07:43:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T15:21:32.000Z (almost 8 years ago)
- Last Synced: 2025-02-28T22:36:02.631Z (8 months ago)
- Topics: architecture, docker, elasticsearch, elasticsearch-lire, facial-analysis, lire, spring-boot, swagger, swagger-ui
- Language: JavaScript
- Homepage: http://smartkit.info
- Size: 17.6 MB
- Stars: 7
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring-boot-elasticsearch-LIRE-docker
Walk through Spring-boot with ElasticSearch microservices RESTful.
1.How to install ElasticSearch-2.4.1?
MacOSX:
`
brew install elasticsearch
`
Ubuntu:
`
wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.4.1/elasticsearch-2.4.1.deb
`
`
dpkg -i elasticsearch-2.4.1.deb
`Docker:
`
docker pull smartkit/eip-ielk:s241_l240_k461
`
2.How to start up ElasticSearch?MacOSX:
`
elasticsearch --config=/usr/local/opt/elasticsearch/libexec/config/elasticsearch.yml
`
Ubuntu:
`
bin/elasticsearch -Des.insecure.allow.root=true -d
`
Docker:
`
docker run smartkit/eip-ielk:s241_l240_k461
`3.How to start up Spring-boot?
git clone https://github.com/yangboz/spring-boot-elasticsearch-LIRE-docker
cd spring-boot-elasticsearch-LIRE-docker
mvn spring-boot:run4.Docker containerize it
mvn package && java -jar target/spring-boot-elasticsearch-LIRE-docker-0.0.1.jar
mvn package docker:build -DpushImage
5.Where is the RESTful result?
http://localhost:8084/api/static/index.html
6.Facial analysis(flandmark)
6.1.Face Detection
6.2.Facial Feature Extraction
6.4.Face Recognition/Classification
# References:
ElasticSearch: https://www.elastic.co/
LIRE: https://github.com/dermotte/lire
Spring-boot-elasticsearch 1.0: http://www.javacodegeeks.com/2015/03/head-first-elastic-search-on-java-with-spring-boot-and-data-features.html
Upgrade to Elasticsearch 2.0: https://jira.spring.io/browse/DATAES-211
ElasticSearch-LIRE:
https://www.elastic.co/blog/found-getting-started-with-lire-and-elasticsearch
https://github.com/yangboz/elasticsearch-imageStr
Spring-boot-docker: https://spring.io/guides/gs/spring-boot-docker/
ElasticSearch with Hadoop: https://www.elastic.co/products/hadoop
https://db-blog.web.cern.ch/blog/prasanth-kothuri/2016-03-integrating-hadoop-and-elasticsearch-part-1-loading-and-querying
Facial Analysis: http://openimaj.org/tutorial/pt07.html
# Troubleshoots
http://ignaciosuay.com/how-to-connect-spring-boot-to-elasticsearch-2-x-x/
https://github.com/spring-projects/spring-data-elasticsearch/wiki/Spring-Data-Elasticsearch---Spring-Boot---version-matrix
http://stackoverflow.com/questions/35157642/nosuchmethoderror-com-google-common-util-concurrent-moreexecutors-directexecuto
http://stackoverflow.com/questions/33544863/java-elasticsearch-client-always-null
https://github.com/spring-projects/spring-boot/issues/4341
http://stackoverflow.com/questions/38937412/spring-boot-embedded-tomcat-not-starting
# TODO
1.Using Index/Mapping/SearchRequestBuilder(ElasticSearch API)/ImageQueryBuilder(ElasticSearch-imageStr plugin) to re-factory.
2.Using MicroService architecture to seperate openIMAJ and ElasticSearch services.