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

Michael Marth commented on OAK-1874:
------------------------------------

{quote}
I suggest that indexes are automatically re-indexes if the hidden child node 
(":data" I believe) is missing. This is in addition to the "reindex" property. 
{quote}

That would work.

Maybe an alternative approach: if an index definition node is added I would 
expect this to trigger a re-index in any case (so not rely on the hidden child 
node, but trigger the re-index whenever an index definition is created)

> Indexes: re-index automatically when adding an index
> ----------------------------------------------------
>
>                 Key: OAK-1874
>                 URL: https://issues.apache.org/jira/browse/OAK-1874
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>             Fix For: 1.1
>
>
> When adding an index via import of content, the index is not automatically 
> re-built. This is problematic, because subsequent queries will return no data 
> because of that. Currently, the only way to re-index is to set the "reindex" 
> property to "true".
> I suggest that indexes are automatically re-indexes if the hidden child node 
> (":data" I believe) is missing. This is in addition to the "reindex" property.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to