docvalue 5

4-10-1. Doc Values

Aggregations work via a data structure known as doc values (briefly introduced in Doc Values Intro).Doc values are what make aggregations fast, efficient and memory-friendly, so it is useful to understand how they work.aggregation은 doc values (Doc Values Intro에서 간단히 소개된)로 알려진 데이터 구조를 통해, 동작한다.doc values는 aggregation을 빠르게, 효율적으로, 메모리 친화적으로 만든다. 때문에, 그것이 동작하는 방법을 이해하는 것은 중요하다.Doc values exists bec..

2.X/4. Aggregations 2017.09.23

4-10-2. Deep Dive on Doc Values

The last section opened by saying doc values are "fast, efficient and memory-friendly". Those are some nice marketing buzzwords, but how do doc values actually work?지난 장에서 doc value는 "빠르고, 효율적이며, 메모리 친화적" 이라고 언급했었다. 약간은 멋진 마케팅 전문용어이긴 하지만, 실제로 doc values는 어떻게 동작할까?Doc values are generated at index-time, alongside the creation of the inverted index. That means doc values are generated on a per-seg..

2.X/4. Aggregations 2017.09.23

4-10-4. Limiting Memory Usage

Once analyzed strings have been loaded into fielddata, they will sit there until evicted (or your node crashes). For that reason it is important to keep an eye on this memory usage, understand how and when it loads, and how you can limit the impact on your cluster.일단 analyzed string이 fielddata에 로드되면, 그것들은 추출될 (또는 node가 crash)) 때까지 그 곳에 있을 것이다. 이런 이유로 이런 메모리 사용을 관찰하고, 그것이 언제 어떻게 로드되는지를 이해하고, clus..

2.X/4. Aggregations 2017.09.23

6-3. Parent-Child Relationship

The parent-child relationship is similar in nature to the nested model: both allow you to associate one entity with another. The difference is that, with nested objects, all entities live within the same document while, with parent-child, the parent and children are completely separate documents.parent-child relationship(부모-자식 관계)은 본질적으로 nested model과 유사하다. 둘 모두는 어떤 entity와 또 다른 것을 관련짓는다. 차이점은 n..

6-3-7. Practical Considerations

Parent-child joins can be a useful technique for managing relationships when index-time performance is more important than search-time performance, but it comes at a significant cost. Parent-child queries can be 5 to 10 times slower than the equivalent nested query!부모-자식의 join은, 색인 시의 성능이 검색 시의 성능보다 중요한 경우에, 관계를 관리하는 유용한 기술이다. 그러나 상당한 비용이 발생한다. 부모-자식 query는 동급의 nested query에 비해 5 ~ 10배 정도 더 느릴 수..