mapping1 [ElasticSearch] mapping mapping 은 관계형 데이터 베이스에서 스키마와 동일합니다. type을 지정해야 데이터를 안전하게 처리할 수 있기때문에mapping은 필수적입니다. "1"+1 와 같은 불상사를 막기위해서 우선 classes 라는 index 를 만들고 시작하겠습니다.curl -XPUT -k -u elastic:elastic https://localhost:9200/classes 그런 다음 아래의 자료를 이용해서 mapping 해보세요.curl -XPUT -k -u elastic:elastic -H "Content-Type: application/json" https://localhost:9200/classes/_mapping -d @classesRating_mapping.jsonhttps://github.com/Hon.. 2025. 3. 23. 이전 1 다음