Class MatchOnlyTextProperty
java.lang.Object
org.opensearch.client.opensearch._types.mapping.MatchOnlyTextProperty
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PropertyVariant,ToCopyableBuilder<MatchOnlyTextProperty.Builder,MatchOnlyTextProperty>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class MatchOnlyTextProperty
extends Object
implements PropertyVariant, PlainJsonSerializable, ToCopyableBuilder<MatchOnlyTextProperty.Builder,MatchOnlyTextProperty>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MatchOnlyTextProperty> Json deserializer forMatchOnlyTextProperty -
Method Summary
Modifier and TypeMethodDescriptionPropertyvariant kind.builder()copyTo()API name:copy_tobooleanfields()Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.inthashCode()meta()Metadata about the field.static MatchOnlyTextPropertyvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
toPropertyMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMatchOnlyTextProperty
-
-
Method Details
-
of
public static MatchOnlyTextProperty of(Function<MatchOnlyTextProperty.Builder, ObjectBuilder<MatchOnlyTextProperty>> fn) -
_propertyKind
Propertyvariant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
copyTo
API name:copy_to -
fields
Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.API name:
fields -
meta
Metadata about the field.API name:
meta -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MatchOnlyTextProperty.Builder,MatchOnlyTextProperty> - Returns:
- a new builder instance.
-
builder
-
setupMatchOnlyTextPropertyDeserializer
protected static void setupMatchOnlyTextPropertyDeserializer(ObjectDeserializer<MatchOnlyTextProperty.Builder> op) -
hashCode
public int hashCode() -
equals
-