Hi Chetan sounds a good idea to me, where would you define that? Maybe in the index definition, right?
Regards, Tommaso 2014-12-05 10:41 GMT+01:00 Chetan Mehrotra <[email protected]>: > Hi Team, > > Currently an 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. Such nodes would not be found in paths like /var, > /jcr:system which might contain lots of node. If the index editor > skips such path then lots of redundant traversal can be avoided. > > For now I was thinking to add this in say LuceneIndexEditor. Or if it > can be implemented as a wrapper like SubtreeEditor then that would > also work. > > Thoughts? > > Chetan Mehrotra >
