Revise search raw

@Treora your thoughts, please. I removed the extra commit I caused you to make (sorry, again!) and then I spotted a place where the `Document` tests were using the wrong signature for `search()`. Finally, it seemed like `kwargs` were being passed around in places where they were discarded or unused and `params` seemed unnecessary if we just use kwargs for that role.

Let me know what you think.