[jira] [Updated] (LUCENE-3061) Open IndexWriter API to allow custom MergeScheduler implementation

2011-05-02 Thread Shai Erera (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shai Erera updated LUCENE-3061:
---

Attachment: LUCENE-3061.patch

Open up necessary API + add TestCustomMergeScheduler under 
src/test/o.a.l/index/publicapi.

The changes are very trivial. If you would like to suggest alternative package 
I should put the test in, I will gladly do it.

 Open IndexWriter API to allow custom MergeScheduler implementation
 --

 Key: LUCENE-3061
 URL: https://issues.apache.org/jira/browse/LUCENE-3061
 Project: Lucene - Java
  Issue Type: Improvement
  Components: Index
Reporter: Shai Erera
Assignee: Shai Erera
Priority: Minor
 Fix For: 3.2, 4.0

 Attachments: LUCENE-3061.patch


 IndexWriter's getNextMerge() and merge(OneMerge) are package-private, which 
 makes it impossible for someone to implement his own MergeScheduler. We 
 should open up these API, as well as any other that can be useful for custom 
 MS implementations.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Updated] (LUCENE-3061) Open IndexWriter API to allow custom MergeScheduler implementation

2011-05-02 Thread Shai Erera (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shai Erera updated LUCENE-3061:
---

Attachment: LUCENE-3061.patch

Thanks Uwe ! Following your comment, I noticed there is a 
TestMergeSchedulerExternal under o.a.l, which covers extending 
ConcurrentMergeScheduler.

So I moved my MS impl + test case there.

I think this is ready to commit

 Open IndexWriter API to allow custom MergeScheduler implementation
 --

 Key: LUCENE-3061
 URL: https://issues.apache.org/jira/browse/LUCENE-3061
 Project: Lucene - Java
  Issue Type: Improvement
  Components: Index
Reporter: Shai Erera
Assignee: Shai Erera
Priority: Minor
 Fix For: 3.2, 4.0

 Attachments: LUCENE-3061.patch, LUCENE-3061.patch


 IndexWriter's getNextMerge() and merge(OneMerge) are package-private, which 
 makes it impossible for someone to implement his own MergeScheduler. We 
 should open up these API, as well as any other that can be useful for custom 
 MS implementations.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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