apache / apache/lucene

Deprecate MergeSpecification#segString method in MergePolicy

Open
#14,899 3 comments 0 reactions 1 assignee Claimed by @kitoha View on GitHub
good first issue
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Following up from an old [TODO](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/MergePolicy.java#L497), we can deprecate `MergePolicy.MergeSpecification#segString`. The places it's used (only 1?) doesn't need the `directory` param, and can simply use the `toString()` method.

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.