graphql-compose-elasticsearch

JSON →
library 5.2.3 ·javascript
verified Jun 7, 2026

graphql-compose-elasticsearch version 5.2.3 is a library that exposes the Elasticsearch REST API via GraphQL. It acts as a proxy to the official elasticsearch-js client, automatically generating GraphQL field configs for all available Elasticsearch methods (search, index, delete, etc.) with params and descriptions. Additionally, it provides a plugin for graphql-compose that derives GraphQL types from Elasticsearch mappings, generating resolvers like search, searchConnection (Relay Cursor Connection), searchPagination, findById, and updateById. It supports Elasticsearch versions 1.7 through 7.x and requires graphql-compose ^7.0.4, ^8.0.0, or ^9.0.0. The library ships TypeScript types and is actively maintained.