类 GetFieldMappingsRequest

java.lang.Object
org.easysearch.client.indices.GetFieldMappingsRequest
所有已实现的接口:
Validatable

public class GetFieldMappingsRequest
extends java.lang.Object
implements Validatable
Request the mappings of specific fields
  • 构造器详细资料

    • GetFieldMappingsRequest

      public GetFieldMappingsRequest()
  • 方法详细资料

    • local

      @Deprecated 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

      @Deprecated public boolean local()
      已过时。
    • indices

      public GetFieldMappingsRequest indices​(java.lang.String... indices)
    • indicesOptions

      public GetFieldMappingsRequest indicesOptions​(org.easysearch.action.support.IndicesOptions indicesOptions)
    • indices

      public java.lang.String[] indices()
    • indicesOptions

      public org.easysearch.action.support.IndicesOptions indicesOptions()
    • fields

      public GetFieldMappingsRequest fields​(java.lang.String... fields)
      参数:
      fields - a list of fields to retrieve the mapping for
    • fields

      public java.lang.String[] fields()
    • includeDefaults

      public boolean includeDefaults()
    • includeDefaults

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