Type

Documents are divided into various logical types for example, order document, product document, customer document, and so on. Instead of creating three separate order, product, and customer indices, a single index can be logically divided into order, product and customer types. In RDBMS analogy, a type is nothing but a Table in a database. So, a type is a logical partition of an index.

Type is deprecated in Elasticsearch version 6.0.

Get Modern Big Data Processing with Hadoop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.