apache / apache/lucene

SoftDeletesRetentionMergePolicy class not final

Open
#12,340 0 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

I wonder if there are any possilbe that the class `SoftDeletesRetentionMergePolicy` can be not a final class, so that the user can do something such as cache, accroding to their `retentionQuerySupplier` by extend this class

Contributor guide

Open the contributing guide

Research direction

Start by locating the SoftDeletesRetentionMergePolicy class and reviewing how retentionQuerySupplier is used. Check related tests and API constraints before deciding whether subclassing and caching are supported; done should clearly define the intended extension behavior and preserve existing retention-policy behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.