Skip to main content

ElasticSearchClientWrapper.getAliases()

Home > @backstage/plugin-search-backend-module-elasticsearch > ElasticSearchClientWrapper > getAliases

Warning: This API is now obsolete.

unused by the ElasticSearch Engine, will be removed in the future

Signature:

getAliases(options: {
aliases: string[];
}): import("@opensearch-project/opensearch/lib/Transport").TransportRequestPromise<import("@opensearch-project/opensearch").ApiResponse<Record<string, any>, unknown>> | import("@elastic/elasticsearch/lib/Transport").TransportRequestPromise<import("@elastic/elasticsearch").ApiResponse<Record<string, any>, unknown>>;

Parameters

Parameter

Type

Description

options

{ aliases: string[]; }

**Returns:**

import("@opensearch-project/opensearch/lib/Transport").TransportRequestPromise<import("@opensearch-project/opensearch").ApiResponse<Record<string, any>, unknown>> | import("@elastic/elasticsearch/lib/Transport").TransportRequestPromise<import("@elastic/elasticsearch").ApiResponse<Record<string, any>, unknown>>