Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Filter
- elementAt
- animation
- mongoose
- docker-compose
- map
- Kotlin
- ReactNative
- collection
- Swift
- LiveData
- Generic
- list
- 생명주기
- class component
- MINUS
- CLASS
- recyclerview
- enum
- ConstraintLayout
- Interface
- react native
- Service
- Foreign Key
- AWS
- union
- lifecycle
- docker
- function
- vuex
Archives
- Today
- Total
개발 일기
Cluster 본문
Cluster 상태 체크
curl -XGET localhost:9200/_cluster/health?pretty=true
처음에는 Cluster 상태가 Yellow 입니다. 그 이유는 replica 가 primary당 하나가 존재하는데 현재는 하나의 노드가 실행중이므로 replica를 배정할수가 없어서 생기고 있습니다.
따라서 나중에 다른 노드가 포함이 되면 Green Status로 변경이 됩니다.
추가를 안하고 Green으로 변경하고 싶으면
curl -XPUT 'localhost:9200/_settings?pretty' -d '{"index":{"number_of_replicas": 0}}' -H 'Content-Type: application/json'
replica을 0으로 만드는 방법이 있습니다.
index 정보 조회 :)
curl -XGET localhost:9200/_cat/indices?v
shard 정보 조회 :)
curl -XGET localhost:9200/_cat/shards?v
'검색엔진 > elastic search' 카테고리의 다른 글
Elastic 검색 방법 (0) | 2020.04.08 |
---|---|
Elastic Search 용어 정의 :) (0) | 2020.04.05 |
Elastic Search 설치 (0) | 2020.04.04 |
Comments