我在AEM中使用includedPaths属性创建一个PropertyIndex:http://jackrabbit.apache.org/oak/docs/query/property-index.html(搜索includedPaths)。 我注意到,即使在为某个路径添加includedPaths之后,重新索引也会在整个存储库中发生。索引不应该只在指定的路径上构建吗?
这是error.log:
06.01.2016 09:18:38.607 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing will be performed for following indexes: [/oak:index/myPropertyIndex]
06.01.2016 09:18:45.708 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #10000 /etc/dam/viewers/s7viewers/html5/images/v2/ZoomResetButton_light_up_touch.png/jcr:content
06.01.2016 09:18:51.398 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #20000 /jcr:system/jcr:nodeTypes/cq:VirtualComponent/jcr:propertyDefinition[2]
06.01.2016 09:18:53.222 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #30000 /jcr:system/jcr:versionStorage/1c/01
06.01.2016 09:18:54.185 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #40000 /jcr:system/jcr:versionStorage/42/2d
06.01.2016 09:18:55.138 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #50000 /jcr:system/jcr:versionStorage/68/91
06.01.2016 09:18:56.325 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #60000 /jcr:system/jcr:versionStorage/8e/37
06.01.2016 09:19:37.995 *INFO* [[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #140000 /libs/mobileapps/gui/components/pages/clientlibs/js.txt
我的includedPaths甚至不包含/ etc /或/ lib ..它指的是/ content / dam
答案 0 :(得分:0)
请设置属性
excludedPaths=[/var, /etc/workflow/instances, /jcr:system]
索引上的以及索引的重新索引。如果仍然不起作用,请提供oak核心版本和http://host:port/oak:index.tidy.-1.json
输出。