Class PutMappingRequest

java.lang.Object
org.elasticsearch.client.TimedRequest
org.elasticsearch.client.indices.PutMappingRequest
All Implemented Interfaces:
IndicesRequest, Validatable, ToXContent, ToXContentObject

public class PutMappingRequest
extends TimedRequest
implements IndicesRequest, ToXContentObject
Put a mapping definition into one or more indices. If an index already contains mappings, the new mappings will be merged with the existing one. If there are elements that cannot be merged, the request will be rejected.