jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Abraham (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-7597) Path Based Index not working with NRT (sync) configuration
Date Fri, 29 Jun 2018 22:34:00 GMT
Joseph Abraham created OAK-7597:

             Summary: Path Based Index not working with NRT (sync) configuration
                 Key: OAK-7597
                 URL: https://issues.apache.org/jira/browse/OAK-7597
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: indexing
    Affects Versions: 1.6.9
            Reporter: Joseph Abraham
         Attachments: locSetPathBasedIndex.json

Issue encountered while testing the newer NRT/Hybrid Lucene index


In one of my tests, it worked perfectly fine when I defined the index under /oak:index with
an includedPaths value (/var/<someCustomAuditPath) along the lines of the slides shared
in oakathon 2017. 


But since, I was adding an index rule for nt:unstructured and only interested in nodes under
a certain path, I thought it would make sense to move it under the specific path hierarchy
to ensure that other queries don't trigger evaluation on this index.


But I noticed that this index stopped indexing nodes when I created the index as a path
based one under /var/<someCustomAuditPath with the similar index definition.

This is in-spite of having over 100 nodes indexed with the same definition when placed
at  "/oak:index" with the same path as an entry in the includedPaths.


This message was sent by Atlassian JIRA

View raw message