Class GetFieldMappingsRequest

  • All Implemented Interfaces:
    Validatable

    public class GetFieldMappingsRequest
    extends Object
    implements Validatable
    Request the mappings of specific fields
    • Constructor Detail

      • GetFieldMappingsRequest

        public GetFieldMappingsRequest()
    • Method Detail

      • local

        public GetFieldMappingsRequest local​(boolean local)
        Indicate whether the receiving node should operate based on local index information or forward requests, where needed, to other nodes. If running locally, request will not raise errors if running locally & missing indices.
      • local

        public boolean local()
      • indices

        public String[] indices()
      • fields

        public String[] fields()
      • includeDefaults

        public boolean includeDefaults()
      • includeDefaults

        public GetFieldMappingsRequest includeDefaults​(boolean includeDefaults)
        Indicates whether default mapping settings should be returned