Reimplement entropy query with cached RestrictionScorer