apache/lucene

Deprecate MergeSpecification#segString method in MergePolicy

Open

#14899 opened on Jul 5, 2025

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Java (2,179 stars) (879 forks)batch import
good first issue

Description

Following up from an old TODO, 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