Dynamic 4

1-10-07. The Root Object

The uppermost level of a mapping is known as the root object. It may contain the following:mapping의 최상위 단계는 root object 로 알려져 있다. 아래와 같은 것을 포함하고 있다.A properties section, which lists the mapping for each field that a document may containdocument가 가지게 될, 각 field의 mapping을 나열하는 properties 부분.Various metadata fields, all of which start with an underscore, such as _type, _id, and _source_type, _id, _..

1-10-08. Dynamic Mapping

When Elasticsearch encounters a previously unknown field in a document, it uses dynamic mappingto determine the datatype for the field and automatically adds the new field to the type mapping.Elasticsearch가 document에서 이전에 알려지지 않은 field를 만난 경우, field의 데이터 type을 결정하고, 자동으로 type mapping에 새로운 field를 추가하기 위해, dynamic mapping을 사용한다.Sometimes this is the desired behavior and sometimes it isn’t. Perhaps..

1-10-09. Customizing Dynamic Mapping

If you know that you are going to be adding new fields on the fly, you probably want to leave dynamic mapping enabled. At times, though, the dynamic mapping "rules" can be a bit blunt. Fortunately, there are settings that you can use to customize these rules to better suit your data.새로운 field를 추가하려는 것을, 지금 알고 있다면, dynamic mapping을 비활성화하고 싶을 것이다. 때때로, 동적 mapping "규칙" 은 조금 무딜 수 있다. 다행히도, 데이터에 더 적합..