java 6

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

v2.2 Breaking changes

This section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 2.2.여기에서는 application을 Elasticsearch 2.2 로 migration할 경우 알아야 할 변경 사항에 대해 이야기한다.Geo Point TypeeditThe geo_point format has been changed to reduce index size and the time required to both index and query geo point data. To make these performance improvements possible both doc_values and..

v2.0-16. Java API changes

Transport API constructioneditThe TransportClient construction code has changed, it now uses the builder pattern. Instead of:TransportClient 생성자 code가 변경되었다. 이제는 builder pattern을 사용한다. 아래 code 대신,Settings settings = Settings.settingsBuilder() .put("cluster.name", "myClusterName").build(); Client client = new TransportClient(settings);Use the following:다음 code를 사용한다.Settings settings = Settings.s..

1-01. You Know, for Search…

Elasticsearch is an open-source search engine built on top of Apache Lucene™, a full-text search-engine library. Lucene is arguably the most advanced, high-performance, and fully featured search engine library in existence today—both open source and proprietary.Elasticsearch는 Apache Lucene™을 기반으로 만들어진 검색 엔진이며, full-text 검색 엔진 라이브러리이다. Lucene은, Open Source와 상업용 양쪽 모두를 살펴보더라도, 오늘날 현존하는 가장 고급스러운, 고..

1-01-01. Installing and Running Elasticsearch

The easiest way to understand what Elasticsearch can do for you is to play with it, so let’s get started!Elasticsearch로 무엇을 할 수 있는지를 이해하는 가장 쉬운 방법은 동작시켜 보는 것이다. 자, 시작해 보자!The only requirement for installing Elasticsearch is a recent version of Java. Preferably, you should install the latest version of the official Java from www.java.com.Elasticsearch를 설치하기 위한 요구 조건은 Java 최신 버전뿐 이다. 가급적이면, www.ja..

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