apache / apache/lucene

Use FileChannel in FSDirectory [LUCENE-2871]

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

Description

Explore using FileChannel in FSDirectory to see if it improves write operations performance

---
Migrated from [LUCENE-2871](https://issues.apache.org/jira/browse/LUCENE-2871) by Shay Banon (@kimchy), updated Jan 20 2011
Attachments: [LUCENE-2871.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-2871/LUCENE-2871.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start by reading FSDirectory and the attached LUCENE-2871.patch to understand the proposed FileChannel change and the write operations it targets. Run the relevant performance measurements, if available, and compare the results with the current implementation; done means establishing whether the change improves write performance and documenting or implementing a justified outcome.

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.