apache / apache/lucene

DrillSidewaysScorer should utilize competitive iterators [LUCENE-10090]

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

Description

Unlike `DefaultBulkScorer`, `DrillSidewaysScorer` doesn't utilize the collective iterator capabilities that `LeafCollector` instances can optionally expose. We should see an improvement by intersecting with a competitive iterator in DSS.

---
Migrated from [LUCENE-10090](https://issues.apache.org/jira/browse/LUCENE-10090) by Greg Miller (@gsmiller), updated Nov 11 2021

Contributor guide

Open the contributing guide

Research direction

Start by comparing DrillSidewaysScorer with DefaultBulkScorer, then inspect how LeafCollector exposes competitive iterators. The change is complete when DrillSidewaysScorer intersects with a competitive iterator and the relevant behavior or performance improvement is verified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.