Run api report and add minimal tsdoc.

Signed-off-by: Charles Lowell <cowboyd@frontside.com>
This commit is contained in:
Charles Lowell
2021-12-14 20:36:03 +02:00
parent 71472b7bd8
commit 5515862338
@@ -107,6 +107,11 @@ export class ElasticSearchSearchEngine implements SearchEngine {
);
}
/**
* Create a custom search client from the derived elastic search
* configuration. This need not be the same client that the engine uses
* internally.
*/
newClient<T>(create: (options: ElasticSearchClientOptions) => T): T {
return create(this.elasticSearchClientOptions);
}