elastic: elastic

Description About Quick start Security Elasticsearch changes index names Author(s)

Description

An Elasticsearch R client.

About

This package gives you access to local or remote Elasticsearch databases.

Quick start

If you're connecting to a Elasticsearch server already running, skip ahead to Search

Install Elasticsearch (on OSX)

For help on other platforms, see https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html

Start Elasticsearch

Initialization

The function connect() is used before doing anything else to set the connection details to your remote or local elasticsearch store. The details created by connect() are written to your options for the current session, and are used by elastic functions.

Search

The main way to search Elasticsearch is via the Search() function. E.g.:

Search()

Security

Elasticsearch is insecure out of the box! If you are running Elasticsearch locally on your own machine without exposing a port to the outside world, no worries, but if you install on a server with a public IP address, take the necessary precautions. There are a few options:

Elasticsearch changes

As of Elasticsearch v2:

index names

The following are illegal characters, and can not be used in index names or types: \\, /, *, ?, <, >, |, , (comma). double quote and whitespace are also illegal.

Author(s)

Scott Chamberlain


elastic documentation built on March 17, 2021, 1:07 a.m.

Related to elastic in elastic...