I'm using Elastic Cloud and the Elastic Search UI. I'm trying to understand how the default search request is created by the onSearch function. For example I'm trying to see why the search-term is queried as a 'should' multi_match. I want this to be a 'must'. I did it by changing the requestBody just before the query was sent. I'm hoping there is less fragile way to do it.
Is there documentation on how the onSearch function creates requests? If not can you point me at the code to review to understand it..