ActionRequestValidationException thrown for large index

I've been having issues with searching after batch loading a large amount of data into an elasticsearch index (https://gist.github.com/1356966).

The following except is reported by the server response:
ActionRequestValidationException[Validation Failed: 1: search source is missing;]

Any help would be greatly appreciated.