Class MultiTermVectorsOperation
java.lang.Object
co.elastic.clients.elasticsearch.core.mtermvectors.MultiTermVectorsOperation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class MultiTermVectorsOperation
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MultiTermVectorsOperation>Json deserializer forMultiTermVectorsOperation -
Method Summary
Modifier and TypeMethodDescriptionfinal JsonDatadoc()An artificial document (a document not present in the index) for which you want to retrieve term vectors.fields()Comma-separated list or wildcard expressions of fields to include in the statistics.final BooleanIftrue, the response includes the document count, sum of document frequencies, and sum of total term frequencies.final Filterfilter()Filter terms based on their tf-idf scores.final Stringid()The ID of the document.final Stringindex()The index of the document.static MultiTermVectorsOperationfinal Booleanoffsets()Iftrue, the response includes term offsets.final Booleanpayloads()Iftrue, the response includes term payloads.final BooleanIftrue, the response includes term positions.final Stringrouting()Custom value used to route operations to a specific shard.voidserialize(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 BooleanIf true, the response includes term frequency and document frequency.toString()final Longversion()Iftrue, returns the document version as part of a hit.final VersionTypeSpecific version type.
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiTermVectorsOperation
-
-
Method Details
-
of
public static MultiTermVectorsOperation of(Function<MultiTermVectorsOperation.Builder, ObjectBuilder<MultiTermVectorsOperation>> fn) -
id
The ID of the document.API name:
_id -
index
The index of the document.API name:
_index -
doc
An artificial document (a document not present in the index) for which you want to retrieve term vectors.API name:
doc -
fields
Comma-separated list or wildcard expressions of fields to include in the statistics. Used as the default list unless a specific field list is provided in thecompletion_fieldsorfielddata_fieldsparameters.API name:
fields -
fieldStatistics
Iftrue, the response includes the document count, sum of document frequencies, and sum of total term frequencies.API name:
field_statistics -
filter
Filter terms based on their tf-idf scores.API name:
filter -
offsets
Iftrue, the response includes term offsets.API name:
offsets -
payloads
Iftrue, the response includes term payloads.API name:
payloads -
positions
Iftrue, the response includes term positions.API name:
positions -
routing
Custom value used to route operations to a specific shard.API name:
routing -
termStatistics
If true, the response includes term frequency and document frequency.API name:
term_statistics -
version
Iftrue, returns the document version as part of a hit.API name:
version -
versionType
Specific version type.API name:
version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMultiTermVectorsOperationDeserializer
protected static void setupMultiTermVectorsOperationDeserializer(ObjectDeserializer<MultiTermVectorsOperation.Builder> op)
-