Elasticsearch
is a document-oriented database, it stores everything as document. If you query
elastic search, it returns json document as result.
For example,
query (GET _count) returns a json response like below.
{
"count": 1439,
"_shards": {
"total": 2,
"successful": 2,
"failed": 0
}
}
What is JSON Document?
In simple terms, if you serialize an object into JSON, it is known as JSON document.
In simple terms, if you serialize an object into JSON, it is known as JSON document.
No comments:
Post a Comment