[ https://issues.apache.org/jira/browse/OAK-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella updated OAK-4808: ---------------------------------- Fix Version/s: (was: 1.5.17) 1.5.18 > 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)