apache / apache/lucene

MinShouldMatchSumScorer should support approximations [LUCENE-6816]

Open
#7,874 0 comments 0 reactions 1 assignee Claimed by @jpountz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.