Interface OpenSearchClientService

All Known Implementing Classes:
OpenSearchComponent

public interface OpenSearchClientService
Service used to get a client to OpenSearch.
Since:
2025.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the OpenSearch client for the given id.
  • Method Details

    • getClient

      OpenSearchClient getClient(String id)
      Gets the OpenSearch client for the given id.
      Parameters:
      id - the client id
      Returns:
      the client configured by OpenSearchClientConfig for the input id, or the default one if it doesn't exist