apache / apache/lucene

Add runnable index upgrader [LUCENE-5956]

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

Description

As a spinoff from discussion in #7002, I'd like to add a new module "lucene-upgrader", move `IndexUpgrader` to this, and add embed older versions of lucene (just enough to upgrade indexes) in the built version of the module's jar. This would be runnable from the command line with something like:
`java -jar lucene-upgrader-4.11.0.jar /path/to/index`

---
Migrated from [LUCENE-5956](https://issues.apache.org/jira/browse/LUCENE-5956) by Ryan Ernst (@rjernst), updated Jul 10 2015

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in issue #7002 and locating the existing IndexUpgrader. Determine how a new lucene-upgrader module could package the older Lucene versions needed for index upgrades and expose the requested command-line invocation. Done means a built lucene-upgrader-4.11.0.jar can upgrade an index passed as its path.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.