How to find List of unindexed file in alfresco

落花浮王杯 提交于 2019-12-11 10:49:10

问题


How can i find the list of UN-indexed file.I just want to perform a task i want to get all those file that is UN-indexed and want to fix and make indexed. I m using alfresco 5.0.

How to find the reason why the file failed to get indexed?


回答1:


This should work just fine, it will give you a list of nodedb IDs, which you can then use to run the REINDEX action separately for each one of them.

https://localhost:8443/solr4/alfresco/afts?q=DOC_TYPE:UnindexedNode




回答2:


Try this query on Node Browser by using fts-alfresco as search type -

+TYPE:"content" AND (+cm\:isIndexed:'False' +@cm\:isContentIndexed:'False')

The cm:indexControl aspect enables you to control indexes for the control items. The aspect exposes the following two properties to allow configuration of indexing of nodes to which it is applied.

  • cm:isIndexed ((content + metadata)): This property controls whether the node is indexed or not.
  • cm:isContentIndexed: This property controls whether the node content (binary) is indexed or not. Setting this to false inhibits full text indexing of the document binary.

Please refer this Alfresco wiki for more details.



来源:https://stackoverflow.com/questions/35932393/how-to-find-list-of-unindexed-file-in-alfresco

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!