Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Latest commit

 

History

History
13 lines (8 loc) · 681 Bytes

kibana-plugin-plugins-data-public.tsearchstrategyprovider.md

File metadata and controls

13 lines (8 loc) · 681 Bytes

Home > kibana-plugin-plugins-data-public > TSearchStrategyProvider

TSearchStrategyProvider type

Search strategy provider creates an instance of a search strategy with the request handler context bound to it. This way every search strategy can use whatever information they require from the request context.

Signature:

export declare type TSearchStrategyProvider<T extends TStrategyTypes> = (context: ISearchContext) => ISearchStrategy<T>;