Class PutMappingRequestBuilder


Builder for a put mapping request
  • Constructor Details

  • Method Details

    • setIndices

      public ... indices)
    • setConcreteIndex

      public PutMappingRequestBuilder setConcreteIndex(Index index)
    • setIndicesOptions

      public PutMappingRequestBuilder setIndicesOptions(IndicesOptions options)
      Specifies what type of requested indices to ignore and wildcard indices expressions.

      For example indices that don't exist.

    • setType

      public  type)
      The type of the mappings.
    • setSource

      public PutMappingRequestBuilder setSource(org.elasticsearch.common.xcontent.XContentBuilder mappingBuilder)
      The mapping source definition.
    • setSource

      public  mappingSource)
      The mapping source definition.
    • setSource

      public  mappingSource, org.elasticsearch.common.xcontent.XContentType xContentType)
      The mapping source definition.
    • setSource

      public ... source)
      A specialized simplified mapping source method, takes the form of simple properties definition: ("field1", "type=string,store=true").