Callback interface to provide clients with the ability to run custom code against all document and score pairs maintained by this class.