Package org.elasticsearch.client.indices
Class GetFieldMappingsRequest
java.lang.Object
org.elasticsearch.client.indices.GetFieldMappingsRequest
- All Implemented Interfaces:
Validatable
Request the mappings of specific fields
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
fields()
boolean
includeDefaults
(boolean includeDefaults) Indicates whether default mapping settings should be returnedString[]
indices()
org.elasticsearch.action.support.IndicesOptions
indicesOptions
(org.elasticsearch.action.support.IndicesOptions indicesOptions) boolean
local()
Deprecated.local
(boolean local) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
GetFieldMappingsRequest
public GetFieldMappingsRequest()
-
-
Method Details
-
local
Deprecated.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. -
indices
-
indicesOptions
public GetFieldMappingsRequest indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) -
indices
-
indicesOptions
public org.elasticsearch.action.support.IndicesOptions indicesOptions() -
fields
- Parameters:
fields
- a list of fields to retrieve the mapping for
-
fields
-
includeDefaults
public boolean includeDefaults() -
includeDefaults
Indicates whether default mapping settings should be returned
-