apache / apache/lucene

WANDScorer should support two-phase iterator [LUCENE-8806]

Open
#9,850 13 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Following #9815 the WANDScorer should leverage two-phase iterators in order to be faster when used in conjunctions.

---
Migrated from [LUCENE-8806](https://issues.apache.org/jira/browse/LUCENE-8806) by Jim Ferenczi (@jimczi), updated Jul 05 2022
Attachments: [LUCENE-8806.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8806/LUCENE-8806.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start with WANDScorer and review issue #9815 for the preceding iterator work; the attached LUCENE-8806.patch is also relevant. Determine how WANDScorer is used in conjunctions, then verify that two-phase iterators are supported and that the relevant conjunction behavior is covered by the project's tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.