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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2017/10/01 01:04:01 UTC

[jira] [Commented] (OAK-6718) Configure RAM buffer size used by IndexWriter with oak-run indexing

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

Vikas Saurabh commented on OAK-6718:
------------------------------------

[~chetanm], sorry for coming late to this. Changes lgtm in general. Just one point, the following change probably got slipped in accidentally?
{noformat}
-//            config.setMergePolicy(definition.getMergePolicy());
{noformat}
in http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/writer/IndexWriterUtils.java?r1=1809803&r2=1809802&pathrev=1809803

> Configure RAM buffer size used by IndexWriter with oak-run indexing
> -------------------------------------------------------------------
>
>                 Key: OAK-6718
>                 URL: https://issues.apache.org/jira/browse/OAK-6718
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, run
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.8, 1.7.9
>
>         Attachments: OAK-6718-v1.patch
>
>
> Lucene IndexWriter uses 16M buffer by default. For reindexing of large repo via oak-run it should be possible to set this to higher value like 300MB.
> In one of the test which indexes 65M entries setting the buffer size to 300M reduced the reindexing time from 2 hrs to 1.1 hrs



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