import { HttpStart } from 'src/core/public' ; import { LegacyFetchHandlers } from '../../../common/search/search_source' ; internal export function getCallMsearch ( { http } ) { return async ( { body , signal } ) => { return http . post ( '/internal/_msearch' , { body : JSON . stringify ( body ) , signal , } ) ; } ; }