apache / apache/lucene

addBackcompatIndexes.py fails on unstable branch after removing ant support [LUCENE-9494]

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

Description

I ran across this issue when releasing 8.6.2. The are two issues here:
- The script relies in the file lucene/version.properties which has been removed.
- It checks the indices by running `ant test -Dtestcase=TestBackwardsCompatibility` against the branch.

I was able to generate the indexes by adding the file locally and running the check manually. It would be good to address it for the next release.

---
Migrated from [LUCENE-9494](https://issues.apache.org/jira/browse/LUCENE-9494) by Ignacio Vera (@iverase)

Contributor guide

Open the contributing guide

Research direction

Locate addBackcompatIndexes.py and inspect its use of lucene/version.properties and the TestBackwardsCompatibility check. Run the index-generation workflow on the unstable branch and verify that it completes without the removed file or Ant-based command, while producing the expected back-compatibility indexes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
release, search, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.