Varun Thacker created LUCENE-5633:
-------------------------------------

             Summary: 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
            Priority: Minor


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]

Reply via email to