when running ElasticSearch, we start up a node
Node : instance of ElasticSearch that stores part of data
Cluster : collection of related nodes that together contain all of data
each unit of data stored within a cluster is called a document
Documents : JSON objects
when indexing a document, original json object is stored with added metadata
Documents are organized within an index
cluster exposes a REST API to communicate by
ex1) check cluster health
GET /_cluster/health
ex2) search
GET /.kibana/_search {
"query": {
"match_all": {}
}
}
ex1) check cluster health
$curl -xGET "http://localhost:9200/_cluster/health"
ex2) search
$curl -xGET "http://localhost:9200/.kibana/_search" -H "Content-Type : application/json" -d"{ "query": { "match-all": {} } }"