You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2017/08/24 10:10:02 UTC

[jira] [Comment Edited] (OAK-6514) Make Lucene merge policy configurable

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

Tommaso Teofili edited comment on OAK-6514 at 8/24/17 10:09 AM:
----------------------------------------------------------------

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 : Lucene's {{LogDocMergePolicy}}

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


was (Author: teofili):
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)