From d72f293467119af1c864cbe9f8ba8284beebf389 Mon Sep 17 00:00:00 2001 From: sinkyoungdeok Date: Thu, 9 May 2024 01:43:33 +0900 Subject: [PATCH] =?UTF-8?q?[KAN-42]=20es=20batch=20=EC=9E=91=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csv-to-es.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv-to-es.py b/csv-to-es.py index 37a49c2..b5521ee 100644 --- a/csv-to-es.py +++ b/csv-to-es.py @@ -10,7 +10,7 @@ index_name = f"restaurant_{now.strftime('%Y_%m_%d_%H-%M')}" # Elasticsearch 클라이언트 설정 -es = Elasticsearch("http://localhost:9200") +es = Elasticsearch("es-singlenode:9200") # 새 인덱스 생성 및 매핑 설정 if not es.indices.exists(index=index_name):