-->

How to find List of unindexed file in alfresco

2019-08-12 00:15发布

问题:

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.