Class TemplateConfig
java.lang.Object
co.elastic.clients.elasticsearch.core.msearch_template.TemplateConfig
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TemplateConfig>Json deserializer forTemplateConfig -
Method Summary
Modifier and TypeMethodDescriptionfinal Booleanexplain()API name:explainfinal Stringid()ID of the search template to use.static TemplateConfigparams()API name:paramsfinal Booleanprofile()API name:profilevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsource()An inline search template.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTemplateConfig
-
-
Method Details
-
of
-
explain
API name:explain -
id
ID of the search template to use. If no source is specified, this parameter is required.API name:
id -
params
API name:params -
profile
API name:profile -
source
An inline search template. Supports the same parameters as the search API's request body. Also supports Mustache variables. If no id is specified, this parameter is required.API name:
source -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTemplateConfigDeserializer
protected static void setupTemplateConfigDeserializer(ObjectDeserializer<TemplateConfig.Builder> op)
-