improving debug logging
better logging still
further speed optimization, don't consider documents that will never score above the threshold