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

Robert Muir commented on LUCENE-4472:
-------------------------------------

I don't think you need to customize anything built in. Just delegate and 
forward findMerges()?

The problem is this doesn't really have the necessary context today: I think we 
should fix that.
But I'd like policies around merging to stay in ... MergePolicy :)

Otherwise IWC could easily get cluttered with conflicting options which makes 
it complex.
                
> Add setting that prevents merging on updateDocument
> ---------------------------------------------------
>
>                 Key: LUCENE-4472
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4472
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4472.patch
>
>
> Currently we always call maybeMerge if a segment was flushed after 
> updateDocument. Some apps and in particular ElasticSearch uses some hacky 
> workarounds to disable that ie for merge throttling. It should be easier to 
> enable this kind of behavior. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to