apache / apache/lucene

Transparent chunk transformation (compression) of index directory [LUCENE-2583]

Open
#3,657 1 comment 0 reactions 0 assignees View on GitHub
affects-version:2.4.1 affects-version:2.9 affects-version:2.9.1 affects-version:2.9.2 affects-version:2.9.3 affects-version:3.0 affects-version:3.0.1 affects-version:3.0.2 legacy-jira-priority:Minor module:core/store type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

In some cases user is willing to sacrifice speed for space efficiency or better data security. I've developed driver for Directory that enables transparent compression (any transformation) of directory files, by using decorator pattern. With current experience, compression ratios are between 1:5 to 1:10, which depends on type of data stored in index.

Directory files are sliced into fixed chunks, each chunk separately transformed (eg. compressed, encrypted, ...) and written to supporting (nested) directory for storage.

I've create project page at and am also prepared to join contrib/store.

---
Migrated from [LUCENE-2583](https://issues.apache.org/jira/browse/LUCENE-2583) by Mitja Lenič, updated Nov 30 2013

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Directory implementations and the contrib/store area mentioned in the issue, then compare them with the external lucenetransform project page. Done would mean a supported Directory decorator that chunks and transforms index files transparently while preserving the stated storage behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.