해당 프로젝트는 Spring Data Elasticsearch 에 대한 Index/Query POC(Proof of concept) 입니다.
아래 서비스에 대한 POC 를 지원합니다.
- Elasticsearch
- Opensearch
This project is an Index/Query POC (Proof of Concept) for Spring Data Elasticsearch.
We support POC for the following services:
- Elasticsearch
- Opensearch
$ https://github.com/currenjin/elasticsearch-poc
$ make start-elasticsearch
* jar is required.
$ make start-opensearch
* jar is required.
PORT Number
- Elasticsearch client : 8081
- Opensearch client : 8082
$ curl -d '{"id":"test","name":"currenjin","phoneNumber":"01012341234"}' \
-H "Content-Type: application/json" \
-X POST http://localhost:{PORT}/
$ curl -X GET "http://localhost:{PORT}/test"
$ curl -X GET "http://localhost:{PORT}?name=currenjin"
$ curl -X GET "http://localhost:{PORT}?phoneNumber=01012341234"