1. Matt Chaput
  2. whoosh


Matt Chaput  committed cd11d72

ListMatcher.max_quality() failed if created without a scorer.
Changed to forward to block_max_weight().
Fixes issue #191.

  • Participants
  • Parent commits a6d4712
  • Branches default

Comments (0)

Files changed (1)

File src/whoosh/matching.py

View file
             return self
     def max_quality(self):
-        return self._scorer.max_quality
+        return self.block_max_weight()
     def supports_block_quality(self):
         return (self._scorer is not None