apache / apache/lucene

Support for field removal and renaming [LUCENE-8832]

Open
#9,876 4 comments 0 reactions 1 assignee Claimed by @sigram 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

Currently it's not possible to rename existing Lucene fields or delete them without creating a new index from scratch (FieldInfos are basically append-only).

This issue proposes to investigate an approach that applies these changes at a Codec level so that the unwanted data is skipped over (in case of field delete) or accessed under a different name (in case of field rename). Since the same Codec API is used for segment merging the deletion / removal filtering could be applied only to the currently existing segments because the resulting merged segments would not contain this data anymore.

---
Migrated from [LUCENE-8832](https://issues.apache.org/jira/browse/LUCENE-8832) by Andrzej Bialecki (@sigram), 1 vote, updated Jun 06 2019
Linked issues:
- [SOLR-13519](https://issues.apache.org/jira/browse/SOLR-13519)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.