!
49
Elasticsearch is…
An open source, distributed, scalable, highly available, document-oriented,
RESTful
, full text search engine with real-time search and
analytics capabilities
$ curl -XPUT http://localhost:9200/books/book/1 -d '
{
"title" : "Elasticsearch Guide",
"author" : "Kim",
"date" : "2014-05-01",
"pages" : 250
}’ -H 'Content-Type: application/json'
{"_index":"books","_type":"book","_id":"1","_version":1,"created":true}
host
port
index
type
document id
method