카테고리 없음

[elasticsearch 7] 인덱스 복사하기

'김용환' 2019. 9. 25. 17:16


인덱스를 복사하려면 reindex 커맨드를 사용한다.



curl -X POST http://gift-es-dev.daumkakao.io:9200/_reindex  -H 'Content-Type: application/json' -d'

{

  "source": {

    "index": "google_items"

  },

  "dest": {

    "index": google_item_test"

  }

}'