Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 724 Bytes

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

File metadata and controls

13 lines (8 loc) · 724 Bytes

Home > kibana-plugin-plugins-data-server > 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, caller: APICaller, search: ISearchGeneric) => ISearchStrategy<T>;