미분류

Announcing Elasticsearch Plugin 2.1

I’m pleased to announce the general availability of Couchbase Transport Plugin for Elasticsearch version 2.1, usually called the Elasticsearch Plugin for short.

The Elasticsearch Plugin 2.1 provides new functionality, fixes some bugs, and expands compatibility to several additional  Elasticsearch releases, including Elasticsearch 1.5.2, 1.6, and the latest version, 1.7.x.   This release of the Elasticsearch Plugin is compatible with our previous Couchbase Server releases 2.5 to 3.1.  We’re working on establishing compatibility with our own latest major release, Couchbase Server 4.0, and we expect to have that done and verified soon.  If you’re the adventuresome type  and you can’t wait to try the Elasticsearch Plugin 2.1 with Couchbase Server 4.0 in your development environment, please read MB-16244 before you start. For a full listing of Elasticsearch plugin versions and their product compatibilities, please consult the Github project page.

New features in this release:

Filter documents coming in from Couchbase that you do not want to index

Keeping the Elasticsearch index small can result in better performance, and this release now provides a new filter capability to help you do this.  Now you can create a filter in the Elasticsearch Plugin that applies a regular expression to the document keys.  This filter can use either a blacklist approach (exclude all documents with keys that match a particular regular expression) or a whitelist approach (include only documents whose keys match a particular regular expression). Note that all documents are still shipped to the Elasticsearch node by Couchbase, but the regular expression you create lets you prevent unwanted documents from getting into the index.

Ignore deletes from XDCR in Elasticsearch

Some users want to keep documents searchable in Elasticsearch even after they have been deleted from Couchbase.  This might apply, for example, when a customer is using Couchbase as a cache or the first of a number of persistence layers. In order to support this use case, a new feature was added that allows Elasticsearch to ignore deletes from XDCR.  For example, let’s say you use a document TTL of 1 day in Couchbase. Document A gets replicated to Elasticsearch, and then gets deleted from Couchbase when 24 hours passes. By default, that delete mutation will be replicated to Elasticsearch, which will then  delete the document from the index. But some customers don’t care if the original document is deleted from Couchbase – they still want to be able to search for it in Elasticsearch. By setting telling Couchbase to ignore deletes from XDCR, no delete message will be sent to Elasticsearch. Be aware that if you do this, all the delete messages from Couchbase will be ignored, not just the ones related to TTL.

Download the plug-in: 

https://packages.couchbase.com.s3.amazonaws.com/releases/elastic-search-adapter/2.1.1/elasticsearch-transport-couchbase-2.1.1.zip

Documentation:

https://developer.couchbase.com/documentation/server/4.0/connectors/elasticsearch-2.1/elastic-intro.html

Step-by-step instructions for installing:

https://developer.couchbase.com/documentation/server/4.0/connectors/elasticsearch-2.1/install-intro.html

Release Notes: 

https://developer.couchbase.com/documentation/server/4.0/connectors/elasticsearch-2.1/release-notes.html#elastic-release-notes

이 기사 공유하기

작가

Will Gardella is Director of Product Management for analytics at Couchbase. Previously, he was a product manager in the big data platform team at HP, a senior director of product management for SAP HANA, and the senior director of SAP Research’s global Big Data program focused on big data and machine learning.

댓글 남기기

카우치베이스 카펠라를 시작할 준비가 되셨나요?

개발 시작하기

NoSQL을 탐색하고, 리소스를 찾아보고, 튜토리얼을 시작하려면 개발자 포털을 확인하세요.

카펠라 프리 사용하기

단 몇 번의 클릭으로 카우치베이스(Couchbase)를 직접 체험해 보세요. Capella DBaaS는 시작하기 가장 쉽고 빠른 방법입니다.

연락해

Couchbase 제품군에 대해 더 알고 싶으신가요? 저희가 도와드리겠습니다.