Update 8

2013.09.16 - 번역 - Elasticsearch from the Bottom Up, Part 1 ...

UPDATE: This article refers to our hosted Elasticsearch offering by an older name, Found. Please note that Found is now known as Elastic Cloud.이 게시물은 기존에 Found라는 이름으로 제공된 Elasticsearch 서비스에 관한 것이다. Found은 이제 Elasticsearch Cloud로 알려져 있다.In this article series, we look at Elasticsearch from a new perspective. We'll start at the "bottom" (or close enough!) of the many abstraction levels, and gradua..

Blog 2019.01.05

1-03-06. Updating a Whole Document

Documents in Elasticsearch are immutable; we cannot change them. Instead, if we need to update an existing document, we reindex or replace it, which we can do using the same index API that we have already discussed in Indexing a Document.Elasticsearch에서 document는 불변 이다. document를 변경할 수 없다. 대신, 기존의 document를 업데이트하려면, reindex 또는 replace해야 한다. Indexing a Document에서 이미 이야기했던 것과 동일한 index API를 사용할 수 ..

1-03-08. Deleting a Document

The syntax for deleting a document follows the same pattern that we have seen already, but uses the DELETE method :document를 삭제하는 문법은 우리가 이미 보았던 것과 동일한 형태를 가진다. 하지만, DELETE method를 사용한다.DELETE /website/blog/123COPY AS CURLVIEW IN SENSE If the document is found, Elasticsearch will return an HTTP response code of 200 OK and a response body like the following. Note that the _version number has been..

1-03-11. Partial Updates to Documents

In Updating a Whole Document, we said that the way to update a document is to retrieve it, change it, and then reindex the whole document. This is true. However, using the update API, we can make partial updates like incrementing a counter in a single request.Updating a Whole Document에서, document를 업데이트하는 방식은 document를 가져와서 수정하고, 전체 document를 다시 색인 한다고 언급했다. 이것은 사실이다. 그러나 update API를 사용하면, 단일 req..

1-03-13. Cheaper in Bulk

In the same way that mget allows us to retrieve multiple documents at once, the bulk API allows us to make multiple create, index, update, or delete requests in a single step. This is particularly useful if you need to index a data stream such as log events, which can be queued up and indexed in batches of hundreds or thousands.mget 이 다수의 document를 한번에 가져오는 것과 마찬가지로, bulk API는 다수의 create, index,..

1-04-5. Partial Updates to a Document

The update API , as shown in Figure 11, “document의 부분적 업데이트”, combines the read and write patterns explained previously.Figure 11, “document의 부분적 업데이트”에서 보듯이, update API는 위에서 설명한 읽기와 쓰기 형태의 의 조합이다.Figure 11. document의 부분적 업데이트 Here is the sequence of steps used to perform a partial update on a document:document의 부분적인 업데이트를 수행하는데 사용되는 일련의 과정을 나열하였다.The client sends an update request to Node 1.클라이..

1-10-03. Index Settings

There are many many knobs that you can twiddle to customize index behavior, which you can read about in the Index Modules reference documentation, but…index의 동작을 조절하기 위한, 아주 많은 변수가 있다. Index Modules reference documentation에서 참고할 수 있다. 그러나…Elasticsearch comes with good defaults. Don’t twiddle these knobs until you understand what they do and why you should change them.Elasticsearch는 좋은 기본값을 가지고 있..