From 71472b7bd8052f041f4ae78f8233757e730abe56 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 14 Dec 2021 16:52:59 +0200 Subject: [PATCH] Remove tsdoc since it is now in the guide Signed-off-by: Charles Lowell --- .../src/engines/ElasticSearchSearchEngine.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/plugins/search-backend-module-elasticsearch/src/engines/ElasticSearchSearchEngine.ts b/plugins/search-backend-module-elasticsearch/src/engines/ElasticSearchSearchEngine.ts index d4814d37f3..8cb04a8ad7 100644 --- a/plugins/search-backend-module-elasticsearch/src/engines/ElasticSearchSearchEngine.ts +++ b/plugins/search-backend-module-elasticsearch/src/engines/ElasticSearchSearchEngine.ts @@ -107,19 +107,6 @@ export class ElasticSearchSearchEngine implements SearchEngine { ); } - /** - * Re-use the configuration of this search engine in order to construct other - * elastic search clients. This is useful if you want to create a client that - * talks to the same search cluster as your search engine, but you want to - * provide queries and receive results using a completely different format - * such as Relay pagination, or faceted search. - * - * ```javascript - * import { Client } from '@elastic/elastic-search'; - * - * let client = engine.newClient(options => new Client(options)); - * ``` - */ newClient(create: (options: ElasticSearchClientOptions) => T): T { return create(this.elasticSearchClientOptions); }