Difference between type and _type fields

Hi,
I can see 2 fields type and _type.
type, I created from LSF configuration and _type is something I can see fomr kibana json object.
Even if their value is same, what is difference between the two?

br,
Sunil

_type is something that ES uses for mappings.

Hi,
OK.
But why does it creates _type when I have instructed in LSF/LS configuration to create type field already?
Why cant it use type for mapping?
Any diagram to illustrate construct of document, index, type will be helpful.

br,
Sunil

ES always creates this, it is a metadata field it requires.
If you only want one then you should set the _type field and then remove the other type field.

https://www.elastic.co/guide/en/elasticsearch/reference/2.3/mapping-type-field.html

Thank you very much :slight_smile: