After elasticsearch 6.0, 1 index contains only 1 type.
So what's the difference between type and index?
Books say that-:
Index~Database
Type~Table
Document~Record
And if you see this figure, type and index seems redundant to each other, when 1 index=1 type.
I don't get the need of both of them.
This example would even go to confuse me further-:
{
"_id": 3,
“_type”: [“your index type”],
“_index”: [“your index name”],
"_source":{
"age": 28,
"name": ["daniel”],
"year":1989,
}
}
type and index mentioned here are even confusing.
