Delete 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

v2.0-05. CRUD and routing changes

Explicit custom routingeditCustom routing values can no longer be extracted from the document body, but must be specified explicitly as part of the query string, or in the metadata line in the bulk API. See Type meta-fields for an example.사용자 정의 routing value는 더 이상 document body에서 추출할 수 없다. query string의 일부 또는 bulk API에서 metadata line에 명시적으로 지정하해야 한다. Type meta-fields에서 예제를 볼 수 있다.Routing hash f..

1-01-06. Retrieving a Document

Now that we have some data stored in Elasticsearch, we can get to work on the business requirements for this application. The first requirement is the ability to retrieve individual employee data.이제 우리는 Elasticsearch에 저장되어 있는 약간의 데이터를 가지고, 이 응용프로그램의 요구사항에 대한 작업을 할 수 있다. 첫 번째 요구 사항은 직원 개인 데이터를 가져오는 기능이다.This is easy in Elasticsearch. We simply execute an HTTP GET request and specify the address o..

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-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-10-02. Deleting an Index

To delete an index, use the following request:index를 삭제하기 위해서, 아래 request를 사용한다.DELETE /my_indexYou can delete multiple indices with this:아래와 같이, 다수의 indices를 지울 수도 있다.DELETE /index_one,index_two DELETE /index_*You can even delete all indices with this:_모든_ indices를 지울 수도 있다.DELETE /_all DELETE /*For some, the ability to delete all your data with a single command is a very scary prospect. If you..

6-4-09. Retiring Data

As time-based data ages, it becomes less relevant. It’s possible that we will want to see what happened last week, last month, or even last year, but for the most part, we’re interested in only the here and now.시간 기반의 데이터는 오래 될수록, 관련성이 적어진다. 지난 주, 지난 달, 심지어 지난해에 무슨 일이 있었는지 알고 싶을 수도 있지만, 대부분의 경우, 지금, 여기에만 관심이 있다.The nice thing about an index per time frame is that it enables us to easily delete o..