apache / apache/lucene

Add bulk scorer for sparse-index-based scorers

Open
#13,869 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Our queries that take advantage of sparse indexes can match many documents at once. We shoud create `BulkScorer`s for them, to be able to use the `Collector#collect(DocIdStream)` API and collect several doc IDs at once.

Contributor guide

Open the contributing guide

Research direction

Start by locating the sparse-index-based scorers and the Collector#collect(DocIdStream) API mentioned in the issue. Trace how those scorers currently collect matching documents; done means they provide BulkScorers that can collect several matching document IDs at once.

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.