You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/10/01 19:39:27 UTC

[jira] [Created] (SLING-5084) sling-mock-oak: Provide a minimal index configuration for Sling-related properties

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)