apache / apache/lucene

Take advantage of DocValuesSkipper in IndexSortSortedNumericDocValuesRangeQuery

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

Description

As the title said, we could use the skip functionality of the doc value sparse index to improve the performance of IndexSortSortedNumericDocValuesRangeQuery when the field is primary sort.

Contributor guide

Open the contributing guide

Research direction

Start at IndexSortSortedNumericDocValuesRangeQuery and trace how it handles a primary-sort field and accesses sparse DocValues indexes. Locate the related Lucene tests or benchmarks from that entry point, then verify that range queries use DocValuesSkipper and preserve their existing results while improving the targeted performance.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.