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

Tommaso Teofili commented on OAK-6514:
--------------------------------------

sure, thanks Thomas for reminding me :)

So you can set the merge policy by setting a "mergePolicy" property on the 
index definition, valid values are:
* default / mitigated : the {{CommitMitigatingTieredMergePolicy}} developed as 
part of OAK-5192
* no : no merge policy
* tiered : Lucene's default {{TieredMergePolicy}}
* logbyte : Lucene's {{LogByteMergePolicy}}
* logdoc : Lucenes' {{LogDocMergePolicy}}

If nothing is set, {{CommitMitigatingTieredMergePolicy}} is used.

> Make Lucene merge policy configurable
> -------------------------------------
>
>                 Key: OAK-6514
>                 URL: https://issues.apache.org/jira/browse/OAK-6514
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: lucene, query
>            Reporter: Thomas Mueller
>            Assignee: Tommaso Teofili
>             Fix For: 1.8, 1.7.7
>
>
> To test OAK-5192, it would be good if the merge policy (how often to merge) 
> is configurable.
> Depending on test results, we might want to change the default settings.
> ([~teofili] feel free to update the issue description)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to