json 16

2017.05.08 - 번역 - Indexing your CSV files with Elasticsearch Ingest Node ...

The idea of this article is to go over the capabilities of some of the features of Ingest node, which will be combined to parse a Comma Separated Value (CSV) file. We will go over what is an Ingest Node, what type of operations one can perform, and show a specific example starting from scratch to parse and display CSV data using the Elasticsearch and Kibana. 이 글의 목적은 CSV(Comma Separated Value) f..

Blog 2019.01.07

2016.12.14 - 번역 - State of the official Elasticsearch Java clients ...

Java programmers have two choices when communicating with Elasticsearch: they can use either the REST API over HTTP, or the internal Java API used by Elasticsearch itself for node-to-node communication.Java programmer는 Elasticsearch와 통신 할 경우, 두 가지 중 하나를 선택을 할 수 있다. HTTP를 통한 REST API 또는 Elasticsearch 자체에서 node 간 통신을 위해 사용하는 내부 Java API를 사용할 수 있다.So, what's the difference between these two APIs? W..

Blog 2019.01.07

1-01-02. Talking to Elasticsearch

How you talk to Elasticsearch depends on whether you are using Java.Elasticsearch와 통신하는 방법은 Java 사용 여부에 달려 있다.Java APIeditIf you are using Java, Elasticsearch comes with two built-in clients that you can use in your code:만약 Java 를 사용한다면, Elasticsearch는, 코드에서 사용할 수 있는, 두 종류의 기본 클라이언트를 제공한다.Node clientThe node client joins a local cluster as a non data node. In other words, it doesn’t hold any dat..

1-01-03. Document Oriented

Objects in an application are seldom just a simple list of keys and values. More often than not, they are complex data structures that may contain dates, geo locations, other objects, or arrays of values.응용프로그램의 오브젝트가 단순히 간단한 Key/Value의 목록인 경우는 거의 없다. 보통 오브젝트는 날짜, 위치정보, 다른 오브젝트, 값의 배열을 포함하고 있는 복잡한 구조이다.Sooner or later you’re going to want to store these objects in a database. Trying to do this w..

1-01-08. Search with Query DSL

Query-string search is handy for ad hoc searches from the command line, but it has its limitations (see Search Lite). Elasticsearch provides a rich, flexible, query language called the query DSL, whichallows us to build much more complicated, robust queries.query-string 검색은 command line에서 바로(ad hoc) 검색하기에 편리하다. 하지만 한계가 있다(Search Lite 참조). Elasticsearch는 풍부하고, 유연한, query DSL 이라는 query language를 제..

1-03-01. What Is a Document?

Most entities or objects in most applications can be serialized into a JSON object, with keys and values. A key is the name of a field or property, and a value can be a string, a number, a Boolean, another object, an array of values, or some other specialized type such as a string representing a date or an object representing a geolocation:대부분의 응용프로그램에서 대부분의 요소나 오브젝트는 key/value를 가진 JSON 오브젝트로 나타..

1-03-04. Retrieving a Document

To get the document out of Elasticsearch, we use the same _index, _type, and _id, but the HTTP verb changes to GET:Elasticsearch에서 document를 가져오기 위해서는, 동일한 _index, _type, _id 를 사용해야 한다. 그러나 HTTP verb는 GET 으로 바꾸어야 한다.GET /website/blog/123?prettyCOPY AS CURLVIEW IN SENSE The response includes the by-now-familiar metadata elements, plus the _source field, which contains the original JSON document t..

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,..