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 2013/04/09 15:22:17 UTC

[jira] [Commented] (OAK-763) Asynchronous indexing

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

Alex Parvulescu commented on OAK-763:
-------------------------------------

An interesting idea popped up in an offline discussion related to pushing indexing in an background thread.

Assuming a full reindex can take quite some time for an already running repository we could add a flag to the index config that would take that index offline for the entire duration - which means it would be ignored by the query engine.

This could also apply to indexes that are not marked as asynchronous, but it would be a bit difficult to achieve as they would have to come up with a way to catch up with the lag between the async reindex start and finish.

With the current patch, full reindex happens in the commit hook, which can significantly slowdown the overall commit.
                
> Asynchronous indexing
> ---------------------
>
>                 Key: OAK-763
>                 URL: https://issues.apache.org/jira/browse/OAK-763
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>         Attachments: OAK-763.patch
>
>
> It would be good to have the possibility to update indexes asynchronously, outside the current commit hook (or editor).
> This would be used for the index impls which can be a bit behind, like the ones that do text extraction from binaries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira