Class ElasticsearchGraphClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.graph.ElasticsearchGraphClient

public class ElasticsearchGraphClient
extends ApiClient
Client for the graph namespace.
  • Constructor Details

    • ElasticsearchGraphClient

      public ElasticsearchGraphClient​(Transport transport)
  • Method Details

    • explore

      public ExploreResponse explore​(ExploreRequest request) throws java.io.IOException
      Explore extracted and summarized information about the documents and terms in an index.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • explore

      public final ExploreResponse explore​(java.util.function.Function<ExploreRequest.Builder,​ObjectBuilder<ExploreRequest>> fn) throws java.io.IOException
      Explore extracted and summarized information about the documents and terms in an index.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co