apache / apache/lucene

Move live docs to disk? [LUCENE-9388]

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

Description

Live docs are the last file format whose memory usage is a function of maxDoc, let's look into moving them to disk?

---
Migrated from [LUCENE-9388](https://issues.apache.org/jira/browse/LUCENE-9388) by Adrien Grand (@jpountz)

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue and the migrated LUCENE-9388 discussion, then locate Lucene's live-docs implementation and its file-format handling. Define the disk-based design and verify that live-doc memory usage is no longer a function of maxDoc.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
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.