[ 
https://issues.apache.org/jira/browse/LUCENE-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759108#action_12759108
 ] 

John Wang commented on LUCENE-1924:
-----------------------------------

I had put them in the core package under org.apache.lucene.index.

Because it requires access package protected classes, e.g. SegmentInfo, it 
needs to be in that package.

In terms of which module, totally up to you as you would know what the best 
place to put it.

A question on the side, MergePolicy is something the API suggests that is 
customizable, yet SegmentInfo, part of the signature is package protected. Is 
this something should be opened up to allow for full customization of 
MergePolicy amonst other things?

Thanks

-John

> BalancedSegmentMergePolicy, contributed from the Zoie project for realtime 
> indexing
> -----------------------------------------------------------------------------------
>
>                 Key: LUCENE-1924
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1924
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: John Wang
>            Assignee: Michael McCandless
>         Attachments: BalancedSegmentMergePolicy.java
>
>
> Written by Yasuhiro Matsuda for Zoie realtime indexing system used to handle 
> high update rates to avoid large segment merges.
> Detailed write-up is at:
> http://code.google.com/p/zoie/wiki/ZoieMergePolicy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to