This module works as a temporary replacement for the graphql-compose-elasticsearch search operation. By the time of developing, we were willing to integrate that module in our solution (at least the search function) but it was presenting some issues. Instead, we derived a GraphQL schema based on the Elasticsearch Node.js client docs for the search functionality as well as examples shown in the graphql-compose-elasticsearch page.
The structure of this module in turn followed a previous solution that we developed to wrap the Prometheus REST API (Prom-Graphql).
ElasticSearch: version 7.x.x