Class GetInferenceFieldsAction.Response

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted
Enclosing class:
GetInferenceFieldsAction

public static class GetInferenceFieldsAction.Response extends ActionResponse

A response containing an inference fields map and, if a query was specified in the GetInferenceFieldsAction.Request, the inference results for those fields.

The inference fields map key is a concrete index name. The value is a list of GetInferenceFieldsAction.ExtendedInferenceFieldMetadata, representing the metadata for all matching inference fields in that index.

The inference results map key is an inference ID. The value is the inference results from the inference endpoint that the inference ID resolves to. If no query was specified in the GetInferenceFieldsAction.Request, this will be an empty map.