apache / apache/lucene

Change internal code names of postingsFormats to use 84 suffix [LUCENE-9248]

Open
#10,288 1 comment 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
legacy-jira-priority:Major module:core/codecs type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Some postings formats write the postings differently as of Lucene 8.4 due to changes – #10070 and #10157. Blocktree was transitioned in a backwards-compatible way but some (all?) others were not. Consequently an attempt of the new version to read an old index will fail due to some non-obvious error. I propose here using a simple version suffix on these postings formats like "84" (thus "FST84" as one example). I see some already use a suffix but were not bumped for 8.4. This is a really simple change and doesn't address the problem of us not noticing future needs to version bump.

---
Migrated from [LUCENE-9248](https://issues.apache.org/jira/browse/LUCENE-9248) by David Smiley (@dsmiley)
Linked issues:
- #10262

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.