jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-4808) Index external changes as part of NRT indexing
Date Thu, 15 Sep 2016 06:38:21 GMT
Chetan Mehrotra created OAK-4808:

             Summary: 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.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

View raw message