Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2599

Allow excluding certain paths from getting indexed for particular index

    XMLWordPrintableJSON

    Details

      Description

      Currently an IndexEditor gets to index all nodes under the tree where it is defined (post OAK-1980). Due to this IndexEditor would traverse the whole repo (or subtree if configured in non root path) to perform reindex. Depending on the repo size this process can take quite a bit of time. It would be faster if an IndexEditor can exclude certain paths from traversal

      Consider an application like Adobe AEM and an index which only index dam:Asset or the default full text index. For a fulltext index it might make sense to avoid indexing the versionStore. So if the index editor skips such path then lots of redundant traversal can be avoided.

      Also see http://markmail.org/thread/4cuuicakagi6av4v

        Attachments

        1. OAK-2599-v3.patch
          32 kB
          Chetan Mehrotra
        2. OAK-2599-v2.patch
          33 kB
          Chetan Mehrotra
        3. OAK-2599-1.patch
          23 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: