[
https://issues.apache.org/jira/browse/LUCENE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985910#comment-13985910
]
ASF subversion and git services commented on LUCENE-5633:
---------------------------------------------------------
Commit 1591446 from [~shaie] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1591446 ]
LUCENE-5633: leftover from bad merge
> NoMergePolicy should have one singleton - NoMergePolicy.INSTANCE
> ----------------------------------------------------------------
>
> Key: LUCENE-5633
> URL: https://issues.apache.org/jira/browse/LUCENE-5633
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Varun Thacker
> Assignee: Shai Erera
> Priority: Minor
> Fix For: 4.9, 5.0
>
> Attachments: LUCENE-5633.patch
>
>
> Currently there are two singletons available - MergePolicy.NO_COMPOUND_FILES
> and MergePolicy.COMPOUND_FILES and it's confusing to distinguish on compound
> files when the merge policy never merges segments.
> We should have one singleton - NoMergePolicy.INSTANCE
> Post to the relevant discussion -
> http://mail-archives.apache.org/mod_mbox/lucene-java-user/201404.mbox/%3CCAOdYfZXXyVSf9%2BxYaRhr5v2O4Mc6S2v-qWuT112_CJFYhWTPqw%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]