Closed fortable1999 closed 13 years ago
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
Fixed bug in IntersectionMatcher.skip_to_quality() where it wasn't checking if the submatcher was still active. Fixes issue #121. Fixed bug in AndMaybeMatcher where it needed to override the quality() method. Fixes issue #122. Thanks Jeremy!
Original report by Anonymous.
Following up on my earlier email: http://groups.google.com/group/whoosh/t/3064d3888f7a240b
Some top search results (by score) disappear when using ANDMAYBE to join queries and using a search limit. When limit is None, the results are accurate, but as limit is reduced, the correct results begin to disappear.
The following code demonstrates the issue:
This example is with a RamIndex for simplicity, but a regular file based index fails in the same way.