paging 3

1-05-3. Pagination

Our preceding empty search told us that 14 documents in the cluster match our (empty) query. But there were only 10 documents in the hits array. How can we see the other documents?이전의 empty search에서, cluster에는 (empty) query에 일치하는 14개의 document가 있다. 그런데 hits 배열에는 10개의 document만 있었다. 다른 document는 어떻게 볼 수 있을까?In the same way as SQL uses the LIMIT keyword to return a single "page" of results, Elasti..

1-08-4. Doc Values Intro

Our final topic in this chapter is about an internal aspect of Elasticsearch. While we don’t demonstrate any new techniques here, doc values are an important topic that we will refer to repeatedly, and is something that you should be aware of.이 장의 마지막 주제는 Elasticsearch의 내부에 대한 것이다. 여기에서는 새로운 기술을 보여주지는 않지만, doc values는 반복적으로 언급할 중요한 주제이며, 알아야 한다.When you sort on a field, Elasticsearch needs acces..

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