Skip to content

hasura/ndc-elasticsearch

Elasticsearch Connector

Docs ndc-hub License

With this connector, Hasura allows you to instantly create a real-time GraphQL API on top of your documents in Elasticsearch. This connector supports Elasticsearch functionalities listed in the table below, allowing for efficient and scalable data operations. Additionally, you will benefit from all the powerful features of Hasura’s Data Delivery Network (DDN) platform, including query pushdown capabilities that delegate all query operations to the Elasticsearch, thereby enhancing query optimization and performance.

This connector is built using the Go Data Connector SDK and implements the Data Connector Spec.

Docs for the Elasticsearch data connector:

Features

Below, you'll find a matrix of all supported features for the Elasticsearch connector:

Feature Supported
Native Queries
Native Mutations
Filter / Search via term
Filter / Search via terms
Filter / Search via match
Filter / Search via match_bool_prefix
Filter / Search via match_phrase
Filter / Search via prefix
Filter / Search via range
Filter / Search via regexp
Filter / Search via wildcard
Filter / Search via terms_set
Filter / Search via intervals
Filter / Search via query_string
Filter / Search via simple_query_string
Filter / Search via fuzzy
Simple Aggregation
Sort
Paginate via offset
Paginate via search_after
Distinct
Enums
Default Values
User-defined Functions
Index Aliases
Field Aliases
Multi Fields
Runtime Fields
Field Analyzers

Getting Started

Please see Getting Started with Elasticsearch on Hasura DDN to instantly get a GraphQL API on Elasticsearch by connecting it to Hasura DDN.

Detailed Documentation

Please checkout out the detailed documentation.

Contributing

Check out our contributing guide for more details.

License

The Elasticsearch connector is available under the Apache License 2.0.