lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7010) Create MergePolicyWrapper
Date Thu, 04 Feb 2016 07:28:40 GMT


ASF subversion and git services commented on LUCENE-7010:

Commit 43508831b1eadd6610909faac4accd8007753bbb in lucene-solr's branch refs/heads/branch_5x
from [~shaie]
[;h=4350883 ]

LUCENE-7010: add MergePolicyWrapper

> Create MergePolicyWrapper
> -------------------------
>                 Key: LUCENE-7010
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>             Fix For: 5.5, trunk
>         Attachments: LUCENE-7010.patch
> We currently have two MergePolicy implementations that are wrappers around another MP:
{{SortingMergePolicy}} and {{UpgradeIndexMergePolicy}}. A {{MergePolicyWrapper}} will simplify
building additional such wrapping MPs by delegating all method calls to the wrapped instance,
and allowing implementations to override only what they need.
> Also, this issue removes the {{final}} modifier from MP public methods so that they can
be delegated properly. See LUCENE-7008 for a test failure that uncovered this issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message