An R DSL for Elasticsearch
You’re fine running ES locally on your machine, but be careful just throwing up ES on a server with a public IP address - make sure to think about security.
Instructions for installing, upgrading, starting Elasticsearch, and loading example data at ropensci/elastic
elastic::connect() is used before doing anything else to set the connection details to your remote or local elasticdslsearch store. The details created by
connect() are written to your options for the current session, and are used by
Filters are boolean queries and are much more computationally efficient than queries.