Class MappingLimitSettingsTotalFields
java.lang.Object
co.elastic.clients.elasticsearch.indices.MappingLimitSettingsTotalFields
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class MappingLimitSettingsTotalFields
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MappingLimitSettingsTotalFields>
Json deserializer forMappingLimitSettingsTotalFields
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
This setting determines what happens when a dynamically mapped field would exceed the total fields limit.final String
limit()
The maximum number of fields in an index.of
(Function<MappingLimitSettingsTotalFields.Builder, ObjectBuilder<MappingLimitSettingsTotalFields>> fn) void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupMappingLimitSettingsTotalFieldsDeserializer
(ObjectDeserializer<MappingLimitSettingsTotalFields.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forMappingLimitSettingsTotalFields
-
-
Method Details
-
of
-
limit
The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit. The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance degradations and memory issues, especially in clusters with a high load or few resources.API name:
limit
-
ignoreDynamicBeyondLimit
This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set to false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail with the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail. Instead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false. The fields that were not added to the mapping will be added to the _ignored field.API name:
ignore_dynamic_beyond_limit
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMappingLimitSettingsTotalFieldsDeserializer
protected static void setupMappingLimitSettingsTotalFieldsDeserializer(ObjectDeserializer<MappingLimitSettingsTotalFields.Builder> op)
-