primaryTerm
The primary term assigned to the document for the indexing operation.
API name: _primary_term
JsonpSerializableGetResponsestatic final JsonpDeserializer<GetResult<Object>>GetResult based on named deserializers provided
by the calling JsonMapper.protected GetResult(GetResult.AbstractBuilder<TDocument,?> builder) static <TDocument>
JsonpDeserializer<GetResult<TDocument>>createGetResultDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) fields()stored_fields parameter is set to true and
found is true, it contains the document fields
stored in the index.final booleanfound()static <TDocument>
GetResult<TDocument>getResultOf(Function<GetResult.Builder<TDocument>,ObjectBuilder<GetResult<TDocument>>> fn) final Stringid()ignored()_ignoredfinal Stringindex()final Longfinal Stringrouting()final LongseqNo()voidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static <TDocument,
BuilderT extends GetResult.AbstractBuilder<TDocument,
BuilderT>>
void setupGetResultDeserializer(ObjectDeserializer<BuilderT> op,
JsonpDeserializer<TDocument> tDocumentDeserializer) final TDocumentsource()found is true, it contains the document data
formatted in JSON.toString()final Longversion()GetResult based on named deserializers provided
by the calling JsonMapper.
API name: _index
stored_fields parameter is set to true and
found is true, it contains the document fields
stored in the index.
API name: fields
_ignored
API name: found
API name: _id
API name: _primary_term
API name: _routing
API name: _seq_no
found is true, it contains the document data
formatted in JSON. If the _source parameter is set to
false or the stored_fields parameter is set to
true, it is excluded.
API name: _source
API name: _version
serialize in interface JsonpSerializable