Home > kibana-plugin-plugins-data-server > TSearchStrategyProvider
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>;