Database Interface to 'Elasticsearch' and 'OpenSearch'

Connect to 'Elasticsearch' and 'OpenSearch', 'NoSQL' databases built on the 'Java' Virtual Machine and using the 'Apache' 'Lucene' library. Interacts with the 'Elasticsearch' 'HTTP' API' (< https://www.elastic.co/elasticsearch/>) and the 'OpenSearch' 'HTTP' 'API' (< https://opensearch.org/>). Includes functions for setting connection details to 'Elasticsearch' and 'OpenSearch' instances, loading bulk data, searching for documents with both 'HTTP' query variables and 'JSON' based body requests. In addition, 'elastic' provides functions for interacting with APIs for 'indices', documents, nodes, clusters, an interface to the cat API, and more.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("elastic")

1.2.2 by Ralf Herold, 9 months ago


https://rfhb.github.io/elastic/, https://www.elastic.co/docs/solutions/search


Report a bug at https://github.com/rfhb/elastic/issues


Browse source code at https://github.com/cran/elastic


Authors: Ralf Herold [cre] , Scott Chamberlain [aut] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports utils, curl, crul, jsonlite, R6

Suggests testthat


Suggested by lgrExtra, nodbi.


See at CRAN