elasticsearch에 실수로 long time 쿼리를 실행했지만... 요청을 더 이상 실행하고 싶지 않다면, 재시작을 하는 것이 좋다. 다. 





만약 elasticsearch 2.x 이상의 버전을 사용하고 있다면..다음을 참조한다. 


https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html



GET _tasks 호출 후, 해당 task_id를 찾은 후 POST _tasks/node_id:task_id/_cancel를 호출한다..


Posted by '김용환'
,