elastic: 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.

Version: 1.2.2
Imports: utils, curl (≥ 2.2), crul (≥ 0.9.0), jsonlite, R6
Suggests: testthat
Published: 2026-01-25
DOI: 10.32614/CRAN.package.elastic
Author: Ralf Herold ORCID iD [cre], Scott Chamberlain ORCID iD [aut]
Maintainer: Ralf Herold <ralf.herold at mailbox.org>
BugReports: https://github.com/rfhb/elastic/issues
License: MIT + file LICENSE
URL: https://rfhb.github.io/elastic/, https://www.elastic.co/docs/solutions/search
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: Databases
CRAN checks: elastic results

Documentation:

Reference manual: elastic.html , elastic.pdf

Downloads:

Package source: elastic_1.2.2.tar.gz
Windows binaries: r-devel: elastic_1.2.2.zip, r-release: elastic_1.2.2.zip, r-oldrel: elastic_1.2.2.zip
macOS binaries: r-release (arm64): elastic_1.2.2.tgz, r-oldrel (arm64): elastic_1.2.2.tgz, r-release (x86_64): elastic_1.2.2.tgz, r-oldrel (x86_64): elastic_1.2.2.tgz
Old sources: elastic archive

Reverse dependencies:

Reverse suggests: lgrExtra, nodbi

Linking:

Please use the canonical form https://CRAN.R-project.org/package=elastic to link to this page.