Build structure for search request.
Receive a more generic class Throwable.