Revert "Optimizes scoring (all trigrams for a record have the same score)"

This reverts commit 55f837c2a8b281d4bb6737c862459220e26aa3bc.