Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Data Elasticsearch • Indexing 35 @Document(indexName = "publications", type = "book", shards = 1, ... class Book { @Id String id; ! ! ! ! ! PUT /publications/book/1 { "title": "Wheel of Time", ... } index type id @Document(indexName = "publications", type = "article", shards = 1, ... class Article { @Id String id;