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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/01/11 05:41:58 UTC

[jira] [Resolved] (OAK-4808) Index external changes as part of NRT indexing

     [ https://issues.apache.org/jira/browse/OAK-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-4808.
----------------------------------
    Resolution: Fixed

All planned work done!

> Index external changes as part of NRT indexing
> ----------------------------------------------
>
>                 Key: OAK-4808
>                 URL: https://issues.apache.org/jira/browse/OAK-4808
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.5.18, 1.6
>
>
> With OAK-4412 NRT indexing support in hybrid index case indexes local changes. It would be useful to have an option to index external changes. In ideal world
> # Async indexing is configured at 5 sec internal
> # DocumentNodeStore background read is configured at 1 sec interval
> So we can index 5 external changes before changes via async indexing are picked up. In real world delays can happen in both parts so having such changes indexed via NRT mode would be useful to reduce the latency in reflecting external changes as part of query result.
> This part would though introduce a cost as it would do complete diff for each external change. So while implementing care must be taken to do it on best effort basis i.e. if queue becomes large then skip certain processing etc



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