MinShouldMatchSumScorer should support approximations [LUCENE-6816]
Open
legacy-jira-priority:Minor
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This is a tricky yet interesting improvement.
The approximation would return a document as soon as `min_should_match` sub approximations match. Then when matching, it would iterate over approximations that are on the current document, and if `matches()` fails, it would try to replace the current approximation with one from the tail (approximations that are behind the current document).
---
Migrated from [LUCENE-6816](https://issues.apache.org/jira/browse/LUCENE-6816) by Adrien Grand (@jpountz)
Contributor guide
Assessment
This issue has not been assessed yet.