Stefan Seifert created SLING-5084: ------------------------------------- Summary: sling-mock-oak: Provide a minimal index configuration for Sling-related properties Key: SLING-5084 URL: https://issues.apache.org/jira/browse/SLING-5084 Project: Sling Issue Type: Improvement Components: Testing Reporter: Stefan Seifert Assignee: Stefan Seifert Priority: Minor Fix For: Testing Sling Mock Oak 1.0.0
by default, no sling-specific indexes are defined in the JCR_OAK resource resolver type for sling mocks. this leads to warnings on every usage (when the resource-jcr mapping is initialized) like: {noformat} WARN org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor - Traversed 1000 nodes with filter Filter(query=SELECT sling:alias FROM nt:base WHERE sling:alias IS NOT NULL, path=*, property=[sling:alias=[is not null]]); consider creating an index or changing the query {noformat} we should provide a minimal index configuration for the default sling attribute to avoid these. -- This message was sent by Atlassian JIRA (v6.3.4#6332)