Closed zkendall closed 3 months ago
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
@stefanvodita Thanks. I had to resolve a conflict after your approval. I see your approval wasn't dismissed, so I guess you don't have "write access" to approve. Do you know who does or how I can get their attention?
@zkendall - I just wanted to wait a couple days to give anyone else who wanted to review a chance to do so. I've merged the change now.
Description
There is a bug in the DefaultPassageFormatter. It will take an passage even if it results in a shorter or more fragmented passage (highlight). The one scenario I have is when there is a phrase match which overlaps with some term matches.
This is demonstrated in the attached unit tests.