Skip to content

currenjin/spring-data-elasticsearch-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spring-Data-Elasticsearch-POC

ν•΄λ‹Ή ν”„λ‘œμ νŠΈλŠ” 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

Diagram

image

Run

Clone project

$ https://github.com/currenjin/elasticsearch-poc

Elasticsearch

$ make start-elasticsearch * jar is required.

Opensearch

$ make start-opensearch * jar is required.

Invoke api

PORT Number

  • Elasticsearch client : 8081
  • Opensearch client : 8082

In(Index)

$ curl -d '{"id":"test","name":"currenjin","phoneNumber":"01012341234"}' \
-H "Content-Type: application/json" \
-X POST http://localhost:{PORT}/

Out(Query)

$ curl -X GET "http://localhost:{PORT}/test"
$ curl -X GET "http://localhost:{PORT}?name=currenjin"
$ curl -X GET "http://localhost:{PORT}?phoneNumber=01012341234"

About

πŸ“€ This project is an Index/Query POC (Proof of Concept) for Spring Data Elasticsearch. (Elasticsearch, Opensearch)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published