complete_result_document must return something
Merge remote-tracking branch 'upstream/master'