# 엘라스틱서치에서 특정 데이터 조회 및 수정
- 엘라스틱서치에서 특정 데이터를 조회하고 수정하는 방법은 여러가지가 존재한다.
- 엘라스틱서치 메뉴바에서 "Management > Dev Tools"에서 수정하는 방법을 작성한다.
- 해당 엘라스틱서치 버전: 8.7
# 특정 조건의 데이터 조회
# 데이터 조회 성공 결과
- hits > total > value를 통해 조회된 전체 데이터가 10000개인 것을 확인 가능하다.
- 조회된 데이터의 값은 hits > hits에서 확인 가능하다.
# 특정 조건의 데이터 수정
# 데이터 수정 성공 결과
- 변경된 데이터 수 (total)가 101개인 것을 확인 가능하다.
# 참고
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting-using.html
How to write scripts | Elasticsearch Guide [8.7] | Elastic
If you compile too many unique scripts within a short time, Elasticsearch rejects the new dynamic scripts with a circuit_breaking_exception error.
www.elastic.co
'IT > 엘라스틱서치(elasticsearch)' 카테고리의 다른 글
엘라스틱서치 인덱스 생성 (elastic-search index create) (0) | 2023.04.27 |
---|