jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1874) Indexes: re-index automatically when adding an index
Date Wed, 11 Jun 2014 15:00:16 GMT

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

Alex Parvulescu commented on OAK-1874:
--------------------------------------

bq. if index definitions are exported and re-imported, the imported node has the reindex property
explicitly set to "false". So basically, this property can't be always trusted.

Makes perfect sense, I've changed the code and the test to follow this advice.

> 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
>            Assignee: Alex Parvulescu
>             Fix For: 1.0.1, 1.1
>
>         Attachments: OAK-1874.patch
>
>
> 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)

Mime
View raw message