[
https://issues.apache.org/jira/browse/OAK-6849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke reopened OAK-6849:
---------------------------------
Fails for me:
{noformat}
[ERROR] Tests run: 64, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.849
s <<< FAILURE! - in
org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest
[ERROR]
nodeTypeIndexedSync(org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest)
Time elapsed: 0.032 s <<< FAILURE!
java.lang.AssertionError
at
org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest.nodeTypeIndexedSync(IndexDefinitionTest.java:1061)
[ERROR]
nodeTypeIndexed_IgnoreAggregates(org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest)
Time elapsed: 0.035 s <<< FAILURE!
java.lang.AssertionError
at
org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest.nodeTypeIndexed_IgnoreAggregates(IndexDefinitionTest.java:1112)
[ERROR]
nodeTypeIndexed(org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest)
Time elapsed: 0.018 s <<< ERROR!
java.lang.NullPointerException
at
org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest.nodeTypeIndexed(IndexDefinitionTest.java:1041)
{noformat}
> Avoid creating empty properties node under indexRules
> -----------------------------------------------------
>
> Key: OAK-6849
> URL: https://issues.apache.org/jira/browse/OAK-6849
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.8, 1.7.10
>
>
> IndexDefinitionBuilder currently creates an empty properties node under
> indexRule. With OAK-6832 we would be creating empty indexRules for nodetype
> index we should avoid this empty properties node
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)