apache/lucene

Deprecate MergeSpecification#segString method in MergePolicy

Open

#14,899 opened on Jul 5, 2025

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

Repository metrics

Stars
 (2,179 stars)
PR merge metrics
 (Avg merge 7d 11h) (109 merged PRs in 30d)

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