Performs a search operation using the provided query and options.
The search query to be executed.
An object containing optional parameters for the search.
A promise that resolves to the search result.
Performs a search operation using the provided query and options.