Respond with BadRequest for invalid ES queries

[refs #82248052]
Remove some console.log
Send BadRequest when search fails.

[refs #82248052]

This won't work with our SearchResult workflow, as we handle errors on
the backend. But this approach is Better and it'll work with plugins and
in the DocumentList.