apache / apache/lucene

Introduce a BlockReader based on ForUtil and use it for NumericDocValues [LUCENE-10334]

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

Description

Previous talk is here:

This is trying to add a new BlockReader based on ForUtil to replace the DirectReader we are using for NumericDocvalues

~~**Benchmark based on wiki10m**~~ (Previous benchmark results are wrong so i deleted it to avoid misleading, let's see the benchmark in comments.)

---
Migrated from [LUCENE-10334](https://issues.apache.org/jira/browse/LUCENE-10334) by Feng Guo (@gf2121), updated Dec 30 2021
Pull requests: https://github.com/apache/lucene/pull/562

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced discussion in PR 557 and the pull request linked in the issue, then trace how DirectReader currently serves NumericDocValues and how ForUtil could provide the replacement. Done means a BlockReader based on ForUtil is used for NumericDocValues, with the relevant behavior and performance validated against the existing implementation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.