Class SourceFilter
java.lang.Object
co.elastic.clients.elasticsearch.core.search.SourceFilter
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SourceFilter>Json deserializer forSourceFilter -
Method Summary
Modifier and TypeMethodDescriptionexcludes()A list of fields to exclude from the returned source.final BooleanIftrue, vector fields are excluded from the returned source.includes()A list of fields to include in the returned source.static SourceFiltervoidserialize(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 forSourceFilter
-
-
Method Details
-
of
-
excludeVectors
Iftrue, vector fields are excluded from the returned source.This option takes precedence over
includes: any vector field will remain excluded even if it matches anincludesrule.API name:
exclude_vectors -
excludes
A list of fields to exclude from the returned source.API name:
excludes -
includes
A list of fields to include in the returned source.API name:
includes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSourceFilterDeserializer
-