jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1704) Indexing rules inheritance doesn't work
Date Mon, 04 Aug 2008 14:44:44 GMT

     [ https://issues.apache.org/jira/browse/JCR-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger resolved JCR-1704.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Thank you for reporting this issue.

I've committed a slightly changed version of the class you attached.

svn revision: 682409

> Indexing rules inheritance doesn't work
> ---------------------------------------
>
>                 Key: JCR-1704
>                 URL: https://issues.apache.org/jira/browse/JCR-1704
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: core 1.4.5
>            Reporter: Stephane Landelle
>             Fix For: 1.5
>
>         Attachments: IndexingConfigurationImpl.java
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Indexing rules are supposed to be inherited by children node types.
> In org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init, rules are
registered for the declared node type and all its children. However, as the rule's node type
is still the original one, the rule gets rejected in org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl$IndexingRule.appliesTo.
> One simple solution would be to register not the original rule, but a copy where the
original node type has been replaced by the child one.
> Please find corrected class attached.
> Sincerely,
> St├ęphane

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message