java.lang.Object
co.elastic.clients.elasticsearch.indices.resolve_cluster.ResolveClusterInfo
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ResolveClusterInfo extends Object implements JsonpSerializable
Provides information about each cluster request relevant to doing a cross-cluster search.
See Also:
  • Field Details

  • Method Details

    • of

    • connected

      public final boolean connected()
      Required - Whether the remote cluster is connected to the local (querying) cluster.

      API name: connected

    • skipUnavailable

      public final boolean skipUnavailable()
      Required - The skip_unavailable setting for a remote cluster.

      API name: skip_unavailable

    • matchingIndices

      @Nullable public final Boolean matchingIndices()
      Whether the index expression provided in the request matches any indices, aliases or data streams on the cluster.

      API name: matching_indices

    • error

      @Nullable public final String error()
      Provides error messages that are likely to occur if you do a search with this index expression on the specified cluster (for example, lack of security privileges to query an index).

      API name: error

    • version

      @Nullable public final ElasticsearchVersionMinInfo version()
      Provides version information about the cluster.

      API name: version

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupResolveClusterInfoDeserializer

      protected static void setupResolveClusterInfoDeserializer(ObjectDeserializer<ResolveClusterInfo.Builder> op)