Class MultiTermVectorsOperation
java.lang.Object
org.opensearch.client.opensearch.core.mtermvectors.MultiTermVectorsOperation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<MultiTermVectorsOperation.Builder,MultiTermVectorsOperation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class MultiTermVectorsOperation
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<MultiTermVectorsOperation.Builder,MultiTermVectorsOperation>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MultiTermVectorsOperation> Json deserializer forMultiTermVectorsOperation -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final JsonDatadoc()An artificial document for which you want to retrieve term vectors.booleanfields()API name:fieldsfinal BooleanWhentrue, the response includes the document count, the sum of the document frequencies, and the sum of the term frequencies.final Filterfilter()API name:filterinthashCode()final Stringid()Required - API name:_idfinal Stringindex()API name:_indexstatic MultiTermVectorsOperationfinal Booleanoffsets()Whentrue, the response includes the term offsets.final Booleanpayloads()Whentrue, the response includes the term payloads.final BooleanWhentrue, the response includes the term positions.final Stringrouting()API name:routingvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupMultiTermVectorsOperationDeserializer(ObjectDeserializer<MultiTermVectorsOperation.Builder> op) final BooleanWhentrue, the response includes the term frequency and the document frequency.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longversion()API name:versionfinal VersionTypeAPI name:version_typeMethods 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.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiTermVectorsOperation
-
-
Method Details
-
of
public static MultiTermVectorsOperation of(Function<MultiTermVectorsOperation.Builder, ObjectBuilder<MultiTermVectorsOperation>> fn) -
doc
An artificial document for which you want to retrieve term vectors.API name:
doc -
fieldStatistics
Whentrue, the response includes the document count, the sum of the document frequencies, and the sum of the term frequencies.API name:
field_statistics -
fields
API name:fields -
filter
API name:filter -
id
Required - API name:_id -
index
API name:_index -
offsets
Whentrue, the response includes the term offsets.API name:
offsets -
payloads
Whentrue, the response includes the term payloads.API name:
payloads -
positions
Whentrue, the response includes the term positions.API name:
positions -
routing
API name:routing -
termStatistics
Whentrue, the response includes the term frequency and the document frequency.API name:
term_statistics -
version
API name:version -
versionType
API name:version_type -
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<MultiTermVectorsOperation.Builder,MultiTermVectorsOperation> - Returns:
- a new builder instance.
-
builder
-
setupMultiTermVectorsOperationDeserializer
protected static void setupMultiTermVectorsOperationDeserializer(ObjectDeserializer<MultiTermVectorsOperation.Builder> op) -
hashCode
public int hashCode() -
equals
-