Class IndicesOptions
java.lang.Object
co.elastic.clients.elasticsearch._types.IndicesOptions
- All Implemented Interfaces:
JsonpSerializable
Controls how to deal with unavailable concrete indices (closed or missing),
how wildcard expressions are expanded to actual indices (all, closed or open
indices) and how to deal with wildcard expressions that resolve to no
indices.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndicesOptions>Json deserializer forIndicesOptions -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanA setting that does two separate checks on the index expression.final List<ExpandWildcard>Type of index that wildcard patterns can match.final BooleanIf true, concrete, expanded or aliased indices are ignored when frozen.final BooleanIffalse, the request returns an error if it targets a concrete (non-wildcarded) index, alias, or data stream that is missing, closed, or otherwise unavailable.static IndicesOptionsrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forIndicesOptions
-
-
Method Details
-
of
-
allowNoIndices
A setting that does two separate checks on the index expression. Iffalse, the request returns an error (1) if any wildcard expression (including_alland*) resolves to zero matching indices or (2) if the complete set of resolved indices, aliases or data streams is empty after all expressions are evaluated. Iftrue, index expressions that resolve to no indices are allowed and the request returns an empty result.API name:
allow_no_indices -
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden.API name:
expand_wildcards -
ignoreThrottled
If true, concrete, expanded or aliased indices are ignored when frozen.API name:
ignore_throttled -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
IndicesOptions.Builderinitialized with field values of this instance
-
setupIndicesOptionsDeserializer
protected static void setupIndicesOptionsDeserializer(ObjectDeserializer<IndicesOptions.Builder> op)
-