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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/03/09 11:17:38 UTC

[jira] [Commented] (OAK-2591) Invoke indexUpdate only when new Document are added in LuceneIndexEditor

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

Alex Parvulescu commented on OAK-2591:
--------------------------------------

+1 looks good to me

> Invoke indexUpdate only when new Document are added in LuceneIndexEditor
> ------------------------------------------------------------------------
>
>                 Key: OAK-2591
>                 URL: https://issues.apache.org/jira/browse/OAK-2591
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1.8, 1.0.13
>
>         Attachments: OAK-2591.patch
>
>
> {{LuceneIndexEditor}} currently invokes the {{indexUpdate}} whenever it adds a new field to a Document. To reduce the noise it would be better to invoke it whenever a new Document is added to index in line with other index implementation.
> Such an implementation would allow the {{IndexUpdateCallback}} to more accurately determine the progress an indexer is making in terms of number of nodes indexed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)