apache / apache/lucene

Store pre-aggregated data in sparse indexes

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

Description

Our sparse indexes record the min/max value on multiple levels to speed up filtering. We could store pre-aggregated data there as well to speed up faceting, e.g. sum and value count. The main problem to solve there is how to make `Collector`s take advantage of this information at search time.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how sparse indexes record min/max values at multiple levels and how Collectors use index information during search. Determine how pre-aggregated sum and value-count data could support faceting, then define what Collector behavior and search results would demonstrate that the work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.