Commits

Matt Chaput  committed 53358f0

Fixed missing argument in call to top_fragments(). Fixes issue #373.

  • Participants
  • Parent commits 9d99ba6

Comments (0)

Files changed (1)

File src/whoosh/highlight.py

     tokens = analyzer(text, chars=True, mode=mode, removestops=False)
     tokens = set_matched_filter(tokens, termset)
     fragments = fragmenter.fragment_tokens(text, tokens)
-    fragments = top_fragments(fragments, top, scorer, order)
+    fragments = top_fragments(fragments, top, scorer, order, minscore)
     return formatter(text, fragments)