Sample project to practice elastic search indexing, document search and bucket aggregations.
make es
make run
Index jobs from resources/jobs.json
file
curl http://localhost:8080/index-jobs
Search jobs by keyword
curl "http://localhost:8080/search-jobs?keyword=engineer" | jq
Get jobs of a department
curl "http://localhost:8080/jobs-by-department?isocode=FR-92" | jq