Opensearch dashboards.opensearchservicestart.legacy
Home > opensearch-dashboards > OpenSearchServiceStart > legacy
OpenSearchServiceStart.legacy property
Warning: This API is now obsolete.
Provided for the backward compatibility. Switch to the new opensearch client as soon as https://github.com/elastic/kibana/issues/35508 done.
Signature:
legacy: {
readonly config$: Observable<OpenSearchConfig>;
readonly createClient: (type: string, clientConfig?: Partial<LegacyOpenSearchClientConfig>) => ILegacyCustomClusterClient;
readonly client: ILegacyClusterClient;
};