---
title: "Aerospike Elasticsearch connector"
description: "Stream Aerospike DB data to Elasticsearch for real-time text search using XDR and Change Notifications."
---

# Aerospike Elasticsearch connector

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

The Aerospike Elasticsearch connector streams data from Aerospike Database to Elasticsearch. This gives developers access to Elasticsearch’s powerful text search capabilities on data in Aerospike.

 ![Architecture for Aerospike Connect for Elasticsearch](https://aerospike.com/docs/_astro/es-overview.DnGJcu9D_1W4RAT.png)

Using the power of Aerospike’s Cross Datacenter Replication (XDR) and Change Notification services, the connector seamlessly integrates Aerospike and Elasticsearch with a low-latency connection. Aerospike data is made available in an Elasticsearch index in near-real-time, thanks to its use of Change Notifications to monitor and asynchronously replicate Aerospike data and data mutations. XDR’s granularity allows developers many ways to fine-tune replication requirements in order to optimize your Elasticsearch cluster’s memory resource usage.

## Use Cases

The Aerospike Elasticsearch connector is useful for developers who want to add text search capabilities to their real-time applications, as well as many other use cases, including:

-   Relevance and personalization applications.
-   Mining text for online user behavior analysis.
-   Providing observability and operational analytics using logs.
-   Building ML model training sets.

## Mapping between Aerospike and Elasticsearch models

| RDBMS | Aerospike | Elasticsearch |
| --- | --- | --- |
| Database | Namespace | Index |
| Table | Set | Index (version 6.0.0+) |
| Row | Record | Document |
| Column | Bin | Fields |
|  | Partitions | Shards |
| Schema |  | Mappings |
| Primary key | Primary key | document\_id |

_Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries._