You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2014/08/13 14:38:12 UTC

[jira] [Created] (LUCENE-5883) Move MergePolicy to LiveIndexWriterConfig

Shai Erera created LUCENE-5883:
----------------------------------

             Summary: Move MergePolicy to LiveIndexWriterConfig
                 Key: LUCENE-5883
                 URL: https://issues.apache.org/jira/browse/LUCENE-5883
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/index
            Reporter: Shai Erera
            Assignee: Shai Erera


Since LUCENE-5711, MergePolicy is no longer wired to an IndexWriter instance. Therefore it can be moved to be a live setting on IndexWriter, which will allow apps to plug-in an MP on a live IW instance, without closing/reopening the writer. See for example LUCENE-5526 - instead of adding MP to forceMerge, apps could change the MP before calling forceMerge, with e.g. an UpgradeIndexMergePolicy.

I think we can also make MergeScheduler a live setting, though I currently don't see the benefits of doing that, so I'd rather not touch it now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org