apache / apache/pinot

Text Indices Are Force Merged to Single Lucene Segment

Open
#7,215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

We force merge all segments of a single Lucene index to a single segment for text indices today, thus potentially creating a single large segment and restricting the possibility of searching multiple segments concurrently. Instead, we should be depending on Lucene's merging policy and define a custom policy if we need to keep open file handles under control.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating where Pinot force-merges all segments for text indices and read the Lucene merge-policy configuration; done means text indices rely on Lucene's merging policy without forcing one segment, while controlling open file handles if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, search
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.